[Pkg-xfce-devel] Bug#572782: Bug#572782: xfce4-session-logout --halt does not halt the machine

Yves-Alexis Perez corsac at debian.org
Sun Mar 7 09:08:37 UTC 2010


On dim., 2010-03-07 at 06:33 +0000, Michaël Ball wrote:
> On Sat, 2010-03-06 at 20:50 +0100, Yves-Alexis Perez wrote:
> > On sam., 2010-03-06 at 16:50 +0000, Michaël Ball wrote:
> > > > And has the terminal from where you run it all the capabilities do
> > > > shutdown? (can talk to dbus, has policykit permissions etc.?)
> > > 
> > > I've set up the policykit permissions so that my username can issue a
> > > shutdown/reboot. Am I correct in thinking that this is all that is
> > > necessary to make sure a command issued by me from the console will have
> > > the correct permission to shutdown? 
> > 
> > I think a good way to test would be to run xfce4-session-logout without
> > any arg, and chose “halt” there.
> 
> I have tried this, and it shuts down correctly. So would it still be a
> permissions issue?
> 
Hmhm, I'm not sure. I don't think so, but it could still be an
environment problem in the shell. Afair, xfce4-session sends a dbus
message to hal to ask for shutdown, so you might want to monitor both
dbus (dbus-monitor) and hal (lshal -m) and see what happen in both cases
(doing so from another box with ssh might be a good idea).

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20100307/6bc2f88e/attachment.pgp>


More information about the Pkg-xfce-devel mailing list