Hello friends. In this simple post, you will learn how to install XRDP on Ubuntu 20.04 / Debian 10. This tool will allow Windows clients to remotely connect to Ubuntu Fundamental for technical support tasks.
Xrdp is an open-source implementation of RDP (Remote Desktop Protocol), the protocol used by Windows Terminal Services for native Windows desktop connectivity. The xrdp package provides RDP functionality, along with a server capable of accepting connections from rdesktop and Windows Terminal Server clients. One of the main advantages of Xrdp is that all of its communications are encrypted by default,
On the other hand, we live in an age where there is a lot of homework and remote assistance is becoming more and more important. And unfortunately, many people still use Windows, and having Ubuntu 20.04 or Debian 10 compatible with Windows for remote assistance is something that can be useful.
Install Xrdp on Ubuntu 20.04 / Debian
For Ubuntu Only:
Fortunately, the package is available from the official Ubuntu repositories but in the multiverse section.
So, open the Ubuntu repository configuration file and make sure it’s enabled
deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
so that it will be enabled. Save the changes if you made them and refresh apt.
sudo apt update
Ubuntu / Debian
And after that, you will be able to install Xrdp without any problems.
sudo apt install xrdp
At the end of the installation, a system service will be added that you can manage with the command
Check the status of the service by running:
sudo systemctl status xrdp
And check that everything is OK
Configuring Xrdp on Ubuntu 20.04 / Debian 10
To increase security Xrdp requires that we create a new system user dedicated to the program.
sudo useadd xrdpuser -G sudo
And then assign a password to it:
sudo passwd xrdpuser
The application runs on port
3389 which you have to make sure to open in the Firewall.
Now you have to make some configurations in Xrdp for it, edit it.
sudo nano /etc/xrdp/xrdp.ini
And add these changes
max_bpp=128 crypt_level=low xserverbpp=128
At the end add this one:
Save the changes, close the editor and restart the service.
sudo systemctl restart xrdp
Now any computer can remotely access your computer.
In this post, you learned how to install Xrdp but not only that but you make it ready to start all the remote assistance process including from the Windows system.