xrdp – RDP server for Linux
It is installed in Ubuntu with the following command:
sudo apt-get install xrdp
To connect to an xrdp server from Windows, you can use the standard Remote Desktop client by typing mstsc.exe at the command prompt.
The configuration is located here /etc/xrdp/, logs are written here – /var/log/xrdp-sesman.log
You can restart xrdp like this:
sudo /etc/init.d/xrdp restart
You can also install the Xfce graphical shell:
sudo apt-get -y install xfce4
And specify it by default.
echo xfce4-session >~/.xsession
I recommend not using root user to work in a graphical environment, but create an individual user.
See my article – Administering Ubuntu Users