upgrade to devel/dbus breaks xfce4

Kevin Oberman rkoberman at gmail.com
Wed Nov 30 20:28:38 UTC 2016


On Wed, Nov 30, 2016 at 11:42 AM, Aryeh Friedman <aryeh.friedman at gmail.com>
wrote:

> On Wed, Nov 30, 2016 at 9:11 AM, Raphael Kubo da Costa <rakuco at freebsd.org
> >
> wrote:
>
> > Aryeh Friedman <aryeh.friedman at gmail.com> writes:
> >
> > > After upgrading deval/dbus to dbus-1.10.12 xfce4 fails to start as a
> > > non-root user due to being unable to open/write to /etc/machine-id. I
> > > made a tempurary fix by touching /etc/machine-id and chmod'ing it to
> > > 777.
> >
> > If the /etc/machine-id message you're getting looks like
> >
> >     D-Bus library appears to be incorrectly set up; failed to read
> >     machine uuid: Failed to open "/etc/machine-id": No such file or
> >     directory
> >
> > it may be misleading as /etc/machine-id is a fallback if other files
> > were not found before (see bug 213540, for example).
> >
> > Is dbus running when you try to launch XFCE?
> >
>
> That is the message I got... it was immediately after boot and dbus was not
> running (it asked for a onestart when I attempted to manually start it).
> My .xinitrc is as follows:
>
> xfce4-session
>
>
>
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>

To ask a dumb question, do you have 'dbus_enable="YES"' in /etc/rc.conf? It
looks like the dbus daemon is not running and, when it tries to run from
xfce, it lacks the privs needed. Perhaps the protections were adjusted in
the new version of dbus.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-x11 mailing list