sudo apt install xrdp
Configuring the firewall
sudo ufw allow 3389
Modify the Xwrapper.config file when you get a blank screen when removing in.
sudo nano /etc/X11/Xwrapper.config
allowed_users = console
allowed_users = anybody
sudo systemctl restart xrdp
Actually, reboot the entire server
When logging in and you receive the message: Authentication Required – Authentication is required to create a color managed device click cancel and it’s all working.
In case you get a blue screen after login I found the following code works to fix this when you use Gnome as your desktop
$echo gnome-session > ~/.xsession
$chmod +x ~/.xsession