Shutdown and restart not always working - continued

Chris G cl at isbd.net
Tue Feb 24 20:05:53 CET 2009


On Tue, Feb 24, 2009 at 07:57:08PM +0100, Yves-Alexis Perez wrote:
> On mar, 2009-02-24 at 18:29 +0000, Chris G wrote:
> > > It strikes me as a mistake of the package maintainer of Xubuntu if this
> > > doesn't work out of the box, though.
> > > 
> > It works "out of the box" for the installation user via the sudo
> > mechanism, however it won't work for other users unless you do some
> > configuration. 
> 
> And this is an issue for your distribution. Which, I think, kindly
> offers you /usr/share/doc/xfce4-session/README.Debian for you to read,
> as the fine manual.
> 
... and that says:-

    There are three ways to enable user to shutdown the computer from Xfce:

     - use sudo, and allow user to run /usr/sbin/xfsm-shutdown-helper in sudoers
     - use dbus and hal
       - hal and dbus should be installed, up and running
       - user should be in powerdev group
     - use policykit and a compatible login manager (gdm is known to work)

The first option (sudo) works, as I implied in my posts.  There is no
powerdev group so the hal/dbus advice isn't much help.  Thirdly
xubuntu comes by default with gdm and policykit and that doesn't
appear to allow shutdown by default.

I'm sorry, this has got rather involved and I *really* don't mind all
that much that restart/shutdown don't work!  :-)

-- 
Chris Green



More information about the Xfce mailing list