Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 09:27:34 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can't set xfce4 logout dialog buttons
Message-ID:  <CAO%2BPfDfS%2BTiouZuch4kkM5=11QvV5GDd94Ppw15wALj=oB7xOw@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1212111954520.8433@wonkity.com>
References:  <50C652B7.6070002@gmail.com> <alpine.BSF.2.00.1212111954520.8433@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The weird thing is that my laptop has the buttons working, without running
startxfce4 with option neither with PolicyKit.conf options but I will try
what you said, thanks.


2012/12/12 Warren Block <wblock@wonkity.com>

> On Mon, 10 Dec 2012, David Demelier wrote:
>
>  I added a file for handling shutdown / reboot for Xfce4, the content is
>> located in /usr/local/etc/polkit-1/**localauthority/50-local.d/51-**
>> sys-mgmt.pkla.
>>
>> [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
>>
>> But clicking on the on the logout button, will open the xfce4 dialog and
>> only shows "Logout" all others buttons are grey'ed. I have exactly the same
>> setup on my laptop but with a [Suspend] added, and on my laptop the dialog
>> show Logout and all buttons authorized.
>>
>> On my both machine my user is in the operator group, so I don't know
>> where I missed something for this machine..
>>
>
> startxfce4 must be called with the --with-ck-launch option.  Then it works.
>



-- 
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDfS%2BTiouZuch4kkM5=11QvV5GDd94Ppw15wALj=oB7xOw>