Hello. I'm running a terminal-server on RHEL5 with Gnome2 and XRDP. It happens that a user randomly gets his gnome session hanging or crashing so no 'logout' is possible. When closing the RDP connection in Windows and trying re-login, XRDP continues the hanging session and the user is unable to use the terminalserver until I manually kill his gnome-session pid. Is there an option to make xrdp NOT re-use existing sessions? Or maybe an option to execute a little SH script when logging in through xrdp, so I can make that script kill the existing gnome session if it exists.
i am not positive but I think in the sesmam.ini if you set KillDisconnect=1, will cause the session to kill on a disconnect.. Although I would more concerned as why the session is locking up. I have it had where a Java session will hang, but not the whole session.
That would be the perfect solution indeed.. but the manual of sesman.ini says that the KillDisconnected and the IdleTimeLimit options are currently ignored :(
This problem has been identified as a bug previously @ debian.org in version 0.5 but never incorporated into 0.6.
here is the link.
Would be great if we could get this patch applied and a new deb package issued. I'm having this problem and seems like a lot of requests for this fix on this discussion forum.
post -> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573258
sesman\session.c patch -> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=reuse-session-fix.diff;att=1;bug=573258
I'm also having this issue. Its so bad it should be considered a security issue from a denial of service standpoint. If using this software in anything other than an individual user environment the user load eventually kills the server. My server never sees more than 8-10 users concurrently but over the course of a day it WOULD see 50-100 unique users, but it exhausts its RAM and crashes well before that because of all the hung open sessions.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.