xfce4.10, GUI Reboot/Suspend

Warren Block wblock at wonkity.com
Wed Jan 22 15:51:55 UTC 2014


On Wed, 22 Jan 2014, James Griffin wrote:

> Hi
>
> I've read a number of older posts found on the internet about using the xfce4 
> menus to reboot and shutdown the system. Amounts to using options in xinitrc 
> and a '.pkla' file in /usr/local/etc/polkit-1/localauthority.

I don't know of any required changes to xinitrc or .xinitrc.  Create the 
file org.freedesktop.consolekit.pkla in 
/usr/local/etc/polkit-1/localauthority/50-local.d/ with these contents:

[Restart]
Identity=unix-group:operator
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Shutdown]
Identity=unix-group:operator
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=yes
ResultActive=yes

To enable the logout dialog, right-click logout icon on panel, 
Properties, First Button: Log Out Dialog.


More information about the freebsd-questions mailing list