xfce - confusing rights to shutdown without polkit rules

abi abi at abinet.ru
Tue Aug 23 16:02:00 UTC 2016


I see, memory played a trick with me. I was sure that --with-ck-launch 
is complimentary part of rules. Later, I realized ck is activated by dbus.

To my excuse:

1. polkit sets wrong permissons on /usr/local/etc/polkit-1 folder and 
has no rights to read directory
2. example rules have logic error in braces.
3. slim (if used) must be compiled without ck support

Baah, I lost 2 days :)

Thank you, now I cooked xfce properly!

On 23.08.2016 19:24, Olivier Duchateau wrote:
> On Tue, 23 Aug 2016 16:44:32 +0300
> abi at abinet.ru wrote:
>
>>   
>>
>> Hello,
>>
>> I have something mysterious on my installation. I reinstalled, but I
>> still have the issue.
>>
>> xfce4-session states that I must write ck rules to get rights for reboot
>> and shutdown. However, I have all rights (reboot, shutdown, suspend
>> hibernate) without any rules at all. All I need is start session with
>> --with-ck-launch. My user has no additional predefined groups and after
>> reinstall I have xfce only.
>>
>> Maybe I decade :) ago, I remember that ck rules was mandatory. What I'm
>> missing ? I feel frustrated - it's the first time FreeBSD game me more
>> rights, not less =/
> Hi,
>
> You need to write your own polkit rules, for shutdown, reboot, suspend and so on.
>
> See pkg info -D xfce4-session
>
> Stop to launch your session with option --with-ck-launch (usually it's wrong) x11-wm/xfce4-session provides xinitrc script, uses it!
>
> For more details, see this thread on the forum [1] and my Xfce's FAQ [2].
>
> Regards,
>
> [1] https://forums.freebsd.org/threads/53490/
> [2] https://people.freebsd.org/~olivierd/xfce-faq.html
>
>>    
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>



More information about the freebsd-ports mailing list