lost and found ( for me ? )

ubuntu 13.04 64bit : install xrdp


Remote desktop server : ubuntu 13.04 64bit

Client : windows XP Pro

root@ubuntu-1:~# tail -1 /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 13.04"
root@ubuntu-1:~# uname -ri
3.8.0-19-generic x86_64

Install xrdp
# apt-get install xrdp

Start xrdp
# /etc/init.d/xrdp start
* Starting Remote Desktop Protocol server

Remote desktop clients usually connect to RDP server with TCP 3389.
So the XRDP server would open TCP 3389.
# lsof -ni:3389
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
xrdp    15184 xrdp    6u  IPv4 155266      0t0  TCP *:3389 (LISTEN)

On the windows XP box , start remote desktop client and connect to the server.
nnn , error , can’t connect.

login users need to belong to a group “xrdp”
add my account “foobar” in xrdp group
usermod -G groupA,groupB….xrdp <user name>
root@ubuntu-1:~# usermod -G foobar,root,fuse,libvirtd,x2gousers,xrdp foobar
root@ubuntu-1:~# egrep xrdp /etc/group
xrdp:x:144:foobar

restart xrdp
# /etc/init.d/xrdp restart

try again!
Okay , I can connect to the server.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.