Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 03:24:34 -0500
From:      Sergei Akhmatdinov <sakhmatd@riseup.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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
<dpchrist@holgerdanske.com> wrote:
> 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

The handbook is slightly out of date. Get rid of any generated Xorg.conf files,
startx *should* work out of the box. In fact, in a lot of machines, X -configure
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?
> 
> # /usr/local/etc/X11/xorg.conf.d/dpchrist.conf
> 
> Section "Files"
> 	FontPath     "/usr/local/share/fonts/dejavu/"
> EndSection
> 
> 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?  
> 
> 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  
> 
> 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"

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="YES"
dbus_enable="YES"

Then either reboot or run
# service hald start
# service dbus start

> 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"

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).  
> 
> I'm using 'pkg'.

The errors you are seeing could be related to the packager's machine, but try
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 ties
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 that you
can't do it, but... give it a thoght. Just my two cents. :)

Cheers,
-- 
Sergei Akhmatdinov

My GPG public key:
gpg --keyserver pgp.mit.edu --recv-keys AD800D99

[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170117032253.13a3587f>