Welcome to Jetson Orin NX Developer Kit repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
04.VNC remote control
VNC remote control
VNC remote control1. VNC Viewer1.1. VNC download1.2. VNC installation1.3. VNC usage2. System settings (Jetson)2.1. Switch to VNC mode2.2. Confirm the desktop and the VNC service2.3. VNC password and connecting at boot3. VNC remote controlFrequently asked questionsCannot find the VNC switch for the remote desktopswitch-remote-desktop: command not found is reportedCannot connect, or a black screen after connectingVNC remote display reconnectionReconnection phenomenonSolution
This tutorial applies to the bundled JetPack 7.2.1 / Ubuntu 24.04 system. It shares the local Jetson desktop through x11vnc, and Windows connects with VNC Viewer.
The "Settings → System → Remote Desktop" page of Ubuntu 24.04 uses RDP and cannot act as the server side for VNC Viewer. This tutorial no longer uses the "Sharing → Remote Desktop → Legacy VNC" settings of Ubuntu 22.04. For RDP remote login, please refer to RDP remote control.
The Windows computer needs VNC Viewer installed in advance and has to be on the same LAN as the Jetson.
1. VNC Viewer
1.1. VNC download
Official download address: https://www.realvnc.com/en/connect/download/viewer/

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







1.3. VNC usage


2. System settings (Jetson)
2.1. Switch to VNC mode
The bundled system has x11vnc and a remote desktop mode switching script already configured. Run the following in the Jetson terminal or over SSH:
sudo switch-remote-desktop vncThis command restores the local automatic login and the VNC shared desktop mode, and restarts gdm3. The switch interrupts the current graphical session, so save the work in your desktop programs before operating and confirm that a fallback connection such as SSH is available.
Check the current mode with:
xxxxxxxxxxsudo switch-remote-desktop status
switch-remote-desktopis a script provided by the bundled system, not a command that ships with Ubuntu. If you flash the official pure NVIDIA system yourself, the script and the VNC service may be missing, and you have to install and configurex11vncseparately; you cannot simply copy the switching steps of the bundled system.
2.2. Confirm the desktop and the VNC service
The current VNC solution shares the local X11 desktop that is already logged in on the Jetson, usually the :0 session on the display. It does not create an independent remote desktop; when nobody has logged in locally, when the graphical session has ended, or when Wayland is used, you cannot connect this way directly.
Check the service and the listening port on the Jetson:
xxxxxxxxxxsystemctl status x11vnc.service --no-pagerss -ltn | grep ':5900'The service should show active (running) and listen on TCP 5900. If the service is not running, look at the reason:
xxxxxxxxxxjournalctl -u x11vnc.service -b -n 50 --no-pagerProvided the Jetson has already entered the local desktop, you can try restarting the service and then check the status again:
xxxxxxxxxxsudo systemctl restart x11vnc.serviceDo not configure VNC through the "Media Sharing" page of Ubuntu; media sharing has nothing to do with VNC remote control. You also do not need to install the allow-locked-remote-desktop extension as the older tutorials describe, nor to clear the keyring password in "Passwords and Keys".
2.3. VNC password and connecting at boot
VNC Viewer uses the VNC access password configured in x11vnc, which is not necessarily the same as the system login password of the Jetson. Use the VNC password provided by the bundled system; do not substitute the credentials shown on the Ubuntu RDP page.
If you need to troubleshoot the password configuration or change the password, first look at the service startup parameters:
xxxxxxxxxxsystemctl cat x11vnc.serviceIf the startup parameters contain -rfbauth, the path after it is the password file used by the service; when changing the password, operate on that actual file. Do not simply run x11vnc -storepasswd to generate another file and assume that the password of the running service has changed.
Connecting automatically at boot requires all of the following: the x11vnc service is enabled, the local X11 desktop is logged in, and TCP 5900 is reachable. Check whether the service is set to start at boot:
xxxxxxxxxxsystemctl is-enabled x11vnc.serviceIf it shows disabled and the service has been verified as working as described above, enable it:
xxxxxxxxxxsudo systemctl enable x11vnc.serviceEnabling the service alone does not replace the local desktop login. The VNC mode of the bundled system depends on the local automatic login; switching to RDP mode turns the automatic login off, so you have to switch back to VNC mode to restore the original way of working. The behaviour of a connection after the screen is locked should be confirmed on the current image; the effect of the older GNOME extension does not apply to x11vnc.
3. VNC remote control
Run hostname -I in the Jetson terminal to see the mainboard IP address. Enter that IP address in VNC Viewer; TCP 5900 is used by default, and you can also enter IP:5900 (replace IP with the actual address).

Enter the VNC access password when prompted (see section 2.3); it is not the system login password. The screenshots below only illustrate the client connection flow; for the addresses and credentials in the old screenshots, follow the current device.


Frequently asked questions
Cannot find the VNC switch for the remote desktop
The remote desktop that ships with Ubuntu 24.04 uses RDP. The "Settings → System → Remote Desktop" page cannot enable the x11vnc service used in this tutorial; on the bundled system, use the mode switching command in section 2.
switch-remote-desktop: command not found is reported
Check whether you are using the bundled system or a self-installed official pure system. The command is a bundled script and cannot be filled in by installing a GNOME extension. First check whether the x11vnc service has been installed and configured; if systemctl status x11vnc.service reports that the service does not exist, you have to configure the VNC server side separately.
Cannot connect, or a black screen after connecting
First confirm that the IP address of the Jetson is reachable from the computer, then check the service and the 5900 listener described in section 2.2. Confirm that you have switched back to VNC mode, that the local desktop of the Jetson is logged in, and that neither the network nor the firewall blocks 5900. When there is no display, you also have to confirm that the system has actually created a shareable X11 desktop; VNC availability cannot be assumed just because SSH works.
VNC remote display reconnection
Reconnection phenomenon

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


