[Pkg-xfce-devel] Bug#525909: Bug#525909: shutdown with hal not working

Enrico Tröger enrico.troeger at uvena.de
Tue Apr 28 17:30:39 UTC 2009


On Tue, 28 Apr 2009 14:09:43 +0200, Yves-Alexis wrote:

>On mar, 2009-04-28 at 09:10 +0300, Andrei Popescu wrote:
>> On Tue,28.Apr.09, 07:52:35, Yves-Alexis Perez wrote:
>> > On lun, 2009-04-27 at 17:19 -0400, Pascal Gervais wrote:
>> > > Same behavior here since the recent hal update. Consolekit and
>> > > policykit are installed. If this can help, I don't use any
>> > > display manager like GDM, XDM, SLIM, etc. I start Xfce with
>> > > startxfce4.
>>  
>> I also have policykit and consolekit installed. First thing I
>> checked, sorry for not mentioning.
>> 
>> > Hmhm, good point, that may be related, I'll have to try. Andrei,
>> > how do you start Xfce? Using a DM or directly through
>> > startx/startxfce4?
>> 
>> I use gdm, but I can reproduce this with both startx and
>> startxfce4. What else can I try?
>
>With gdm it should work fine. Could you try ck-list-sessions and report
>what it give?
>
>Without gdm, it seems that you need libpam-ck-connector. Could you
>install it, log out and log back in, then start xfce (using startxfce4
>or startx /usr/bin/startxfce4). And retry ck-list-sessions as well as
>the shutdown stuff.
>
>I hope it'll fix your problem. If it does, we'll add a recommends on
>xfce4-session for this one.

It did for me, sort of.

After installing libpam-ck-connector, ck-list-sessions actually
recognises the session and prints it.

But with a plain PolicyKit.conf I still couldn't shutdown/reboot my
system. I had to uncomment the content of the posted PolicyKit.conf to
get it working. After that, polkit-auth listed the shutdown and reboot
actions and shutting down the system from Xfce actually worked.

Why did the *kit guys make things so complicated?

The remaining questions are:
- Shouldn't it work a bit more out of the box, also for users without
any fancy display manager?
- Is it worth forwarding this bug to the consolekit/policykit packages
to get some more input?


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090428/399c344f/attachment.pgp>


More information about the Pkg-xfce-devel mailing list