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

next in thread | previous in thread | raw e-mail | index | archive | help
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"


-- 
Olivier Duchateau <olivierd@freebsd.org>



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