XFCE Shutdown doesn't work.

I made the changes to /usr/local/etc/PolicyKit/PolicyKit.conf and when I click on Shutdown or on Reboot, they both take me back to XDM. I can not turn off the computer from the menu, only from Terminal and typing shutdown. I do have hald and dbus enabled.
 
Sorry, I have no idea.

I used xfce before but run startx to startx xfce instead of xdm (why not gdm), at least it works for me.
 
Because, again, as I said in my original posting, it is not an XDM issue, it's a Shutdown and Reboot issue. When I click on them from the menu, instead of shutting down the computer, or rebooting it, it closes the session and goes back to XDM.
 
Lengsel said:
Yes, as I said in my original posting, I have hald and dbus enabled.
"Enabled" and "running" are two different things. They won't start unless you manually start them with the rc.d scripts or reboot. Just saying...

Could you post the contents of /usr/local/etc/PolicyKit/PolicyKit.conf?

Is your user a member of the appropriate group (operator)?
 
Code:
<?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">
  <define_admin_auth group="operator" />
        <match action="org.freedesktop.hal.storage.mount-removable">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.mount-fixed">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.eject">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.storage.unmount-others">
                <return result="yes" />
        <match action=\"org.freedesktop.hal.power-management.shutdown\">
                <return result="yes" />
        </match>
        <match action=\"org.freedesktop.hal.power-management.reboot\">
               <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.hibernate">
                <return result="yes" />
        </match>
        <match action="org.freedesktop.hal.power-management.suspend">
                <return result="yes" />
    </match>
</config>
 
Code:
[...]
<match action=\"org.freedesktop.hal.power-management.shutdown\">
[...]
<match action=\"org.freedesktop.hal.power-management.reboot\">
[...]
See those backslashes?

And use code tags please.
 
I changed it so it is

Code:
<match action="org.freedesktop.hal.power-management.shutdown">

<match action="org.freedesktop.hal.power-management.reboot">

Rebooted and it still only goes back to XDM
 
I can't remember where this came from, but I got it working with the following edit to PolicyKit.conf:
Code:
<match action="org.freedesktop.hal.power-management.shutdown">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.power-management.reboot">
        <return result="yes"/>
    </match>
 
Back
Top