From owner-freebsd-questions@freebsd.org Mon Jan 2 11:41:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B614C9BEF8 for ; Mon, 2 Jan 2017 11:41:48 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay106.isp.belgacom.be (mailrelay106.isp.belgacom.be [195.238.20.133]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B64B1A89 for ; Mon, 2 Jan 2017 11:41:47 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DoCgApPGpY//s+sVteGwEBAQMBAQEJA?= =?us-ascii?q?QEBgzcBAQEBAR9AEA+BDI5Jk1EmAZJlhBcshXYCgV5DEQECAQEBAQEBAWIohGk?= =?us-ascii?q?BBScTHCMQCw4KCSUPKh4GE4h0CrEAOoo4AQEBAQEBAQMBAQEBAQEdBYsmiicFm?= =?us-ascii?q?n2RMXSPbkiNZoQPNSKBKoRFgUc9NAEBiRcBAQE?= X-IPAS-Result: =?us-ascii?q?A2DoCgApPGpY//s+sVteGwEBAQMBAQEJAQEBgzcBAQEBAR9?= =?us-ascii?q?AEA+BDI5Jk1EmAZJlhBcshXYCgV5DEQECAQEBAQEBAWIohGkBBScTHCMQCw4KC?= =?us-ascii?q?SUPKh4GE4h0CrEAOoo4AQEBAQEBAQMBAQEBAQEdBYsmiicFmn2RMXSPbkiNZoQ?= =?us-ascii?q?PNSKBKoRFgUc9NAEBiRcBAQE?= Received: from 251.62-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.62.251]) by relay.skynet.be with ESMTP; 02 Jan 2017 12:41:37 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id v02BfZFT005442; Mon, 2 Jan 2017 12:41:36 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Mon, 2 Jan 2017 12:41:35 +0100 From: Tijl Coosemans To: David Christensen 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: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2017 11:41:48 -0000 On Mon, 26 Dec 2016 20:02:52 -0800 David Christensen 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".