[oe] dbus error when running menuconfig in konsole

John Faith john at soundmetrics.com
Wed Dec 16 01:41:54 UTC 2009


Peter Gsellmann wrote:
> Am Dienstag, den 15.12.2009, 14:17 -0800 schrieb John Faith:
>   
>> 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?
>>
>>     
> If kubuntu 9.10 uses KDE4, you are out of luck. Konsole in KDE4 is
> horribly broken. There are numerous Bugtracker entries about.
> For example, it doesnt inherit the $PWD from the starting process but
> gets it from the konsole-settings! So the flash you see is the message
> from make: 'no makefile found.  Stop.' ~ and bye.
> The process you start gets not child nor grand-child of the starting
> bitbake-process, but of a central 'konsole'-process
>
> Use xterm instead. Works for me.
>   

Hi Peter,
Yes, this is KDE4, so I'll skip konsole.  xterm seems to work fine.

Thanks!

,
John





More information about the Openembedded-devel mailing list