Date: Tue, 27 Dec 2016 19:51:36 -0800 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 -- How to enable GUI shutdown and restart? Message-ID: <622bd615-48b9-031a-65d8-3c7daf663cb9@holgerdanske.com> In-Reply-To: <2c0d9213-1adc-48b7-bdf6-a6b4a577d726@bananmonarki.se> References: <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com> <e0b1bd9a-dbe0-31cb-ee70-0cfe87da694b@bananmonarki.se> <2c0d9213-1adc-48b7-bdf6-a6b4a577d726@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/16 18:22, Bernt Hansson wrote: > To be able to shutdown or reboot your system, you'll have to add a > .pkla file in /usr/local/etc/polkit-1/localauthority/50-local.d > directory. ... Source: https://forums.freebsd.org/threads/45643/ Thanks for the reply. I believe I saw that URL when STFW, but passed it by. I've created a file: 2016-12-27 19:43:22 toor@t7400 ~ # cat /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla [Restart] Identity=unix-group:dpchrist Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:dpchrist Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes And I've added my user name to the operator group: 2016-12-27 19:44:25 toor@t7400 ~ # grep operator /etc/group operator:*:5:root,dpchrist I then shut down, booted, and logged in, but the Shut Down and Restart buttons on the Xfce menu -> Log out dialog are greyed out. Any suggestions for getting shutdown and restart working in Xfce? How about XDM? David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?622bd615-48b9-031a-65d8-3c7daf663cb9>