You are not logged in.
Hallo,
I'm a new Xfce4 user, and when I reboot as non-root, I get the message
org.freedesktop.hal.power-management.reboot returns no
When asking google, one solution would be to change in /usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy
<action id="org.freedesktop.hal.power-management.reboot">
<description>Reboot the system</description>
<message>System policy prevents rebooting the system</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
to
<action id="org.freedesktop.hal.power-management.reboot">
<description>Reboot the system</description>
<message>System policy prevents rebooting the system</message>
<defaults>
<allow_any>yes</allow_any>
</defaults>
</action>
But this is only a workaround - what is the meening of "active" and "inactive" in this context, and how can I get "active" to be able to reboot?
Thx, Charly
Offline
In this case, "active" and "inactive" refer to the status of the current ConsoleKit session.
Do 'ck-list-sessions' command from a console to see the sessions, you should see a "Active = TRUE"
If however you see no output, then your Xfce session isn't registered with ConsoleKit. This usually happens to people that are using 'startx' to load X (using GDM/KDM should automatically register the ConsoleKit session). Try editing your .xinitrc and change it from 'exec startxfce4' to 'exec ck-launch-session startxfce4'
Offline
Thanks jleach, your solution works very well with Fluxbox & Slim:
exec ck-launch-session startfluxbox
Gnome-power manager and Network-manager start OK in fluxbox session.
"Yo creo que los muertos son tiernos. ¿Nos besamos?"
Offline