Connect to a Windows PC from Ubuntu via Remote Desktop Connection

ubuntuA useful feature of Windows is being able to connect to your Desktop from another location to remotely manage your computer. While this functionality is native in Windows, it is not supported by default in many Linux distributions, including Ubuntu. However, you can connect to a Windows remote desktop, if you are willing to use third-party tools found in the Ubuntu Software Center. This tutorial will show how.

NOTE: This tutorial was created on Ubuntu 13.04 (Raring Ringtail).

Step 1: Enable Remote Desktop Connections on your Windows PC

In order to allow other computers to connect remotely to your Windows computer, you need to enable the Remote Desktop Connection feature. To learn how to do this, read this tutorial: How to Enable Remote Desktop Connections in Windows 7 & Windows 8.

Step 2: Install a Remote Desktop Client - Our Choice: Remmina Remote Desktop Client

By default, Ubuntu doesn’t come with a remote desktop client which supports the Remote Desktop Protocol (RDP) used by Windows operating systems for remote connections. You need to install one of the clients available in the Ubuntu Software Center.

First, start the Ubuntu Software Center.

Remmina, Remote Desktop Client, Ubuntu, Linux

Search for the words "remote desktop" and you will be shown all the available applications.

We preferred to choose Remmina Remote Desktop Client, a client which is very appreciated by the user community and is, at the same time, very versatile and easy to use.

To get it installed, select it and click Install.

Remmina, Remote Desktop Client, Ubuntu, Linux

You are asked for your password. Type it and click Authenticate.

Remmina, Remote Desktop Client, Ubuntu, Linux

NOTE: please keep in mind that, in order to install software, your user account needs to have administrative permissions. If you are set as a standard user account, you cannot install any software.

Now the application is downloaded and installed. Wait until the procedure ends.

Step 3: Configure the Remote Desktop Session

It is time to start the Remmina Remote Desktop Client. Search your Ubuntu PC using the word remmina and click on the appropriate search result.

Remmina, Remote Desktop Client, Ubuntu, Linux

Click the "Create a new remote desktop file" button.

Remmina, Remote Desktop Client, Ubuntu, Linux

The Remote Desktop Preference window is opened. Here you can configure the remote connection you want to establish.

In the Profile section, type the name you want to use for the connection. It can be anything you wish. Then, in the Basic tab, complete the IP address of the Windows computer in the Server field. Then, type the username and password you want to use to connect to the Windows computer. Be aware that the user needs to exist on the Windows computer. If you are using a Microsoft account on your Windows 8 PC, it is OK to fill in your email address and password.

You can also set the Resolution you want to use for the connection and the Color depth.

Remmina, Remote Desktop Client, Ubuntu, Linux

NOTE: Selecting a larger desktop resolution and color depth can impact the performance of your remote desktop session. If you experience lag when connected to a remote desktop, try reducing the color depth or resolution.

If you want to share a folder existing on your Ubuntu computer with the Windows computer, simply check the Share folder box and select the folder you want to share from Ubuntu.

Also, for more advanced settings, go to the Advanced tab. There you can turn the sound on or off, share printers, disable clipboard synchronisation, etc.

Remmina, Remote Desktop Client, Ubuntu, Linux

Once you are done making all the settings, click the Connect button. When connecting for the first time, a new certificate is created for the remote connection. Click OK to accept it.

Remmina, Remote Desktop Client, Ubuntu, Linux

After a while, if the Windows computer is turned on and connected to the same network, you should be connected to it.

Remmina, Remote Desktop Client, Ubuntu, Linux

Once you close the remote connection, Remmina Remote Desktop Client automatically saves it so that you will be able to reconnect at a later time, with a simple click on the connection name.

Remmina, Remote Desktop Client, Ubuntu, Linux

Conclusion

As you can see, the procedure is not really complicated. As long as you make the right settings and use a client which supports the RDP protocol, connecting remotely from Ubuntu to a Windows desktop is almost a trivial task. For other tutorials related remote desktop connectivity, check out the links below.