- First, check if sysutils/polkit and sysutils/consolekit installed. - In console run this command: pkaction (with your own user, you should get something like that): % pkaction org.freedesktop.consolekit.system.restart org.freedesktop.consolekit.system.restart-multiple-users org.freedesktop.consolekit.system.stop org.freedesktop.consolekit.system.stop-multiple-users org.freedesktop.policykit.exec org.freedesktop.policykit.lockdown org.freedesktop.upower.hibernate org.freedesktop.upower.qos.cancel-request org.freedesktop.upower.qos.request-latency org.freedesktop.upower.qos.request-latency-persistent org.freedesktop.upower.qos.set-minimum-latency org.freedesktop.upower.suspend org.gnome.gconf.defaults.set-mandatory org.gnome.gconf.defaults.set-system
Then, in root create file called (for exemple) 'org.freedesktop.consolekit.pkla' in /usr/local/etc/polkit-1/localauthority/50-local.d/ directory: % cat /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla [Restart] Identity=unix-group:users Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:users Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes You should replace 'users' by your main group (mine called users), or by Identity=unix-user: your_user Links: http://hal.freedesktop.org/docs/polkit/ https://wiki.archlinux.org/index.php/Xfce#Reboot.2FShutdown 2011/3/17 timp <tim...@gmail.com>: > Oliver, can you provide information or give link about correct polkit > configuring? > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/xfce-4-8-upgrade-errors-tp3863482p3878277.html > Sent from the freebsd-ports mailing list archive at Nabble.com. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > -- olivier _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"