Comment 6 for bug 491940

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

LDM_LOGOUT_ACTION has been renamed to the more generic LTSP_LOGOUT_ACTION, in commit http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/1481

So please use the following 4 lines instead:

+ if (g_getenv ("LTSP_CLIENT"))
+ g_spawn_command_line_async("xprop -root -f LTSP_LOGOUT_ACTION 8s -set LTSP_LOGOUT_ACTION HALT", error);

...

+ if (g_getenv ("LTSP_CLIENT"))
+ g_spawn_command_line_async("xprop -root -f LTSP_LOGOUT_ACTION 8s -set LTSP_LOGOUT_ACTION REBOOT", error);

Hoping that it'll be included in Lucid...