Package: lxsession Severity: wishlist in ltsp 5.1.98, a feature was introduced to allow thin clients to shut down or reboot by setting an X property/xatom, LTSP_LOGOUT_ACTION before logout.
it would be great if lxsession-logout could support this by detecting an LTSP environment (using the environment variable LTSP_CLIENT=True), and if the shutdown/reboot button is selected, set the appropriate X property instead of shutting down the server(while still logging the user out as usual). i tried looking at the lxsession-logout code to figure out a patch, but i couldn't quite wrap my head into where to insert it. i'd be happy to test code or provide more clarification. from the commandline, for shutdown/halt: xprop -root -f LTSP_LOGOUT_ACTION 8s -set LTSP_LOGOUT_ACTION HALT for reboot/restart: xprop -root -f LTSP_LOGOUT_ACTION 8s -set LTSP_LOGOUT_ACTION REBOOT it could also be done with code to set the X property directly from lxsession-logout. there's some example code for how to do it in gnome-session in a bug report on launchpad: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/491940 thanks for considering the request! live well, vagrant -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

