sudo apt-get install xrdp
sudo apt-get install lubuntu-desktop
echo “lxsession -s Lubuntu -e LXDE” ~/.xsession
Restart XRDP Service - sudo /etc/init.d/xrdp restart
sudo systemctl status xrdp
For RDP – Default Port 3389 should be allowed in the Server
For VNC – Port 5901 should have to be allowed in the Server Security Group