Date: Wed, 28 Dec 2016 23:46:41 -0500 (EST) From: doug <doug@fledge.watson.org> To: Bernt Hansson <bah@bananmonarki.se> Cc: David Christensen <dpchrist@holgerdanske.com>, 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: <alpine.BSF.2.20.1612282329550.77243@fledge.watson.org> In-Reply-To: <09d1385a-6356-b732-ddd4-ebd678c25419@bananmonarki.se> References: <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com> <e0b1bd9a-dbe0-31cb-ee70-0cfe87da694b@bananmonarki.se> <2c0d9213-1adc-48b7-bdf6-a6b4a577d726@bananmonarki.se> <622bd615-48b9-031a-65d8-3c7daf663cb9@holgerdanske.com> <09d1385a-6356-b732-ddd4-ebd678c25419@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Dec 2016, Bernt Hansson wrote: > > > On 2016-12-28 04:51, David Christensen wrote: >> 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/ >> >> Any suggestions for getting shutdown and restart working in Xfce? > > You do have dbus_enable="YES" in /etc/rc.conf? Not sure if you need > hald_enable="YES" too. > >> How about XDM? > No idea about that. simply another way to handle logins. Been using XDM since FreeBSD 8 its only gotten easier. I have .xsession as: #!/bin/sh /usr/bin/ssh-agent /usr/local/bin/startxfce4 This allows easy access via ssh to other servers. The login screen looks better if you add 'xsetroot -solid grey' to /usr/local/lib/X11/xdm/Xsetup_0. All this can also be done with .xinitrc [but not by me :) ] I am running FBSD 10.3, xorg-7.7_2, xdm-1.1.11_6, xfce-4.12_1 with no xorg.conf file. This does nothing for activating restart or shutdown.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1612282329550.77243>