VNC configuration

Tip: The configured image has a username of Jetson and the original password is yahboom. If you are using a configured image and VNC is already configured, you can directly skip to step 6 and log in to VNC based on the current IP address

1、Install vino

image-2023040600001

image-2023040600002

2、Set Enable VNC service (at this time, the VNC server can be manually opened)

image-2023040600003

image-2023040600004

Edit org.gnome, restore the missing 'enabled' parameter, enter the command to enter the file, and add the key content below to the end of the file. Save and exit.

image-2023040600005

image-2023040600006

Set to Gnome compilation mode

sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Now the screen sharing panel is working in the unit control center But this is not enough to make Vino run! So you need to add the program Vino server when the session starts, using the following command line:

image-2023040600007

This type of startup belongs to manual mode. If manual startup is required every time, it will be more troublesome. Below, we will set the form of startup and self start.

3、Set VNC login password (change 'thepassword' to your own password)

image-2023040600008

4、Restart the machine and verify if vnc settings were successful

  1. Set the VNC Server to start automatically after startup

The VNC server is only available after you log in locally to Jetson. If you want VNC to be automatically available, please use the system settings application to enable automatic login.

Add the following content to the file, save and exit.

image-2023040600009

If the system is set to require a user password to enter before entering the desktop, the above modification script will not start until entering the desktop. It is recommended to set the system to automatically log in to the desktop by the user.

  1. connect VNC Server

Using vnc To connect to VNC using the viewer software, the first step is to query the IP address. I found 192.168.1.195 here. After entering the IP address, click OK, double-click the corresponding VNC user to enter the password, and finally enter the VNC interface

image-2023040600010

image-2023040600011

image-2023040600012

  1. Precautions for using VNC for Jetson orin NX