We're willing to fix this, but can you explain in more detail how this
should work? Our developers don't use LTSP here so I have no idea how
it should work.

On Wed, Mar 31, 2010 at 2:15 AM, Andrew Lee <ajq...@debian.org> wrote:
> Hi PCMan,
>
> I am working on LXDE packaging for Debian 6.0 release. I'd hope this
> feature request would be included in Debian 6.0.
>
> Please read the report below from Vagrant Cascadian who is also one of
> the upsteam of LTSP.
>
> If you have any question, I think Vagrant Cascadian would love to answer.
>
> Cheers,
>
> -Andrew
>
> Vagrant Cascadian wrote:
>> 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 debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to