Skip to content

Latest commit

 

History

History
148 lines (84 loc) · 3.76 KB

File metadata and controls

148 lines (84 loc) · 3.76 KB

VNC Remote Desktop

Back to Module 3 | Back to Table of Contents

04 VNC Remote Control

Introduction

VNC is a remote desktop protocol that lets you view and control another device's graphical interface from your own computer. It is especially useful for servers without monitors, embedded devices such as Jetson, and other systems that require remote GUI access.

Configure VNC

Jetson side

Open desktop sharing on Jetson from Settings -> Sharing.

Enable Remote Desktop, turn on the traditional VNC protocol, and set a username and password. Using the same credentials as the system account is recommended.

Each time you switch networks, make sure Media Sharing is still enabled.

Enable remote login

Enable the VNC service at boot.

If the screen is locked, VNC remote control may stop working. Use the extra configuration below to allow locked-screen remote access.

# Install the desktop extension manager
sudo apt install gnome-shell-extension-manager -y
# Get the gnome-shell version
gnome-shell --version

Download the GNOME extension that allows remote desktop access while the screen is locked:

Open this page in a browser on the Jetson:

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

If no browser is installed, you can install a Firefox browser

# Download Firefox
sudo apt install firefox
#Fix the browser version
cd ~/Downloads/
snap download snapd --revision=24724
sudo snap ack snapd_24724.assert
sudo snap install snapd_24724.snap
sudo snap refresh --hold snapd

Open the link above and download the extension version that matches your GNOME Shell version.

Install the extension from the download directory:

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

Restart the system:

sudo reboot

After rebooting, press the Win key, search for Extension Manager, and enable the installed extension.

Turn on the option that allows remote desktop control while the screen is locked.

PC side

Download VNC Viewer

Allow installation as administrator

Open VNC Viewer.

Enter the Jetson IP address and press Enter.

Enter Jetson password

The first connection may show a black screen.

Adjust the viewer quality settings if needed.

At this point, you should be able to connect normally to the Jetson graphical desktop.

Back to Module 3