From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from qmta03.westchester.pa.hmc1.comcast.net ([76.96.53.20]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NKgCY-0000Zt-1q for openembedded-devel@lists.openembedded.org; Tue, 15 Dec 2009 23:49:09 +0100 Received: from omta02.westchester.pa.hmc1.comcast.net ([76.96.53.7]) by qmta03.westchester.pa.hmc1.comcast.net with comcast id HSQo1d00n09Ku2s01anKDm; Tue, 15 Dec 2009 22:47:19 +0000 Received: from [192.168.10.133] ([75.147.191.205]) by omta02.westchester.pa.hmc1.comcast.net with bizsmtp id HanK1d0014SLwm302anK2W; Tue, 15 Dec 2009 22:47:19 +0000 Message-ID: <4B2811EC.6010405@soundmetrics.com> Date: Tue, 15 Dec 2009 14:47:08 -0800 From: John Faith User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Ubuntu-1.1.17+nobinonly-0ubuntu1) MIME-Version: 1.0 To: "openembedded-devel@lists.openembedded.org" References: <4B280B09.2010300@soundmetrics.com> <1260916452.4230.5.camel@conroy-linux> In-Reply-To: <1260916452.4230.5.camel@conroy-linux> X-SA-Exim-Connect-IP: 76.96.53.20 X-SA-Exim-Mail-From: john@soundmetrics.com X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: Re: dbus error when running menuconfig in konsole X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 22:49:09 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Chris Conroy wrote: > On Tue, 2009-12-15 at 14:17 -0800, John Faith wrote: > >> Hello, >> I just moved my oe development tree from an old gnome setup to a new >> kde/kubuntu 9.10 machine. After doing things like changing sh symlink >> from dash to bash, and changing TERMCMD in bitbake.conf to konsole from >> gnome-terminal, when I try 'bitbake -c menuconfig virtual/kernel' I get: >> >> KUniqueApplication: Cannot find the D-Bus session server: >> "/bin/dbus-launch terminated abnormally with the following error: No >> protocol specified >> | Autolaunch error: X11 initialization failed." >> >> Doing 'xhost +local:' before bitbake gets me a brief flash of konsole, >> and I am able to run menuconfig in a running konsole, but still no >> menuconfig in the new konsole window. As an experiment, I changed the >> KONSOLE_TERMCMDRUN in bitbake.conf to '${KONSOLE_TERMCMD} -e vi' and >> that runs fine in the new window. >> >> Any ideas on how to debug this further? >> >> Thanks, >> John >> > > I just happened to be fighting dbus issues (unrelated to OE) for the > past day or so. > > DBus has an odd dependency (IMHO) on X11, and it uses X11 to figure out > what the current running dbus session is. > > If you run 'dbus-launch --auto-syntax', it should output some export > statements. If you run those in your shell and then run your dbus aware > application, it should be able to connect to that bus. > > Though, I have no clue why make menuconfig on the kernel would trigger > anything even close to dbus related, but perhaps the above info is > helpful to you since it took me a while to track it down. It appears > there aren't a ton of people running dbus in a sans-X11 environment... > > --Chris > Hi Chris, I did try setting env values from dbus-launch, but it didn't seem to help. I wonder if when konsole is run from bitbake, something d-bus related is missing from the environment? As a workaround I ended up just running 'CROSS_COMPILE=arm-none-linux-gnueabi- make menuconfig' in an already-running konsole, then doing the compilation through bitbake, which worked fine. Thanks for the suggestion! , John