Excellent, thanks for that Martin.  Works like a charm, and I can use 
'gdm-signal --reboot' to restart the machine.


Regards,

Corey Murtagh

-----Original Message-----
From: Martin Kreiner [mailto:[email protected]] 
Sent: Thursday, 4 August 2011 7:53 PM
To: [email protected]
Subject: Re: [openthinclient-user] Shutdown/Restart/Log Off Applications...

hi corey,

this command should work for any logged-in user:

gdm-signal --halt && killall gnome-session x-session-manager


chers,
martin

Am 04.08.2011 04:25, schrieb Corey Murtagh:
> While that works (and it DOES work in most cases) I have a couple of oddball 
> machines that don't properly handle it, and a whole bunch of users who can't 
> follow simple instructions.
>
> I'd still like to find a solution to this if it's possible.
>
> Regards,
>
> Corey Murtagh
>
> *From:*Schatz, Martin [mailto:[email protected]]
> *Sent:* Tuesday, 2 August 2011 3:50 PM
> *To:* [email protected]
> *Subject:* Re: [openthinclient-user] Shutdown/Restart/Log Off Applications...
>
> Hi corey
> Just let them push the powe Button. A menu appears and they can choose...
>
> Greetings
> Martin
>
> Am 02.08.2011 05:07 schrieb "Corey Murtagh" 
> <[email protected] 
> <mailto:[email protected]>>:
>  > I'm setting up OTC to get some older machines connecting to a terminal 
> server and all is working pretty well. To get it to look right though I need 
> to run a Desktop with no taskbar, or I end up with a minimum of 1 pixel on 
> one edge of the screen which is outside my terminal server. This works nicely 
> at the moment.
>  >
>  > What I need is some way to allow my users to shut down or restart their 
> terminals when there is no taskbar present. Is there a simple way to setup 
> desktop shortcuts for these operations?
>  >
>  > The best I've got at the moment is to add commandline applications with 
> "sudo poweroff" and "sudo reboot" but these are SLOW (several seconds delay 
> before the TCOS shutdown starts) and they only work if I have autologon 
> enabled, not when I have users log into their own accounts.
>  >
>  > Can I invoke the standard shut down/restart/log off code somehow without 
> requiring elevated privileges?
>  >
>  >
>  > Regards,
>  >
>  > Corey Murtagh

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend 
event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org 
[email protected]
https://lists.sourceforge.net/lists/listinfo/openthinclient-user


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
[email protected]
https://lists.sourceforge.net/lists/listinfo/openthinclient-user

Reply via email to