Xrdp is a special tool that allows you to provide graphical input to a virtual server using RDP (Remote Desktop Protocol). The RDP transport is encrypted using TLS by default.
First, you need to connect to your server via SSH. After that, install GNOME
sudo tasksel install ubuntu-desktop
Reboot your virtual server
After the reboot is successful, you need to install Xrdp. This can be done using the following command:
sudo apt-get install xrdp
Basic Xrdp setup
Next, you need to basic Xrdp setup. To do this, we recommend that you change the RDP port. For example, change the default from 3389 to 33389. To select a different port, you need to configure the sed command below:
sudo sed -i 's/3389/33389/g' /etc/xrdp/xrdp.ini
Next, you should open a port in the Ubuntu firewall, ufw
sudo ufw allow 33389
After that, restart your xrdp service:
sudo systemctl restart xrdp
Then, connect to your RDP client.
Leave A Comment?