Enable Remote Desktop on Ubuntu Linux
Remote Desktop in Ubuntu Linux lets you control your computer from another room or get help from a friend over the network. This built-in feature, included in Ubuntu 22.04 LTS and newer versions, shows your desktop on another screen and lets you use a mouse and keyboard as if you sit right at the computer.
Turn on screen sharing in the Settings app, set a password, and connect from any device on your local network.
Open Settings , click Sharing, and turn on the main Sharing switch. Then, enable Remote Desktop and Remote Control within the Remote Desktop sub-menu to allow others to view and control your screen.
How to turn on or off remote assistance in GNOME
Remote Desktop on Ubuntu can be turned on or off through the Settings app in the GNOME desktop environment. Open Settings , select the Sharing menu from the sidebar, and turn on the main switch to let other computers connect to your machine.
1. Open the Activities overview and search for Settings.

2. Alternatively, click the System menu in the top-right corner of your screen and select Settings.

3. In the left sidebar, click on Sharing.

4. If the main Sharing switch at the top is off, click it to turn it on. You can also change your computer's name right here.

5. Click the Remote Desktop sub-menu.

6. To let others see your screen, set the Remote Desktop switch to on.
7. To let others click and move your mouse, set the Remote Control switch to on.

Authentication
Authentication for Remote Desktop on Ubuntu requires your system username and password to verify your identity before a connection starts. You should always use a VPN or SSH tunnel to protect these login details from hackers on the internet.
For a secure connection, always use a VPN or SSH tunnel. Exposing your RDP port directly to the internet is a significant security risk.
SECURITY WARNING: Never expose your RDP port directly to the internet. Doing so makes your computer vulnerable to attacks. Always use a VPN or an SSH tunnel to create a secure connection before connecting to your Ubuntu machine.How to connect to Ubuntu Desktop via Remote Desktop Connections
Remote Desktop Connections to an Ubuntu computer from a Windows PC work by opening the built-in Remote Desktop app and entering your Ubuntu IP address. Make sure your Windows client supports modern authentication methods to avoid connection errors.
Verify that your Windows client supports modern RDP authentication methods. Older software often struggles to connect if your Ubuntu session runs Wayland (the modern default display server, which handles how apps appear on screen) rather than a traditional X11 session. Compatibility issues happen less often with traditional X11 sessions (the legacy display server architecture).
Enter the username and password you set in the Ubuntu Remote Desktop menu to log in.

Once you enter the correct details, you'll be connected to your Ubuntu desktop.

Conclusion
Using the GNOME settings, you can turn remote access on or off. For security, always remember to use a VPN and make sure your Windows client is up to date for modern authentication.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!