You need to undo patch 01-dbus_policy.patch which GSB applies to /etc/dbus-1/share/ConsoleKit.conf. By default ConsoleKit will allow you to shutdown from the desktop but GSB policy appears to be that you should only do so by going back to the display manager (gdm). As I say, to change this just unapply the patch.
> You need to undo patch 01-dbus_policy.patch which GSB applies > to /etc/dbus-1/share/ConsoleKit.conf. By default ConsoleKit will > allow you to shutdown from the desktop but GSB policy appears to be > that you should only do so by going back to the display manager (gdm). > As I say, to change this just unapply the patch.
By the way, on a different but related point, I notice on the thread to which you refer that people have been fiddling with hal policy files in /usr/share/PolicyKit/policy. That is pointless, because hal does not use them unless compiled against PolicyKit - instead access to hal services via the system bus is only determined by the dbus rules. As some of these policy files come with GSB possibly the GSB developers intend to recompile hal against PolicyKit as a replacement package for the one which comes with Slackware in due course.
Likewise the hal configuration for mountable devices in /etc/PolicyKit/PolicyKit.conf which comes with GSB won't do anything at present (but it doesn't need to as the dbus system rule is fine).
The gnome policy files in /usr/share/PolicyKit/policy (and any entries for them you add to /etc/PolicyKit/PolicyKit.conf) will however be used by gnome, such as for network manager.
I think PolicyKit is a pain in the a**e, so although it is needed if you want gnome-2.24 to work in an acceptable way, I personally would not compile PolicyKit into hal (which is not required by gnome)
>> You need to undo patch 01-dbus_policy.patch which GSB applies >> to /etc/dbus-1/share/ConsoleKit.conf. By default ConsoleKit will >> allow you to shutdown from the desktop but GSB policy appears to be >> that you should only do so by going back to the display manager (gdm). >> As I say, to change this just unapply the patch.
> By the way, on a different but related point, I notice on the thread to > which you refer that people have been fiddling with hal policy files > in /usr/share/PolicyKit/policy. That is pointless, because hal does > not use them unless compiled against PolicyKit - instead access to hal > services via the system bus is only determined by the dbus rules. As > some of these policy files come with GSB possibly the GSB developers > intend to recompile hal against PolicyKit as a replacement package for > the one which comes with Slackware in due course.
> Likewise the hal configuration for mountable devices in > /etc/PolicyKit/PolicyKit.conf which comes with GSB won't do anything > at present (but it doesn't need to as the dbus system rule is fine).
> The gnome policy files in /usr/share/PolicyKit/policy (and any > entries for them you add to /etc/PolicyKit/PolicyKit.conf) will however > be used by gnome, such as for network manager.
> I think PolicyKit is a pain in the a**e, so although it is needed if > you want gnome-2.24 to work in an acceptable way, I personally would not > compile PolicyKit into hal (which is not required by gnome)
> Chris
Hello! It's a little late to jump in on this now, but I suppose better late than never.
At the moment, we are not considering recompiling HAL against policykit, and aim to replace as few packages as possible in order to prevent any breakages or introducing any bugs. We include HAL policies in the policykit because some apps assume that when they find polkit, they will have a polkit-enabled hal, and then complain when they can't find its policies. Though they are included, these hal policies are largely ignored; but some apps still try to look for them.
PolicyKit/Consolekit packages have got a major revamp for gsb 2.26, and they look like they are working quite well now (even logging off from the menu! ;) I just didn't have enough time to put towards 2.24, and franky the upstream software was partially broken and it was taking lots of effort to sort it all out. With 2.26, it looks like things have stabilised a bit.
Also, I just wanted to thank those in the discussion; it always helps to have others' comments on this stuff. Policykit is an unforunate requirement for a lot of new gnome software, so including is slowly become an absolute necessity. gsb will try to stay as close as possible to Slackware's ethos of simplicity, but sometimes the rest of the world just won't follow along. :)