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...

-- 
Patch for LTSP clients to properly reboot/shutdown
https://bugs.launchpad.net/bugs/491940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to