Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 17:07:31 +0000
From:      James Griffin <jmzgriffin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: xfce4.10, GUI Reboot/Suspend
Message-ID:  <52DFFAD3.4060404@gmail.com>
In-Reply-To: <alpine.BSF.2.00.1401220848200.66837@wonkity.com>
References:  <52DFBD8F.9070005@gmail.com> <alpine.BSF.2.00.1401220848200.66837@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22/01/2014 15:51, Warren Block wrote:
> 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.

Thanks, it's working now.

Another issue, the last 2 emails i've sent to this mailing list i've had 
replies from spam address with photos attached of women with their tits 
out - what is going on? is anyone else getting this?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DFFAD3.4060404>