Shutdown klutz problems

Thomas Eriksson thomas.eriksson at slac.stanford.edu
Tue May 11 20:38:49 CEST 2010



On 05/11/2010 11:25 AM, Mark Knecht wrote:
> On Tue, May 11, 2010 at 11:22 AM, David Rosenstrauch <darose at darose.net> wrote:
>> On 05/11/2010 01:06 PM, Todd and Margo Chester wrote:
>>>
>>> Hi All,
>>>
>>> I am running Xfce 4.4.2 on a CentOS 5.4 server. The server is a critical
>>> enterprise level server. Twice now fumble fingers here has hit shutdown,
>>> instead of, logout. It is very, very embarrasing. (And the third time
>>> I do it, I may get my butt kicked.)
>>>
>>> Is there a way to modify the exit utility so that it will give an extra
>>> prompt
>>> for shutdown? Can I substitute Gnome's shutdown prompt? Is there
>>> any modification I can make to keep this from happening again?
>>>
>>> Many thanks,
>>> -T
>>
>> I've had this happen too, and agree it's a bit irritating.  Don't know of
>> any workaround, unfortunately.
>>
>> DR
> 
> We have the same problem here at home sometimes as our MythTV backend
> server is also my wife's desktop machine. It's the middle of the
> evening, she's tired and forgets to just log out and instead shuts
> down. Recordings ruined.
> 
> - Mark

One way to work around this, would be to use the "kiosk" interface
to limit the use of the shutdown functionality in xfce-session.

Put these lines into /etc/xdg/xfce4/kiosk/kioskrc

[xfce4-session]
Shutdown=NONE

The shutdown button will now be grayed out.

If you still want to allow shutdown by users, it could be done from
the gdm screen or via sudo.

-Thomas





More information about the Xfce mailing list