From owner-freebsd-questions@FreeBSD.ORG Wed Jan 22 15:51:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27A01387 for ; Wed, 22 Jan 2014 15:51:55 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B58B7162A for ; Wed, 22 Jan 2014 15:51:54 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id s0MFprKu067521; Wed, 22 Jan 2014 08:51:53 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id s0MFprfb067518; Wed, 22 Jan 2014 08:51:53 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 22 Jan 2014 08:51:53 -0700 (MST) From: Warren Block To: James Griffin Subject: Re: xfce4.10, GUI Reboot/Suspend In-Reply-To: <52DFBD8F.9070005@gmail.com> Message-ID: References: <52DFBD8F.9070005@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.4.3 (wonkity.com [127.0.0.1]); Wed, 22 Jan 2014 08:51:53 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 15:51:55 -0000 On Wed, 22 Jan 2014, James Griffin wrote: > Hi > > I've read a number of older posts found on the internet about using the xfce4 > menus to reboot and shutdown the system. Amounts to using options in xinitrc > and a '.pkla' file in /usr/local/etc/polkit-1/localauthority. I don't know of any required changes to xinitrc or .xinitrc. Create the file org.freedesktop.consolekit.pkla in /usr/local/etc/polkit-1/localauthority/50-local.d/ with these contents: [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 To enable the logout dialog, right-click logout icon on panel, Properties, First Button: Log Out Dialog.