Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2016 20:02:52 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD 11.0 i386, XDM 1.1.11_6, XFCE 4.12_1 -- How to enable GUI shutdown and restart?
Message-ID:  <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com>

next in thread | raw e-mail | index | archive | help
freebsd-questions:

I have a machine running FreeBSD 11.0 i386, XDM, and XFCE:

2016-12-26 19:48:26 dpchrist@t7400 ~
$ freebsd-version
11.0-RELEASE-p1

2016-12-26 19:48:42 dpchrist@t7400 ~
$ uname -a
FreeBSD t7400 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu 
Sep 29 03:40:55 UTC 2016 
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

2016-12-26 19:48:44 dpchrist@t7400 ~
$ pkg info xdm | grep -i version
Version        : 1.1.11_6

2016-12-26 19:48:51 dpchrist@t7400 ~
$ pkg info xfce | grep -i version
Version        : 4.12_1


I installed Xorg per the handbook:

 
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html


However, I was unable to figure out how to exit TWM -- left-clicking on 
desktop and choosing Exit caused the windows to go blank and mouse 
clicks to no longer do anything.  I had to ssh in from another machine 
and kill the xinit process.


I then installed XFCE per the Handbook:

     https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

2016-12-26 19:48:55 dpchrist@t7400 ~
$ cat .xinitrc
exec /usr/local/bin/startxfce4 --with-ck-launch

2016-12-26 19:53:46 dpchrist@t7400 ~
$ cat .xsession
#!/bin/sh
exec /usr/local/bin/startxfce4 --with-ck-launch


I was able to start Xfce via 'startx'.  Choosing Mouse -> Log out 
brought me back to the shell.


I then installed XDM per the Handbook:

     https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html


After rebooting, XDM comes up, I can log in, XFCE works, and log out 
returns me to XDM.


How do I enable GUI Shutdown and Restart capabilities in both XDM and XFCE?


TIA,

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e721fc89-46b0-ea8c-9ed3-ad6c0df58c29>