upgrade to devel/dbus breaks xfce4

Matthieu Volat mazhe at alkumuna.eu
Wed Nov 30 20:52:10 UTC 2016


On Wed, 30 Nov 2016 15:32:49 -0500
Aryeh Friedman <aryeh.friedman at gmail.com> wrote:

> On Wed, Nov 30, 2016 at 3:28 PM, Kevin Oberman <rkoberman at gmail.com> wrote:
> 
> > 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.
> >
> 
> I am using what ever the defaults are but I suspect since I had to use
> onestart it was not enabled (before the update this was not needed).
> 

I had a very hard time starting xfce those days with a minimal xinitrc
(could not get the shutdown permissions to apply and such). I ended
copying /usr/local/etc/xdg/xfce4/xinitrc which seems to take care of everything.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161130/dda2a901/attachment.sig>


More information about the freebsd-ports mailing list