apt-get install xrdp vino/etc/init.d/xrdp startmstsc … to Ubuntu machine
if desktop comes blank, create file ~/.xsession with content:
gnome-session –session=Ubuntu-2d
and /etc/init.d/xrdp restartvino-preferences => allow …/etc/xrdp/xrdp.ini# set empty username because VNC auth
# doesn't actually use username, so no
# point in asking the user for one.
[xrdp1]
name=Active Local Login
lib=libvnc.so
username=
password=ask
ip=127.0.0.1
port=5900
Client: rdesktop