Date: Tue, 11 Dec 2012 19:27:52 +0100 From: "Dr. ZaITo" <dr.zaito@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Can't set xfce4 logout dialog buttons Message-ID: <50C77B28.9020803@gmail.com> In-Reply-To: <50C652B7.6070002@gmail.com> References: <50C652B7.6070002@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/12/2012 22:23, 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.. > > Do you have a better idea? Hi David, I am using FreeBSD 8.2 Release & XFCE4. When I had this problem I edited /usr/local/etc/PolicyKit/PolicyKit.conf, adding the lines: <match action="org.freedesktop.hal.power-management.shutdown"> <return result="yes"/> </match> <match action="org.freedesktop.hal.power-management.reboot"> <return result="yes"/> </match> in the section version: <config version="0.1"> You might serve useful. Greetings! -- -------------------------------------- Dr_ZaITo @: dr.zaito@gmail.com FreeBSD RELEASE --------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C77B28.9020803>