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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-xfce-devel

Reply via email to