Re: properly closing ldm logins
Vagrant Cascadian <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 22, 2008 at 10:42:59AM +0200, Oliver Grawert wrote:
> On Do, 2008-08-21 at 12:18 -0700, Vagrant Cascadian wrote:
> > instead of tacking on a "kill -1 $PPID" ... tack on a "echo
> > LTSPKILLTHISSESSION"
> from where would that come without hacking up the tool that ends the
> session (gnome-session, the equivalent in kde or even WMs that dont have
> session managers but just a wrapper script ) ?
it would be the same way we handle the initial login that establishes
the ssh tunnel... so i don't see any special need to handle any sessions
or window managers... it happens after the Xsession script has completed
(because the "ltspfsmounter all cleanup" part does execute).
although, scotty suggested using the xatomwait code from the localapp
stuff, maybe that's even better.
> what i find very noticeable here is that we see the same behavior on all
> distros with all X versons and all session/window managers ... i dont
> think that X is doing anything wrong here, neither the window managers,
> it must be our fault ... probably a low level comparison between ssh
> -X/Y and XDMCP would help ...
while it doesn't solve the issue for warren, newer ssh versions seems to
fix it for me, so i think there is something to do with the ssh
connection here, more than X or anything done wrongly in ldm.
i've seen the same behavior from code i wrote in 2003 (sdm).
i think we'll need to work around the issue, even if it may just be
misbehaving X applications... because we can't fix every X application
out there just to have LDM work properly.
for debian, i wrote a patch to ldm 2.0.6 that makes it a configurable
option... not ideal, but at least it's possible to get either behavior.
live well,
vagrant
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net