All of lore.kernel.org
 help / color / mirror / Atom feed
* TERMCMD and SSH
@ 2011-07-15 12:22 Gary Thomas
  2011-07-15 12:52 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2011-07-15 12:22 UTC (permalink / raw)
  To: Poky Project

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.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TERMCMD and SSH
  2011-07-15 12:22 TERMCMD and SSH Gary Thomas
@ 2011-07-15 12:52 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2011-07-15 12:52 UTC (permalink / raw)
  To: Poky Project

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-15 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 12:22 TERMCMD and SSH Gary Thomas
2011-07-15 12:52 ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.