Remote desktop is a neat feature that lets you access your high-end rigs from another device, like a laptop. So long as you have Internet connectivity on both devices, most operating systems, be it Windows 11 or Linux distros, let you set support remote desktop in some shape or form.
While Windows 11 Pro provides an easy method to use remote desktop, it's a bit more complex to use this facility on Linux-based distributions like Ubuntu. So, we've compiled a step-by-step guide to help you configure the remote desktop facility on Ubuntu.
Guide to Remote Desktop on Windows 11: How to access your PC remotely
If you're hoping to access your PC remotely, Windows has a built-in tool for that
How to remote desktop to Ubuntu through Windows with Microsoft Remote Desktop
Set up Ubuntu for RDP clients
You'll first need to set up Ubuntu to handle remote desktop connections. Doing this will require installing a remote desktop server, tweaking the firewall, and opening the port for connectivity.
- Open a terminal session by tapping Ctrl+Alt+T.
-
Update your packages with this command
sudo apt update
- Enter your password.
-
Install XRDP, a remote desktop server for Linux with the command:
sudo apt install xrdp -y
-
Make sure the remote desktop server is running with the command:
sudo systemctl status xrdp
-
Check to allow your firewall to open the ports for the remote desktop connection with
sudo ufw status
-
Turn on UFW with the command
sudo ufw enable
-
Allow traffic through the default port with the command
sudo ufw allow 3389
-
Reload the firewall with the command
sudo ufw reload
-
Type the following command to allow your system to listen to RDP connections:
sudo systemctl enable xrdp
Once the above steps are completed, note your IP address. To do so,
- Open the Settings app.
- Head to the Network tab and click on the Cog icon next to your LAN/Wi-Fi connection.
- The IPv4 address option will show your IP address.
- (Optional) Now's a good time to find your username by going to the terminal and typing the command whoami
Set up Microsoft Remote Desktop on guest PC
Next, we can head into Windows and set up Microsoft Remote Desktop to connect to Ubuntu. This should be pretty straightforward.
- Open the Remote Desktop Connection app on Windows.
- Click Show Options and under General head to Logon setting.
- In the computer field, enter the IP address you found earlier, followed by the port. For example: 192.168.1.179:3389
- In the username field, enter your username on Ubuntu.
- If you get a warning, accept it with Yes.
- You can tweak additional display settings for which devices you want to share, and font smoothing settings by clicking the Display, Local Resources, Experience, and Advanced tabs.
- When ready, click Connect and enter your Ubuntu password.
You should now have full access to your Ubuntu system remotely!
How to remote desktop to Ubuntu through Windows with third-party apps
Prepare Ubuntu for remote desktop connections
Even though Microsoft Remote Desktop is the preferred way to remotely access Ubuntu, there are plenty of third-party apps that you can use in its place should you have issues with it. One of our favorites is TightVNC, which is open-source and free. We'll be using it in our guide.
- Open the Ubuntu settings app.
- Click Sharing.
- Click the switch at the top to enable it.
- Click Remote desktop and turn it on. Flip the switches for Remote Desktop and Remote Control. Note your device name, too.
- Find your IP address by going to Network or Wi-Fi and click the settings cog next to your network. Note that the port number will default to 3389.
Install a Remote Desktop Client on your guest PC
In this next step, we'll set up a remote desktop client on your guest PC. We'll need to install the VNC client.
- Head to TightVNC and download the latest version for Windows.
- Install the app by following the steps on your screen. We suggest using Typical when asked about the Setup type and Do not change when asked for Password for Remote Access.
- In the connection box, enter the IP address of your Ubuntu machine and the port number 3389. For example, 192.168.1.179:3389.
- Press Connect.
Once connected, you'll have full access to your Ubuntu system remotely. No additional steps are needed! You can use your Ubuntu machine just like you would normally, but this time, over the network.
How often do you use remote desktop on Ubuntu?
Those were the best ways to remote desktop into your Ubuntu system. With laptops that run Ubuntu gaining more popularity, you can also use these methods to log into your new system from a Windows PC.
Of course, there are plenty of other ways to fine-tune your Ubuntu PC to your liking. If you're a developer, you might want to install Java on Ubuntu. Alternatively, DIY project enthusiasts might want to read our tutorial on how to turn an Ubuntu system into an AI-powered image generation server. But if you're a novice, feel free to check out our Linux permissions guide to gain more insight into the file-ownership settings on Ubuntu.
How to remote desktop into a Chromebook
If you need remote access to s Chromebook, you can share your screen using the Chrome Remote Desktop extension on ChromeOS.
