From owner-freebsd-questions@freebsd.org Tue Jan 17 08:24:38 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 69968CB3BFA for ; Tue, 17 Jan 2017 08:24:38 +0000 (UTC) (envelope-from sakhmatd@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 502951315 for ; Tue, 17 Jan 2017 08:24:37 +0000 (UTC) (envelope-from sakhmatd@riseup.net) Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 9941D1A2433 for ; Tue, 17 Jan 2017 08:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1484641476; bh=Yo7UePz7UD6rg9u8gzmnLoR4LHUXGFN0nQOT7LEwNeA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=Nksp5Tnnf02U6awFnRImaEBGhlgBK0OedS0AwoG9skCotimLsPh+8uxLYunEnv/tX PrQRrKR5GiJznpYUP6R5MDDV6cFo+cAucXP3IxN/ZBaUDOQFdyvsZVgGx6xdMr0rnZ mQQscLQ1M8gm7ujIgM2YhdS93m5KVMiQqd3b1RGs= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sakhmatd) with ESMTPSA id 2C3491C0061 Date: Tue, 17 Jan 2017 03:24:34 -0500 From: Sergei Akhmatdinov To: freebsd-questions@freebsd.org Subject: Re: Second attempt at FreeBSD-11.0-RELEASE-i386, Xorg, and Xfce graphical desktop Message-ID: <20170117032253.13a3587f@riseup.net> In-Reply-To: <45c5ea44-e0b4-2698-da8e-707c507eb086@holgerdanske.com> References: <18a5de5c-bc3a-c2e8-32c1-ea0a12d446ac@holgerdanske.com> <20170116230336.2cc22d94@riseup.net> <45c5ea44-e0b4-2698-da8e-707c507eb086@holgerdanske.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/ZvoZzt3yNy/VlIFAu2N2TiR"; protocol="application/pgp-signature" 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 08:24:38 -0000 --Sig_/ZvoZzt3yNy/VlIFAu2N2TiR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I apologize for the recent double-post, sent from both email addresses by accident. ---------------------------------------------------------------------------= ---- On Mon, 16 Jan 2017 21:00:31 -0800 David Christensen wrote: > I generated xorg.conf.new per the manual section 5.4.8: >=20 > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html The handbook is slightly out of date. Get rid of any generated Xorg.conf fi= les, startx *should* work out of the box. In fact, in a lot of machines, X -conf= igure is harmful and breaks X while autoconfigure works just fine. If startx doesn't work out of the box, all the tweaks should be done in /usr/local/etc/X11/xorg.conf.d > Can I replace my /usr/local/etc/X11/xorg.conf with the following? >=20 > # /usr/local/etc/X11/xorg.conf.d/dpchrist.conf >=20 > Section "Files" > FontPath "/usr/local/share/fonts/dejavu/" > EndSection >=20 > Section "Module" > Load "freetype" > EndSection Yes, just name your file something like 20-dpchrist.conf. But I reccomend 20-fonts.conf so you know what the file does. > > As far as your qeustions go... > > > > Do you have both hald and dbus running? =20 >=20 > How do I determine if both hald and dbus are running? All of your start-up services should be in your rc.conf. > > Please provide your /etc/rc.conf =20 >=20 > toor@freebsd:/root # cat /etc/rc.conf > clear_tmp_enable=3D"YES" > hostname=3D"freebsd" > ifconfig_em0=3D"DHCP" > # local_unbound requires forwarders to support DNSSEC, and AT&T gateway d= oes > # not: > # local_unbound_enable=3D"YES" > sshd_enable=3D"YES" > ntpd_enable=3D"YES" > powerd_enable=3D"YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev=3D"AUTO" > zfs_enable=3D"YES" Doesn't look like you have hald and/or dbus. Add both. You need dbus for Firefox and a few other programs to work anyway. XFCE uses HAL and DBUS along with PolKit to provide unprivileged shutdown. Add hald_enable=3D"YES" dbus_enable=3D"YES" Then either reboot or run # service hald start # service dbus start > Add the suggested lines: >=20 > toor@freebsd:/etc # vi rc.conf > clear_tmp_enable=3D"YES" > hostname=3D"freebsd" > ifconfig_em0=3D"DHCP" > # local_unbound requires forwarders to support DNSSEC, and AT&T gateway d= oes > # not: > # local_unbound_enable=3D"YES" > sshd_enable=3D"YES" > ntpd_enable=3D"YES" > powerd_enable=3D"YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev=3D"AUTO" > zfs_enable=3D"YES" > dbus_enable=3D"YES" > hald_enable=3D"YES" Well, forgive me or pointing it out, but looks like you didn't follow the previous thread's advice, looking at your current rc.conf > > Are you using ports or packages? A mix of two? (latter very ill advised= ). =20 >=20 > I'm using 'pkg'. The errors you are seeing could be related to the packager's machine, but t= ry enabling HAL and DBUS first and see if they go away. In my experience, GUI/DE-related errors of that nature are harmless. If they don't go away, try using ports to build the packages. Just be sure = you don't mix ports and packages unless you know what you are doing. On a very big tangent, most of the Desktop Environments still have strong t= ies to GNU/Linux distributions. I personally recommend you try Lumina or switch= to a WM-only setup for most optimal tweak-free experience. That's not to say tha= t you can't do it, but... give it a thoght. Just my two cents. :) Cheers, --=20 Sergei Akhmatdinov My GPG public key: gpg --keyserver pgp.mit.edu --recv-keys AD800D99 --Sig_/ZvoZzt3yNy/VlIFAu2N2TiR Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEFByDSlcPK9lAgiNNxKRHP62ADZkFAlh91MIACgkQxKRHP62A DZm+Xw/+NRogju/eef6tNfzJoae8b49LI8IjHyKzAA9y63AKy/RuTyKjx7Nk19a1 9KbLnNumYMVg8sa4E8z2Ztc8DnJ16WN0Sjrs7bxrty3uvFOq6QvAw25R05JCZSJ8 mJkarl3UuHHmcbX0pXn6TjQ1su4CvpsMGmcUIZCu3fmrqvnYnQRWg6miZ+A3GHfR eoYRqSX1z5se+XJiJj3ToECe6/hzqlZyz+azi0xy6qEKEQWgVBGPUyh0dd6ulXoi SkcnEesRE8fIIhPT+IFXGUrEC3Oe5hM4BIQ1Zt+/m/TiTOs7FBPtSw7ybBbniC2/ L65gutvExrQJTWmb+/IhLigmiSST4lEpkCa33gXqwCJmVaAWUfDg4ZHx+L+hMSjR jBARYt7k9xrtTlH1bDvDeKL662rAOILSW+SiqRC692wxNJyrzbBNYmPf/d3Sj6Qq 8D0Yerzly+34o4Sv4kwmS0mwCeOIF7Co/4z783OSg3KqHeZTmKQX52A1OmXaeSxU J55wVVVaqAZrs7auOydIvz2Nn/LEKertcDb5XOXRU+zMHMZyUgdiwX+4CVvTXmXf uwOo25aOMW/47ZRI+jdGk93ylMLI6wnSV8JvxVeJzsGNy4jwPRhN4FEMf2R0Omsf PWizKKKl04plxT4ZuANzblWTAQ8EVc894Dn6rhALBCxo2gaW5ag= =Eh+E -----END PGP SIGNATURE----- --Sig_/ZvoZzt3yNy/VlIFAu2N2TiR--