Shutdown and reboot options not available?

Jaap Winius jwinius at umrk.nl
Wed Dec 19 03:35:25 CET 2012


Quoting Jaap Winius <jwinius at umrk.nl>:

> In my quest to develop the new Debian wheezy configuration for my  
> site, I've managed to find another major issue: users cannot shut  
> down or reboot their workstations from within Xfce.

Never mind, I just discovered what was going on: while attempting to  
shutdown or restart it from the desktop, I was still logged into the  
same machine from my usual machine. The default for wheezy's  
consolekit is to prevent desktop users from shutting down or rebooting  
the machine while other sessions are still in progress. When there are  
no others, everything shuts down just fine.

Now that you know what's going on you may not want to change anything,  
but to change this behavior back to what it was in previous Debian  
releases, just modify the following file:

   /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

In it, look for two lines with  
"<allow_active>auth_admin_keep</allow_active>" and change them to  
"<allow_active>yes</allow_active>".

Also, you might want to delete the user's ~/.dbus directory as this  
may also cause problems.

Cheers,

Jaap


More information about the Xfce mailing list