XRDP to always use a new session

Asked by Scott Carter

I've got latest xrdp running on ubuntu 14.04 and I want it to always launch a new session when logging in using x11rdp. It seems the old version did this by default. Is there a command or change to a file I can make so that xrdp never connects to an existing session but always launches a new session?
Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xrdp Edit question
Assignee:
No assignee Edit question
Solved by:
Scott Carter
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What are you doing on the remote system that needs the full desktop? There is probably a sleeker solution to what you are doing...

Revision history for this message
Scott Carter (scarter-7) said :
#2

I don't want the full desktop, I just want to be able to launch a custom QT script. I tried with x11vnc but there were a bunch of opengl errors and I couldn't get the QT to work. I am able to get QT to run over x11rdp, but I want to give about 200 people access to it so they can access this in house training tool we've built. Right now they'll steal eachothers sessions rather than launching new sessions for each agent logging in.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Have you tried using SSH and X forwarding? The application will run on the remote system but will display on the client system. If the client systems are also Linux based then this is as easy as running:

ssh -X username@server command

Note that the X is uppercase. Obviously change the username and password and use the name of the command to run if it is in the path variable (or use absolute paths if you like). Eg:

ssh andy@app01 firefox

And the browser will launch but will be using the resources on the server (a bit like Citrix in Windows).

Revision history for this message
Scott Carter (scarter-7) said :
#4

I figured it out, I set the Policy=UBDC in sesman.ini