From owner-freebsd-ports@freebsd.org Tue Aug 23 16:01:59 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F00A9BC2453 for ; Tue, 23 Aug 2016 16:01:59 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from mail.abinet.ru (mail.abinet.ru [136.243.72.227]) by mx1.freebsd.org (Postfix) with ESMTP id B635C1537; Tue, 23 Aug 2016 16:01:59 +0000 (UTC) (envelope-from abi@abinet.ru) Received: from [10.0.0.1] (unknown [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.abinet.ru (Postfix) with ESMTPSA id 2D60B24FAB; Tue, 23 Aug 2016 16:01:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abinet.ru; s=dkim; t=1471968117; bh=dmfBaRgenaOWYmGdsELqH9zVLwxb+Xh6hgololm0GhE=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=SHd/NOYUN2xgnTVCRh/Lqk3v5qhJcsMKTlWX2QK8+8PVgbZr5+Bh/BVYSE7TS5ySq v61BTTMk0BIEJoEIHJGIQJuOUX5uz5CWK0WkVXRXa827hwkwbqJL0aQapRlFSjlWxY dm3F3u5yyfq7lV1qzYEmEJR67VFVbgSuYRpXb6ms= Message-ID: <57BC7374.4080106@abinet.ru> Date: Tue, 23 Aug 2016 19:01:56 +0300 From: abi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:) Gecko/20160112 FossaMail/25.2.0 MIME-Version: 1.0 To: Olivier Duchateau CC: freebsd-ports@freebsd.org Subject: Re: xfce - confusing rights to shutdown without polkit rules References: <20160823162445.ac3fa3ab4b4c72ecc7f0d46d@freebsd.org> In-Reply-To: <20160823162445.ac3fa3ab4b4c72ecc7f0d46d@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 16:02:00 -0000 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" >