Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 19:01:56 +0300
From:      abi <abi@abinet.ru>
To:        Olivier Duchateau <olivierd@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: xfce - confusing rights to shutdown without polkit rules
Message-ID:  <57BC7374.4080106@abinet.ru>
In-Reply-To: <20160823162445.ac3fa3ab4b4c72ecc7f0d46d@freebsd.org>
References:  <ac856428946d40e033ba48d7d8de82f1@abinet.ru> <20160823162445.ac3fa3ab4b4c72ecc7f0d46d@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57BC7374.4080106>