Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 08:51:53 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        James Griffin <jmzgriffin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: xfce4.10, GUI Reboot/Suspend
Message-ID:  <alpine.BSF.2.00.1401220848200.66837@wonkity.com>
In-Reply-To: <52DFBD8F.9070005@gmail.com>
References:  <52DFBD8F.9070005@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1401220848200.66837>