You are not logged in.

#1 2009-03-23 04:00:56

bsdson.tw
Member
From: Taiwan
Registered: 2005-05-06
Posts: 161

[solved] PolicyKit.conf modified, but still can not shutdown/reboot

Sorry it's my fault that there is a typo in the config file.
And checked out by polkit-config-file-validate (or polkit-policy-file-validate)

BR,
bsdson.tw

=======================================================


Hi,

I have modified /etc/PolicyKit/PolicyKit.conf as Wiki and posts in the forums,
but still I get the same error: Unable to perform shutdown/reboot.

Is there any clue/hint about what is wrong?

thx,
bsdson.tw

my PolicyKit.conf

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">

<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">
    <!-- <match user="henry"> -->
        <match action="org.freedesktop.hal.power-management.*">
            <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.*">
            <return result="yes" />
        </match>
        <match action="hal-storage-mount-fixed-extra-options">
            <return result="yes" />
        </match>
        <match action="hal-storage-mount-removable-extra-options">
            <return result="yes" />
        </match>
        <! -- </match> -->
</config>

and I also tried to use "ck-launch-session" to start "startxfce4".

and I am in following groups:

[1004 ~:henry 12:08]$ grep henry /etc/group
network:x:90:henry
video:x:91:henry
audio::92:henry
optical::93:hal,henry
floppy:x:94:hal,henry
storage:x:95:hal,henry
scanner:x:96:hal,henry
camera:x:97:henry
power:x:98:hal,henry
users::100:henry
[1005 ~:henry 12:08]$

Last edited by bsdson.tw (2009-03-23 07:46:01)

Offline

Board footer

Powered by FluxBB