From owner-freebsd-questions@freebsd.org Tue Jan 17 05:00:41 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 7B4B0CB1D7B for ; Tue, 17 Jan 2017 05:00:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.he.net", Issuer "GeoTrust SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BEE3189A for ; Tue, 17 Jan 2017 05:00:41 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (AES128-SHA:SSLv3:Kx=RSA:Au=RSA:Enc=AES(128):Mac=SHA1) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 16 Jan 2017 21:00:31 -0800 Subject: Re: Second attempt at FreeBSD-11.0-RELEASE-i386, Xorg, and Xfce graphical desktop To: freebsd-questions@freebsd.org References: <18a5de5c-bc3a-c2e8-32c1-ea0a12d446ac@holgerdanske.com> <20170116230336.2cc22d94@riseup.net> From: David Christensen Message-ID: <45c5ea44-e0b4-2698-da8e-707c507eb086@holgerdanske.com> Date: Mon, 16 Jan 2017 21:00:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170116230336.2cc22d94@riseup.net> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Tue, 17 Jan 2017 05:00:41 -0000 On 01/16/17 20:05, Sergei Akhmatdinov wrote: Thanks for the reply. > On Mon, 16 Jan 2017 19:16:59 -0800 > David Christensen wrote: >> [snip] > > First of all, using your own Xorg.conf is very deprecated, I suggest you > allow X to configure itself, i.e., remove /etc/X11/xorg.conf I have no /etc/X11/xorg.conf: dpchrist@freebsd:/usr/home/dpchrist $ l /etc/X11/ ./ ../ > and/or /usr/local/etc/X11/xorg.conf files and simply run startx. I generated xorg.conf.new per the manual section 5.4.8: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html # Xorg -configure I then moved xorg.conf.new to /usr/local/etc/X11, copied it to xorg.conf, and added the settings suggested when installing xorg: dpchrist@freebsd:/usr/home/dpchrist $ diff /usr/local/etc/X11/xorg.conf.new /usr/local/etc/X11/xorg.conf 15a16 > FontPath "/usr/local/share/fonts/dejavu/" 19a21 > Load "freetype" > For fonts, use /usr/local/etc/X11/xorg.conf.d, the man file explains how to > define your own sections for X to use. Freetype should be loaded by default > when X configures itself. > Alternatively, just copy/move all TTF and/or OTF fontfiles to their respective > folders in /usr/local/share/fonts/ (wish port packagers did that by default). Can I replace my /usr/local/etc/X11/xorg.conf with the following? # /usr/local/etc/X11/xorg.conf.d/dpchrist.conf Section "Files" FontPath "/usr/local/share/fonts/dejavu/" EndSection Section "Module" Load "freetype" EndSection > As far as your qeustions go... > > Do you have both hald and dbus running? How do I determine if both hald and dbus are running? > Please provide your /etc/rc.conf toor@freebsd:/root # cat /etc/rc.conf clear_tmp_enable="YES" hostname="freebsd" ifconfig_em0="DHCP" # local_unbound requires forwarders to support DNSSEC, and AT&T gateway does # not: # local_unbound_enable="YES" sshd_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" zfs_enable="YES" Thanks for kicking some brain cells -- from my previous thread: On 12/31/16 12:48, Polytropon wrote: > You need to run both hald and dbus. And you need to refer to > that documentation here, as the manpages probably aren't up > to date (or Linux-specific): > > https://www.freebsd.org/gnome/docs/halfaq.html Add the suggested lines: toor@freebsd:/etc # vi rc.conf clear_tmp_enable="YES" hostname="freebsd" ifconfig_em0="DHCP" # local_unbound requires forwarders to support DNSSEC, and AT&T gateway does # not: # local_unbound_enable="YES" sshd_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" zfs_enable="YES" dbus_enable="YES" hald_enable="YES" Reboot and try Xfce: 1. Application Menu -> Log Out -> Restart works. 2. Application Menu -> Log Out -> Shut Down works. > Are you using ports or packages? A mix of two? (latter very ill advised). I'm using 'pkg'. David