1. sudo apt-get install xrdp
2. run as your user (not root) this: "vncserver :1
3. vi /etc/xrdp/xrdp.ini and make sure you have this section. You can have one session for each user.
[xrdp1]
name=Your Name
lib=libvnc.so
username=na
password=ask
ip=127.0.0.1
port=5901
4. comment any line about twm or xterm and add this line to your local ~/.vnc/xstartup file:
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
/etc/X11/Xsession
5. restart xrdp sevice: /etc/initrd/xrdp restart
6. vi /etc/rc.local to add this line for each user (vncserver :number should be different for each user):
su USER1 -c "cd && vncserver :1"
su USER2 -c "cd && vncserver :2"
done
March 4, 2010
Setup Ubuntu to be a remote desktop server
http://ubuntuwiki.net/index.php/Xrdp,_installing
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment