Ubuntu Remote Desktop: How to Set Up and Connect to it

This step-by-step guide explains how you can enable an Ubuntu remote desktop so that you can access and control it remotely.

Remote Desktop is a service that allows you to take over and use another computer remotely. In Ubuntu, it can be enabled on a graphical client machine to control a host machine.

This feature is beneficial for users using a GUI interface or unfamiliar with a command line.

In this tutorial, we walk you through setting this up and then connecting to that Ubuntu remote desktop via the Remmina remote desktop client.

Enabling Remote Desktop Sharing on Ubuntu

The actual process of sharing the desktop is relatively straightforward.

Boot the Ubuntu desktop and navigate to the down-arrow in the upper-right corner. Next, click on the “Settings” link.

Ubuntu settings

The Settings window opens.

  1. Navigate to the “Sharing” tab in the left-hand menu in the system settings.
  2. By default, screen sharing is turned off on Ubuntu. You can turn it on by clicking the toggle at the window’s top right corner.
  3. Click on the “Screen Sharing” button to configure the screen sharing options.
Enable Ubuntu Remote Desktop

A new dialog box will open. 

  1. Turn the “Screen Sharing” on by clicking the On/Off toggle.
  2. Check the “Allow connections to control the screen” checkbox.
  3. Check the “Require a password” checkbox and enter a password.
Enable Ubuntu Screen Sharing

That’s all. You are good to close all dialog boxes. Now you can connect to this Ubuntu PC from whatever Linux distro you’re using.

Connect to the Ubuntu Remote Desktop

Controlling an Ubuntu over a remote desktop connection from another device is a straightforward process. You can connect to your Ubuntu PC from another Linux PC by using Remmina.

It is a free and open-source remote desktop client for Linux with support for RDP, VNC, NX, XDMCP, SPICE, and SSH protocols.

Related: Remote Desktop with Linux: 5 Apps Which You Can Use

The Remmina package should be installed by default on most Linux distros, but install it from the terminal if you cannot find it on the system.

Ubuntu / Debian / Linux Mint

sudo apt install remmina

Fedora / AlmaLinux (EPEL Repo) / Rocky Linux (EPEL Repo)

sudo dnf install remmina

Arch Linux / Manjaro

sudo pacman -S remmina

Press the super (Windows) key to start a search, then type “remmina” and launch the software by clicking on its icon.

Remmina

Before you can connect to your Ubuntu desktop using another computer, you need to find out the IP address.

In the drop-down menu, select VNC. Then enter the IP address of the remote desktop. Finally, hit “Enter” to make the connection.

Remmina Remote Desktop Connection

At this point, you’ll be prompted for a password on your Ubuntu remote desktop. Enter the password and click on the “OK” button.

Connect to Ubuntu Remote Desktop PC

Remmina shows you the remote desktop in a window on your computer.

Ubuntu Remote Desktop in Action

Now, you can begin working on the remote desktop.

How to Connect to Ubuntu Desktop from Windows

To connect from the Windows system, you need a piece of software called a VNC Client. Microsoft Remote Desktop Connections won’t work. RealVNC is a good option.

You can download RealVNC Viewer here.

In addition, if you plan to connect remotely to the Ubuntu desktop from the Windows system with RealVNC, then you might have to disable encryption for the connection by typing the following command:

gsettings set org.gnome.Vino require-encryption falseCode language: CSS (css)

Otherwise, you will get an error in the RealVNC client about an incompatible encryption mechanism.

Conclusion

When you use remote desktop software, all of your operations take place on the remote desktop and utilize its resources.

By following this tutorial, you should now be capable of setting up your Ubuntu system for a remote desktop connection. You’ll be able to remotely control one Ubuntu computer from another or a Windows desktop.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%