On Thu, 2010-06-17 at 12:17 -0700, Murtaza Munaim wrote:
> Hey guys. So i posted this on the sourceforge forums as well, but though 
> that maybe the mailing list might elicit a faster response.
> But here is my question:
> 
> So I am currently trying to add a feature to xrdp. The feature I would 
> be adding would be to totally remove a user's session when they 
> disconnect from the session. I know currently xrdp retains the session 
> in sesman so that a user can reconnect later on. I am facing the problem 
> of users who only use the session once, disconnect, but then their 
> sessions remain. This allows for unneeded processes hogging system 
> resources. I would just like to know, from those who are familiar with 
> the source, where I should start looking to add this functionality. I 
> was thinking it would be with sesman in the session management, but if 
> there is somewhere else where I can develop this faster/more 
> efficiently, I would be happy to know that. Thanks
> 

The sesman.ini man page suggest that there are a number of related
options that one can set to control this, but all are apparently
ignored. The parameters are

KillDisconnected
IdleTimeLimit
DisconnectedTimeLimit

I guess implementing these is what is needed.

I am just feeling my way around the source myself at the moment, looking
to implement XRandR support in the x11rdp server and some associated
support in sesman.


JAB.

-- 
Jonathan A. Buzzard                 Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to