This brief tutorial shows students and new users how to connect to Ubuntu 20.04 | 18.04 via Remote Desktop Protocol (RDP).
There have been a number of times that I have wanted to access my Ubuntu 20.04/20.10 PC from a Windows PC using Remote Desktop Access (RDP). This is how I have configured it to work.On the Ubuntu 20.04/ 20.10 PC:Open the terminal and type the. Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to control a remote system graphically. In this tutorial, we will learn how to install and configure Xrdp server on Ubuntu 20.04. 10moons mobile phones & portable devices driver.
In some cases, you may want to connect to Ubuntu desktop via remote desktop using existing protocols. At this moment, it’s pretty easy. Simply install few packages and you’re ready to go.
Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote computers.
It provides a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft’s own terminal server / remote desktop clients.
When you’re ready, follow the steps below to get it working.


Step 1: Install Xrdp
Since you already have a desktop environment with Ubuntu Desktop edition, simply run the commands below to Xrdp.
To validate that Xrdp is installed, run the commands below:
That should display similar text as below:
Step 2: Connect from Windows 10
Now that Xrdp server is installed, go and open Windows Remote Desktop Connection app and connect to the desktop hostname or IP address.
Please make to logout of your current Ubuntu desktop sessions. You can’t be logged in to Ubuntu while connecting via Xrdp.
When you have logged out of Ubuntu desktop sessions, click Connect to initiate RDP connection. You’ll be prompted for your Ubuntu login details.
Next, type in your Ubuntu machine account username and password and connect using Xorg
When your account username and password are confirmed, you should be logon to your Ubuntu machine from Windows.
That’s it!
Connecting to Ubuntu desktop is easy, since it already has a desktop environment.
Connecting to Ubuntu Servers
Since servers generally don’t have graphical interface, you will need to install a minimal graphical interface for this to work in a server environment.
Run the commands below to install some necessary packages.
Next, xrdp user to the sss-cert group by running the commands below:
Ubuntu 20.04 Remote Desktop
That should get Xrdp installed and ready for connection on Ubuntu servers.
Since most Ubuntu servers don’t have firewall enabled out of the box, no need to worry about firewall blocking connections.
However, if you have Ubuntu firewall enabled, simply run the commands below to allow RDP traffic.
For example, if you’re connecting 192.168.1.0/24 network, then run the commands below:
That’s it!
Conclusion:
This post showed you how to connect via Remote Desktop Protocol (RDP) to Ubuntu 20.04 | 18.04 Desktop and Servers.
If you find any error above, please use the comment form below to report it.
Ubuntu 20.04 Lts Remote Desktop
Thanks,
You may also like the post below:
