From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 02:56:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0302EF1B for ; Wed, 12 Dec 2012 02:56:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id AF4318FC13 for ; Wed, 12 Dec 2012 02:56:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qBC2uGwi008597; Tue, 11 Dec 2012 19:56:16 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qBC2uGOY008594; Tue, 11 Dec 2012 19:56:16 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 11 Dec 2012 19:56:16 -0700 (MST) From: Warren Block To: David Demelier Subject: Re: Can't set xfce4 logout dialog buttons In-Reply-To: <50C652B7.6070002@gmail.com> Message-ID: References: <50C652B7.6070002@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 11 Dec 2012 19:56:16 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 02:56:17 -0000 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.