Date: Mon, 2 Jan 2017 12:41:35 +0100 From: Tijl Coosemans <tijl@FreeBSD.org> To: David Christensen <dpchrist@holgerdanske.com> Cc: 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: <20170102124135.547c0aa5@kalimero.tijl.coosemans.org> In-Reply-To: <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com> References: <e721fc89-46b0-ea8c-9ed3-ad6c0df58c29@holgerdanske.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Dec 2016 20:02:52 -0800 David Christensen <dpchrist@holgerdanske.com> wrote: > 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? It is explained when you install xfce4-session. You show this message again with "pkg info -D xfce4-session".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170102124135.547c0aa5>