Installing Desktop Environment
sudo apt update
sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils
Installing Xrdp
sudo apt install xrdp
sudo systemctl status xrdp
You will see output like the following:
xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-07-28 22:40:53 UTC; 4min 21s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
...
sudo adduser xrdp ssl-cert
Configuring Xrdp
sudo systemctl restart xrdp
Configuring Firewall
sudo ufw allow from 192.168.1.0/24 to any port 3389
sudo ufw allow 3389
Connecting to the Xrdp Server
If you have a Windows PC, you can use the default RDP client. Type “remote” in the Windows search bar and click on “Remote Desktop Connection”. This will open up the RDP client. In the “Computer” field, enter the remote server IP address and click “Connect”.
On the login screen, enter your username and password and click “OK”.
Whe first use, set up the panel by click:
USE DEFAULT CONFIG