right, ldm the ltsp display manager running on the client essentially
exectutes the following command:

ssh -Y [EMAIL PROTECTED] /etc/X11/Xsession

which in turn parses through the different system session options and
ends up calling x-session-manager (which by default is an alternative
for gnome-session)

note that there is no dbus connection possible between the client and
the server as there is no secure way to do this yet with dbus. so asking
via dbus wont work, neither can the client nor the user that is logged
in through ssh access the gdm socket, thats why i proposed to just call
gnome-session-save --force-logout through g_spawn_async() if LTSP_CLIENT
is set. that seems to be the smallest patch and will result in the
desired behavior. LTSP_CLIENT is reliably set for all client sessions
run through ldm ... though we allow admins to set up XDMCP with gdm we
dont really support that for security reasons (none of the features of
ltsp will work without the ssh tunnel in place anyway) but in case
people use it, LTSP_CLIENT wont be set and fusa will act properly
through gdm.

-- 
fusa prevents ltsp sessions from logging out
https://bugs.launchpad.net/bugs/282595
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to