Xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to graphically control a remote system. With RDP, you can log in to the remote machine and create a real desktop session the same as if you had logged in to a local machine.
This tutorial helps you to Install Remote Desktop (XRDP) on Ubuntu 20.04 Linux system. Also provides the instructions to install a Desktop environment on your system.
Ubuntu servers are managed from the command line and do not have a desktop environment installed by default. If you run the desktop version of Ubuntu, skip this step.
There are various desktop environments available in Ubuntu repositories that you can choose. One option is to install Gnome, which is the default desktop environment in Ubuntu 20.04.
To install the ubuntu-desktop environment, please issue the following commands in the terminal session.
sudo apt install ubuntu-desktop
sudo apt install xrdp
sudo ufw allow 3389/tcp
Enter win+R on the keyboard and type “mstsc” to launch the Remote Desktop Connection application. Input your hostname or the server IP.
Input username “administrator” and the server password, then click “OK” to connect to the Ubuntu 20 server.
Now you are successfully logged in.