[poky] TERMCMD and SSH
Gary Thomas
gary at mlbassoc.com
Fri Jul 15 05:52:14 PDT 2011
On 07/15/2011 06:22 AM, Gary Thomas wrote:
> I often build Poky on remote systems which I access using 'ssh -X' (SSH
> connection with X forwarding). However, I have problems when the build
> needs to open a terminal window, e.g. 'bitbake virtual/kernel -c menuconfig'
> I get this error:
>
> | Failed to summon the GConf demon; exiting. Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale
> NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Address does not contain a colon)
>
> As far as I can see, bitbake is trying to run this command:
> gnome-terminal --disable-factory -t "something" -x "make menuconfig"
>
> If I run this command manually from my SSH window, it works fine.
> How can I get it working from bitbake? I tried adding 'SSH_CONNECTION'
> and 'DISPLAY' (both set specially in this situation) to BB_ENV_EXTRAWHITE
> without success.
I found that if I set
TERMCMD="${XTERM_TERMCMD}"
TERMCMDRUN ?= "${XTERM_TERMCMDRUN}"
it works fine via SSH. I like the look of 'xterm' better than 'gnome-terminal'
so that's what I'll use, but I'd like to understand why the GNOME version does
not work.
Note: I had to edit meta/conf/bitbake.conf to change these. Putting
them in local.conf had no effect.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list