You were never here, you didn't see anything..

XFCE Shutdown with polkit


I seem to hit all kinds of issues that I should not with this install of Gentoo on my netbook. First off slim was not allowing consolekit and policykit to work correctly so I have been logging in and starting X manually. I decided to resolve this by trying lxdm tonight and it seems to work rather well. Some theme tweaks and it even suits my visual styling. Problem is it was not letting me shut down the PC.

A lot of digging turned up this thread which finally solved the issue:

http://askubuntu.com/questions/1190/how-can-i-make-shutdown-not-require-admin-password

It boiled down to editing “/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy” and changing a few lines as noted in the post. Rather than repeat it all, the short of it was to edit the lines containing:

<allow_active>auth_admin_keep</allow_active>

To read:

<allow_active>yes</allow_active>

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This blog is kept spam free by WP-SpamFree.

Most who fail…

Most who fail have yet to really try!