On Wed, 30 Nov 2016 15:32:49 -0500 Aryeh Friedman <aryeh.fried...@gmail.com> wrote:
> On Wed, Nov 30, 2016 at 3:28 PM, Kevin Oberman <rkober...@gmail.com> wrote: > > > On Wed, Nov 30, 2016 at 11:42 AM, Aryeh Friedman <aryeh.fried...@gmail.com > > > wrote: > > > >> On Wed, Nov 30, 2016 at 9:11 AM, Raphael Kubo da Costa < > >> rak...@freebsd.org> > >> wrote: > >> > >> > Aryeh Friedman <aryeh.fried...@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.
pgpQp7uLIwV7g.pgp
Description: OpenPGP digital signature