From owner-freebsd-xfce@FreeBSD.ORG Mon Oct 15 00:14:36 2012 Return-Path: Delivered-To: xfce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59EE5B7F for ; Mon, 15 Oct 2012 00:14:36 +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 15CF98FC0C for ; Mon, 15 Oct 2012 00:14:35 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9F0EZ1Z007910 for ; Sun, 14 Oct 2012 18:14:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9F0EZTQ007907 for ; Sun, 14 Oct 2012 18:14:35 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 14 Oct 2012 18:14:35 -0600 (MDT) From: Warren Block To: xfce@freebsd.org Subject: restart and shutdown permissions Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 14 Oct 2012 18:14:35 -0600 (MDT) X-BeenThere: freebsd-xfce@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: XFCE for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 00:14:36 -0000 Despite having my user as a member of wheel and operator groups, and having this in /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.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 The user still can't restart or shut down with the xfce buttons. The X session ends, but that's it. It's the same as logout. >From a terminal window, the user can run shutdown -r now or shutdown -p now and it works. Those buttons were not enabled until I installed sudo, but it may be some other permissions thing. I didn't think sudo was required for this. What is missing?