SERVER
[bash]apt-get install xrdp
sudo netstat -anpt | grep -E "vino|vnc|xrdp"[/bash]
CLIENT
[bash]apt-get install rdesktop[/bash]
[bash]rdesktop -a 24 -g 1240×800 -K 192.168.1.161[/bash]
SERVER:
You can start the environment you want only for xrdp (not for local login) in /etc/xrdp/startwm.sh
For example, to start xfce, I use:
[bash]
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
default (= ubuntu)
#. /etc/X11/Xsession
unity 2d
#echo "gnome-session –session=ubuntu-2d" > ~/.xsession
#. /etc/X11/Xsession
xfce
startxfce4
exit(0)[/bash]
Installazione di X server minimale con Xvnc e Xrdp – remote desktop