From owner-freebsd-x11@freebsd.org Wed Nov 30 20:52:09 2016 Return-Path: Delivered-To: freebsd-x11@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 E7CD7C5EC26; Wed, 30 Nov 2016 20:52:09 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83CCA1739; Wed, 30 Nov 2016 20:52:08 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e35:8a74:6e70:232:36ff:fe5c:3a87]) by smtp1-g21.free.fr (Postfix) with ESMTPS id C3ABCB00583; Wed, 30 Nov 2016 21:51:56 +0100 (CET) Received: from freedom.alkumuna.eu ([IPv6:2a01:e35:8a74:6e70:62a4:4cff:fe54:b212]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.15.2/8.15.2) with ESMTPSA id uAUKpqnr098211 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Nov 2016 21:51:55 +0100 (CET) (envelope-from mazhe@alkumuna.eu) Date: Wed, 30 Nov 2016 21:51:51 +0100 From: Matthieu Volat To: Aryeh Friedman Cc: Kevin Oberman , "freebsd-x11@freebsd.org" , FreeBSD Ports ML , Raphael Kubo da Costa Subject: Re: upgrade to devel/dbus breaks xfce4 Message-ID: <20161130215151.5b2fee04@freedom.alkumuna.eu> In-Reply-To: References: <86poldqcqp.fsf@FreeBSD.org> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/4u_wCxjpH1noWoOF_tQpS.H"; protocol="application/pgp-signature" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alkumuna.eu; s=default; t=1480539115; bh=Xq6daNuSQr4i32tN4vFRu8seH1WghyjjJ/fA57p0ChY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type; b=Yz34X0lIP3nYeMcGJkNVDlQpuoB0FdWzSTLA4YcNLH1ww5Dc9hukT8Q27MAkrOBgNFvh1QBeq/jgxXsW7zzt1zt+rr3Kah7Fv63FK3p8g2bRwfFm9QRkhdmzeitfuXtfLN3G/y13l5ZixgVrUcVP8cjBpLHM0Hm+Ac5eYpdA4Q4= X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2016 20:52:10 -0000 --Sig_/4u_wCxjpH1noWoOF_tQpS.H Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 30 Nov 2016 15:32:49 -0500 Aryeh Friedman wrote: > On Wed, Nov 30, 2016 at 3:28 PM, Kevin Oberman wrot= e: >=20 > > On Wed, Nov 30, 2016 at 11:42 AM, Aryeh Friedman > > wrote: > > > >> On Wed, Nov 30, 2016 at 9:11 AM, Raphael Kubo da Costa < > >> rakuco@freebsd.org> > >> wrote: > >> > >> > Aryeh Friedman 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=3D"YES"' in /etc/rc.co= nf? > > 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. > > >=20 > 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). >=20 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 everyt= hing. --Sig_/4u_wCxjpH1noWoOF_tQpS.H Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTxuiqPSkQnzRDOjsP4Q0N5gpmLfgUCWD876AAKCRD4Q0N5gpmL flSXAJ4gHWhOXI+ocaFi3cUOyw2J9qxk0wCfQuAghTmQNgAKTiHa3DJe26pWuzM= =Qf0L -----END PGP SIGNATURE----- --Sig_/4u_wCxjpH1noWoOF_tQpS.H--