xrdp
- Install Remote Desktop in Debian/Ubuntu
- How to Install Gnome and xRDP on RHEL 8 (CentOS/Alma Linux/Rocky Linux)
- Install MATE desktop on Ubuntu Server with xrdp
xrdp allow you to connect to Linux Desktop using Windows Remote Desktop.
First you need to install desktop environment. Installing something light weight like XFCE is better if you are using a remote server.
apt-get install xfce4
This will download approx 500 MB of files and install on Ubuntu 16.04.
Next install xrdp
apt-get install xrdp
You need to open port 3389 in firewall.
Some of the configuration files are
/etc/default/xrdp /etc/xrdp/startwm.sh /etc/xrdp/xrdp.ini