Skip to main content

VNC remote control

Tutorial to configure the built-in screen sharing of Ubuntu22.04 system for VNC remote control.

note

Windows computer needs to download and install VNC Viewer in advance and the remote device and the remote device are in the same LAN

1. VNC Viewer

1.1. VNC download

Official website download address: https://www.realvnc.com/en/connect/download/viewer/

Screenshot

1.2. VNC Installation

Run VNC-Viewer-xxx.exe as an administrator:

image.png

image.png

image.png

image.png

1.3. Use VNC

image.png

image.png

image.png

image.png

image.png

2. System Settings (Jetson)

2.1. Enable desktop remote

2.1.1. Sharing

Settings → Sharing

Screenshot

2.1.2. Remote Desktop

Turn on the remote desktop and enable the traditional VNC protocol (need to check the password required): the access password can be modified by yourself!

Screenshot

Screenshot

2.1.3, Media Sharing

You need to check this option every time you switch networks and turn on the switch of the new network:

Screenshot

2.1.4 Remote Login

Turn on remote login:

Screenshot

2.2, Fixed remote password

You can perform VNC remote control by completing the above settings, but the access password of the Jetson motherboard will change every time it restarts. The fixed password needs to be operated as follows!

Passwords and Keys

Enter Passwords and Keys to set no key:

Screenshot

Select the default key to modify the password:

Screenshot

Enter the current password:

Screenshot

Set an empty key: Submit without filling in any content

Screenshot

Screenshot

2.3, Start VNC automatically after booting

After completing the above operations, the Jetson motherboard cannot be remotely accessed by VNC after the screen is locked. We can follow the following operations to solve the remote problem of locked screen.

Desktop extension manager

Install desktop extension manager:

sudo apt install gnome-shell-extension-manager -y

Get the gnome-shell version number:

gnome-shell --version

Screenshot

Download the plug-in that allows remote access under lock screen according to the version number:

Official website: https://extensions.gnome.org/extension/4338/allow-locked-remote-desktop/
Official website: https://extensions.gnome.org/extension/4338/allow-locked-remote-desktop/

Screenshot

Install/enable plug-in: Users need to enter the file location to install

gnome-extensions install allowlockedremotedesktopkamens.us.v9.shell-extension.zip
sudo gnome-extensions enable allowlockedremotedesktop@kamens.us

Screenshot

Restart the system: open Extension Manager to enable the corresponding function (find it in the Ubuntu system application)

Screenshot

Screenshot

3. VNC remote control

VNC Viewer input motherboard IP:

Screenshot

Fill in the motherboard system password:

Screenshot

Screenshot

Frequently Asked Questions

VNC Remote Display Reconnection

Reconnection Phenomenon

Screenshot

Solution

Modify the options of the corresponding remote device → Specify remote image quality

Screenshot

Screenshot

Screenshot

VNC remote switch uppercase and lowercase

Enter Settings → Compose Key → Caps Lock: Set to Caps Lock to switch uppercase and lowercase input

Screenshot