


In this article, you have learned how to install the VNC server on the Linux Mint 20 system. If you need to connect to the VNC server again, first create the tunnel and then connect to the VNC server using the VNC viewer application. Once you are finished, close the VNC viewer application and also kill the SSH tunnel by using the Ctrl+c in the Terminal window. VNC server connection has successfully established now. Now you will see the remote system’s desktop. In the following Authentication dialog, type VNC server password and click OK. When the following dialog appears, click Continue.

In the top bar of a VNC viewer, type 127.0.0.1:5901, and press Enter. Now install VNC client application (VNC viewer )on your system and launch it. This command will set up a secure tunnel between your localhost and the VNC server. Run the ifconfig command on your developer kit and note down the IP address assigned to eth0 interface if using ethernet, wlan0 interface if using wireless, or l4tbr0 if using the USB device mode Ethernet connection.$ ssh -L 5901:127.0.0.1: 5901 -N -f -l kbuzdar 192.168.72.159 You’ll need to know the IP address of your Jetson developer kit to connect from another computer. Connecting to VNC service from another computer If you wish VNC to be available automatically, use the system settings application on your developer kit to enable automatic login. The VNC server is only available after you have logged in to Jetson locally. Reboot the system so that the settings take effect sudo reboot.Gsettings set vnc-password $(echo -n 'thepassword'|base64) Set a password to access the VNC server # Replace thepassword with your desired password.Configure the VNC server gsettings set prompt-enabled false.If you have a Jetson Nano 2GB Developer Kit (running LXDE) mkdir -p ~/.config/autostartĬp /usr/share/applications/sktop ~/.config/autostart/.For all other Jetson developer kits (running GNOME) cd /usr/lib/systemd/user/ Enable the VNC server to start each time you log in.Setup VNC server on the Jetson developer kit Slower connections will degrade the desktop interaction experience. A fairly fast network connection is needed. Your Jetson developer kit and the other computer need to be on the same network.
