$sudo apt-get update && sudo apt-get -y upgrade
$sudo apt-get purge xrdp
sudo apt-get update && sudo apt-get -y upgrade
sudo apt install xrdp
sudo apt install -y xfce4 -> gdm3
sudo apt install -y xfce4-goodies
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32
max_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24
xserverbpp=128/g' /etc/xrdp/xrdp.ini
echo xfce4-session > ~/.xsession
sudo nano /etc/xrdp/startwm.sh -> comment out last two lines and add below
# xfce
startxfce4
sudo /etc/init.d/xrdp start
sudo apt purge xscreensaver gnome-screensaver