Welcome to Jetson Orin NANO Developer Kit repository
05.RDP remote control
RDP Remote Control
RDP Remote Control1. Usage Requirements2. System Settings3. Switching Between VNC/RDP Modes via Commands4. Connecting to the Jetson from Windows5. Common Issues5.1. "Session Already Running" Prompt5.2. Unable to Connect or Connection Timeout5.3. Authentication Failure6. Security Considerations
This tutorial describes how to remotely log in to the Jetson Ubuntu desktop from Windows via RDP. The current device uses the system-level Remote Login provided by GNOME Remote Desktop, which is built into Ubuntu 24.04, and does not use xrdp.
1. Usage Requirements
The Jetson is connected to the network, and the Windows computer can access the Jetson's IP address; for initial setup, it is recommended to use it within the same local network.
GNOME Remote Desktop is installed and enabled on the Jetson; RDP uses TCP ports
3389and3390.Remote login uses the Jetson's Linux username and system login password.
Before switching the desktop mode or restarting the graphical login manager, make sure an alternative management entry such as SSH is available.
2. System Settings
The RDP-related settings are in System -> Remote Desktop:

After entering, you can freely switch between the Desktop Sharing and Remote Login pages. Desktop Sharing is desktop sharing, and Remote Login is remote login; the core difference between them lies in whether a new session is created and the impact on the current local operation.
Select Desktop Sharing, click Unlock first, and enable remote control after entering the password. This method can be used together with VNC.



Select Remote Login, click Unlock in the same way, and enable remote control after entering the password. Since it creates a brand-new independent virtual desktop session, VNC sharing is not available at this time; when connecting to RDP from Windows with mstsc, a "Session Already Running" window prompt appears, and you need to switch the VNC/RDP mode with a command.



Note: After Desktop Sharing and Remote Login are both enabled, the port of Desktop Sharing automatically switches to port 3390. Click Accept in the popup to accept.

3. Switching Between VNC/RDP Modes via Commands
To use Remote Login, that is, to use port 3389, log in to the Jetson through a terminal or SSH and run:
sudo switch-remote-desktop rdp
This command switches to the RDP configuration and restarts gdm3. During the switch, the local monitor may return to the login screen; this is normal. To view the current mode:
xxxxxxxxxxsudo switch-remote-desktop status

System-level RDP requires creating a graphical session for the remote user. If the Jetson has already entered the local desktop via automatic login, the same user's local graphical session may cause the remote connection to report Session Already Running; switching to RDP mode turns off automatic login.
4. Connecting to the Jetson from Windows
Check the mainboard's IP address in the Jetson terminal:
xxxxxxxxxxifconfigOn Windows, open "Remote Desktop Connection" (run
mstsc).
Enter the Jetson's IP in "Computer"; to specify a port, use
IP:3390orIP:3389, and then click "Connect"This tutorial uses 3390, which is Desktop Sharing mode; in this mode you can log in to the RDP screen without running the switching command.

Confirm the server certificate as prompted on the first connection.
Enter the Jetson's Linux username and system login password to complete the login.

After the connection succeeds, Windows displays the Jetson's independent remote GNOME desktop.


5. Common Issues
5.1. "Session Already Running" Prompt
Confirm that you have switched to RDP mode:
xxxxxxxxxxsudo switch-remote-desktop rdpsudo switch-remote-desktop status
RDP mode requires that the remote user has no running local graphical session. If you still cannot connect, check whether the Jetson still has a local desktop session for that user, and confirm that the switching command has completed.
5.2. Unable to Connect or Connection Timeout
First confirm that Windows can access the Jetson's IP, then check the service and ports on the Jetson:
xxxxxxxxxxsystemctl is-active gnome-remote-desktop.servicess -ltn | grep 3389
The RDP service should be running and listening on TCP 3389. Also confirm that the network or firewall is not blocking that port.
5.3. Authentication Failure
Use the Jetson's Linux username and system login password, not the VNC password. If Windows has saved old credentials, delete the corresponding entry in Windows Credential Manager and reconnect.
6. Security Considerations
RDP uses TCP
3389and3390by default; it is recommended to use it only within a trusted local network or a protected VPN, and not to expose it directly to the public internet.Keep the Jetson login password safe; do not record passwords, TLS private keys, or certificate content in tutorials, screenshots, or public repositories.
Switching modes restarts the graphical login manager and interrupts the current graphical session; before operating, make sure an alternative entry such as SSH is available.