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

Enrico Tröger enrico.troeger at uvena.de
Tue Apr 28 06:02:00 UTC 2009

On Mon, 27 Apr 2009 17:19:13 -0400, Pascal 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.

yeah, happens here as well. And I also don't use any display manager,
just logging in into the console and then start Xfce by startxfce4.

So this might be related?

I also tried playing around with /etc/PolicyKit/PolicyKit.conf but it
didn't change anything. The current version is attached just in case
someone is interested. (my user is member of the 'powerdev' group)

To get some debug info, I stopped the hal daemon and restarted it with:
/usr/sbin/hald --verbose=yes --use-syslog

The relevant messages when trying to shutdown the system are attached
in the file hal.log. It seems the following message is quite

[W] ci-tracker.c:366: Error doing GetSessionForUnixProcess on
ConsoleKit: org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to
lookup session information for process '2465'

Process 2465 was xfce4-session.

The only related messages in ~/.xsession-errors were:
** Message: xfsm-shutdown-helper.c:268: Using HAL to shutdown/reboot
the computer.
** (xfce4-session:2465): WARNING **: xfsm-shutdown-helper.c:234: Failed
to contact HAL: org.freedesktop.hal.power-management.shutdown no <--
(action, result)

I'm on Debian Testing with:

ii  consolekit                       0.3.0-2
ii  hal                                 0.5.12~git20090406.46dc48-2
ii  hal-info                           20090309-1
ii  libhal-dev                        0.5.12~git20090406.46dc48-2
ii  libhal-storage-dev            0.5.12~git20090406.46dc48-2
ii  libhal-storage1                0.5.12~git20090406.46dc48-2
ii  libhal1                            0.5.12~git20090406.46dc48-2
ii  libpolkit-dbus2                 0.9-3
ii  libpolkit-grant2                0.9-3
ii  libpolkit2                         0.9-3
ii  policykit                          0.9-3


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PolicyKit.conf
Type: application/octet-stream
Size: 1110 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090428/d800f766/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal.log
Type: application/octet-stream
Size: 968 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090428/d800f766/attachment-0001.obj>
-------------- 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/d800f766/attachment.pgp>

More information about the Pkg-xfce-devel mailing list