Hi again,

----- Original Message -----
> From: "A. James Lewis" <ja...@fsck.co.uk>
> To: "Gustavo Homem" <gust...@angulosolido.pt>, 
> xrdp-devel@lists.sourceforge.net
> Sent: Thursday, May 28, 2015 7:32:50 PM
> Subject: Re: [Xrdp-devel] reconnecting vs new session.
> 
> 
> I like the DNS solution, that's deceptively simple...  although it seems
> to have some issues, since ideally people should be able to connect from
> an arbitrary client, or statically configured thin client, and they
> enter their username after connecting to xrdp...

True. The solution I told you about forces you to have a simple GUI wrapper for 
rdesktop.

> 
> perhaps there is some way to capture the username and parse it between
> the xrdp front end and the actual service hosting the desktop...

Yes, shell script + zenity or something in python, etc.

> 
> Hmm, or, are you suggesting that this mechanism is built in and it
> already looks for those "username.vdi" hostnames when passing the
> connection from xrdp to the backend?

No, it isn't built in. You have to build it.

> 
> Thanks a lot btw, really good insight.. :)

You're welcome.

Cheers
Gustavo

> 
> On 28/05/15 17:41, Gustavo Homem wrote:
> >> >Also, I notice there is an option to kill disconnected sessions... is
> >> >there a way to kill them after a set period of time,
> >> >
> > Didn't test it. You can also have a regular cron job to do that.
> 
> I thought about doing it with cron, but it seems like you would have to
> determine which X11rdp process had no connected socket before killing
> it... I guess that's not too hard, but if it was built in it would also
> be nice.. :)
> 
> > Cheers
> > Gustavo
> 
> 
> --
> A. James Lewis (ja...@fsck.co.uk)
> "Engineering does not require science. Science helps a lot but people
> built perfectly good brick walls long before they knew why cement works."
> 
> 

------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to