Remote Desktop Connection to Connect Windows PC from Ubuntu 21.04

Updated: December 16, 2021

Remote Desktop is one of the useful features on Windows. It allows your computer to connect and control another one. This feature is also can be used on Ubuntu and other major Linux distributions. Remmina, a powerful RDP client that enables you to connect to Windows PC from Ubuntu remotely or from Ubuntu to Ubuntu. The following steps will show you how to setup, configure, and connect to a remote desktop connection from Ubuntu to Windows.

Remote Desktop Connection to Connect Windows from Ubuntu

How To Install Remmina RDP Client

On almost all major Linux distributions, Remmina is installed by default, but in some cases (same as my case), you have to install it. There are many ways to install, you should choose a way that is easy for you.

Option 1. Install Remmina with Snap

Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.

First, make sure snapd is installed. If not, you can install it by following this Ubuntu command:

sudo apt update
sudo apt install snapd

Then, install Remmina to use remote windows from ubuntu, it can be done by install from a Terminal Emulator with:

sudo snap install remmina

Option 2. Using PPA to install Remmina

After the release of version 1.4.8, Remmina will no longer be accessible as a PPA package. So that, you shouldn’t use this way to install Remmina to prevent risks.

Install Remmina from PPA, is one of the easiest ways to install, it doesn’t get you too much time and is also easy to do. Copying and pasting these commands into a terminal, so that remote desktop client Remmina can be installed.

sudo apt-add-repository ppa:remmina-ppa-team/remmina-next
sudo apt update
sudo apt install remmina remmina-plugin-rdp remmina-plugin-secret

How To Connect To Windows PC From Ubuntu

This guide is created on Ubuntu 21.04, but it also works on older versions such as 18.04 LTS, 20.04 LTS and so on.

After Remmina installation, now we continue to setup Remmina so that we can connect to Windows remotely from Ubuntu or other Linux distributions. Following this tutorial carefully, you can easily be a master of Remote Desktop Client.

Step 1: Enable remote desktop on Windows PC

First of all, you must set up your Windows PC to accept remote desktop connections if you want to allow other computers (Ubuntu, Arch Linux, Fedora, etc.) to connect remotely to it. To enable remote desktop on Windows, follow these steps:

On Windows PC you want to connect remotely (logged in as an administrator if necessary), open the Start Menu and select Settings. In the pop-up window, then search for Remote Desktop. Finally, turn Enable Remote Desktop on:

These steps works only on Windows 10. On older versions, you should search Google for helping you enable remote desktop on your machine.

Turn on Enable Remote Desktop on Windows PC

Step 2: Open Remmina remote desktop client on your Ubuntu

Once Remmina in installed, you now can launch this remote desktop client app, by searching Remmina in Ubuntu Apps

On other Linux distributions, you can also do it too, but in a different way

Launch Remote Desktop Client Remmina on Ubuntu

Step 3: Configure Ubuntu remote desktop sessions to Windows

Now, you can configure the Remmina to connect to Windows from Ubuntu remotely. This is the default GUI of this remote desktop client app.

Default GUI of Remote Desktop Client Remmina

To create a Ubuntu remote desktop session to Windows, select Add a new connection profile from the drop-down menu. Its icon is a plus sign in the top-left corner of the window, which is easy to spot. In the popup windows, you can set up the remote desktop Ubuntu to Windows connections here.

Configure Remmina to Connect to Windows from Ubuntu

Click Save and Connect once you’ve finished configuring all of the details. This button helps you to save your connection profile (so that you can connect to Windows later without configuring) and then connects to the Windows PC via RDP. In a couple of seconds, you can now control your Windows PC from Ubuntu machine.

Configure Remmina to Connect to Windows from Ubuntu

How to Uninstall Remmina

If you used PPA to install remote desktop client Remmina, you can uninstall it with the following command:

sudo apt remove remmina remmina-plugin-rdp remmina-plugin-secret

You should remove this PPA after it is uninstalled to keep Ubuntu clean.

sudo add-apt-repository --remove ppa:remmina-ppa-team/remmina-next

If you used Snap to install Remmina, you can use this command to uninstall it.

sudo snap remove remmina

Conclusion

In this tutorial, I show you How to setup, configure, and connect to Windows PC from Ubuntu remotely with the Remmina client. I hope this guide will be an easy one for you. If you need any help, don’t hesitate to contact me by commenting on this post, I will try my best to help you.