FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 -- How to enable GUI shutdown and restart?

doug doug at fledge.watson.org
Thu Dec 29 04:46:45 UTC 2016



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.



More information about the freebsd-questions mailing list