Comment 5 for bug 282595

Revision history for this message
Oliver Grawert (ogra) wrote :

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

ssh -Y user@server /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.