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

Ubuntu Remote Desktop

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 who are using a GUI interface or are not familiar with a command line.

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

Enabling Ubuntu Remote Desktop Sharing

The actual process of sharing the desktop is relatively straightforward.

Boot to the Ubuntu desktop and navigate to the down-arrow in the upper-right corner. 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 top right corner of the window.
  3. Cick 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 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 the most Linux distros, but if you cannot find it on the system, install it from the terminal.

Ubuntu / Debian / Linux Mint

sudo apt install remmina


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.


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

In the drop-down menu, select VNC. Then enter the IP address of the remote desktop. 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 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 RealVNV Viewer here.

In addition, if you plan to connect remotely to the Ubuntu desktop from 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 false

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


When you use remote desktop software, all the operations you perform take place on the remote desktop and use 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 from a Windows desktop.

1 Comment

  1. what if i run xfce or mate as desktop is gsettings set org.gnome.Vino require-encryption false going to help vnc into computer os from windows ?

Leave a Reply

Your email address will not be published.

Latest from Tutorials