Xfce 4.6 Beta 2 on FreeBSD

Brian J. Tarricone bjt23 at cornell.edu
Thu Nov 20 20:28:01 CET 2008


We don't support PolicyKit... if it requires some special handling on 
our part, then there's no way to make this work without removing it.

	-brian

Oliver Lehmann wrote:
> Oliver Lehmann wrote:
> 
>> ---> any idea where I can look why HAL contact failed? Maybe some
>>      permission problem?
> 
> my user is "olivleh1" and beside other groups, I'm in the group "wheel".
> my PolicyKit.conf looks like:
> 
> <?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="root">
>         <return result="yes"/>
>     </match>
>     <define_admin_auth group="wheel"/>
> </config>
> 
> 
> when now calling dbus-send:
> 
> olivleh1 at kartoffel olivleh1> dbus-send --system --dest=org.freedesktop.Hal --type=method_call --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot
> Error org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.reboot no <-- (action, result)
> Exit 1
> olivleh1 at kartoffel olivleh1> 
> 
> adding
> 
>     <match user="olivleh1">
>         <return result="yes"/>
>     </match>
> 
> makes me able to reboot the system using the above dbus-send command.
> 
> Is it the desired behaviour of xfce's quit dialog, that before I can
> use it, I've to edit PolicyKit.conf? I wonder why define_admin_auth
> is not enough. I understand that this might be a dbus/polkit/hal
> problem but I can see the masses of users contacting my why their
> FreeBSD xfce installation will not shutdown/reboot when they click
> the buttons....
> 



More information about the Xfce4-dev mailing list