workshops:nvidia_jetson:xavier_nx:vnc_configuration
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
workshops:nvidia_jetson:xavier_nx:vnc_configuration [2021/02/17 21:00] – created harley01 | workshops:nvidia_jetson:xavier_nx:vnc_configuration [2021/02/22 10:16] (current) – harley01 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== VNC Configuration ====== | ====== VNC Configuration ====== | ||
+ | |||
+ | VNC stands for **Virtual Network Computing**, | ||
+ | |||
+ | ===== Hardware Setup ===== | ||
+ | |||
+ | {{: | ||
+ | }} | ||
+ | |||
+ | Be sure to connect the following peripherals: | ||
+ | * Mouse | ||
+ | * Keyboard | ||
+ | * Screen (using an HDMI cable) | ||
+ | * Power Plug (of course) | ||
+ | |||
+ | Turn on the Jetson Xavier NX by pressing the **POWER** button. | ||
+ | |||
+ | Depending on the configuration at the time of installing the operating system, a login screen will appear, or it will automatically log in and skip this. | ||
+ | |||
+ | Once the operating system is ready open the terminal by pressing the key combination **'' | ||
+ | |||
+ | ===== Installing the VNC Server ===== | ||
+ | |||
+ | Make sure all packages are up to date by running the command | ||
+ | |||
+ | < | ||
+ | |||
+ | Install **Vino** which is the **VNC server** for the **GNOME** desktop environment. | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Enabling the VNC Server ===== | ||
+ | |||
+ | Now it is necessary to enable the automatic start of VNC Server each time you log in to the operating system, to do this run the command | ||
+ | |||
+ | < | ||
+ | |||
+ | Configure the VNC server | ||
+ | |||
+ | < | ||
+ | |||
+ | In the following command replace **'' | ||
+ | |||
+ | > Note this will be the password needed to remotely connect to the VNC Server and does not necessarily have to be the same as your '' | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== Setup the Desktop Resolution ===== | ||
+ | |||
+ | The desktop resolution is determined depending on the capabilities of the display connected to the Jetson, but if there is no display connected the default resolution is '' | ||
+ | |||
+ | < | ||
+ | |||
+ | It will ask you for the user's password and then display the information contained in the file '' | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | EndSection</ | ||
+ | |||
+ | You can adjust the resolution to your needs by changing the values in the **SubSection " | ||
+ | |||
+ | > Note: Do not change the format of the values, do not write things like '' | ||
+ | |||
+ | **Do not forget to save the changes to the file!**. | ||
+ | |||
+ | |||
+ | ===== Preparing to connect the VNC Server ===== | ||
+ | |||
+ | **(Remains in the Jetson desktop environment)** | ||
+ | |||
+ | Make sure you have automatic login enabled so that the VNC Server can start automatically. | ||
+ | |||
+ | If this is not the case, you can activate it this way: | ||
+ | |||
+ | In the upper right part of the screen click on the icon shown in the image. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Open the system settings. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | User Accounts | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Unlock the change of settings by pressing the **Unlock** button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Authenticate with your password | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Enable the **Automatic Login** option. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Finally you need the IP address of the system to know it, type in the terminal. | ||
+ | |||
+ | < | ||
+ | |||
+ | If you will use the remote connection via wifi look for the **wlan0** section and the sequence of numbers after the text **inet**, for example **inet 192.168.56.98**. In case of using it by ethernet look for the **eth0** section, or by usb **usb0**. | ||
+ | |||
+ | This **IP address** and the previously configured **password** will be the necessary data to perform the remote connection. | ||
+ | |||
+ | To complete the process, restart Jetson by typing in the terminal. | ||
+ | |||
+ | < | ||
+ | |||
+ | **Now your Jetson is ready to connect to the desktop remotely!** | ||
+ | |||
+ | ===== Remote Connection ===== | ||
+ | |||
+ | To connect remotely you can use any VNC Client of your choice. Some examples are | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | The VNC Client will ask for the **IP** and **password** and if everything is correct it will successfully connect to our Jetson. | ||
+ | |||
+ | > **IMPORTANT NOTE: Make sure that the Jetson and the remote computer are connected to the same network, otherwise it will not work.** |
workshops/nvidia_jetson/xavier_nx/vnc_configuration.1613595607.txt.gz · Last modified: 2021/02/18 15:23 (external edit)