Ubuntu – Mapping XFCE4/xRDP sessions to users

xfcexrdp

I have Ubuntu 13.10 with Xubuntu Desktop – XFCE4.

I'm trying to use XDRP to allow MS Windows users to login to the machine with their own user.

I've been a lot around the houses with this! I've find two half-way solutions, but can't get them to work as I'd like…

1) in /etc/xrdp/xrdp.ini I set the port to -1


[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

each time any user logs on they get a new session – they can never go back to their original session

2) in /etc/xrdp/xrdp.ini I set the port to 5912 (e.g)


[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5912

each time any user logs on they always log on to the same session irrespective of their logon details

??) I found a mid-way solution, to create a lot of sessions by adding adding additional options in the xrdp.ini e.g.


[xrdp8]
name=Bob's Logon
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5913


[xrdp9]
name=Jill's Logon
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=5914

and so on, but he problem with this is that Jill can still log into Bob's remote session

???
Is it possible to to do what I'm trying to do?

Maybe I have to use different tools?

Best Answer

Change the user= field to the user in question, so if Jill's Logon is selected, it'll only ask for the password and sign in using the user provided in the file.

Related Question