* devshell not working with screen remote shell
@ 2009-04-19 18:35 Marco Cavallini
2009-04-20 6:19 ` s hakkesteegt
2009-04-27 14:18 ` Sledz, Steffen
0 siblings, 2 replies; 6+ messages in thread
From: Marco Cavallini @ 2009-04-19 18:35 UTC (permalink / raw)
To: openembedded-devel
devshell is not working when you run bitbake in a screen remote ssh shell
(also potest here http://bugs.openembedded.net/show_bug.cgi?id=5084)
$ bitbake -cdevshell bluez-utils
NOTE: Handling BitBake files: - (6658/6658) [100 %]
NOTE: Parsing finished. 6398 cached, 0 parsed, 260 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200904192010: started
OE Build Configuration:
BB_VERSION = "1.8.13"
METADATA_BRANCH = "stable/2009"
METADATA_REVISION = "6ea387ca312c4686746c387b56735f7b96f599b3"
TARGET_ARCH = "i586"
TARGET_OS = "linux"
MACHINE = "qemux86"
DISTRO = "kaeilos"
DISTRO_VERSION = "2008.1-test-20090419"
NOTE: oestats: build 140918
...snip...
NOTE: package bluez-utils-3.36-r5: task do_patch: completed
NOTE: Running task 32 of 32 (ID: 4,
/home/koan/devel/openembedded/recipes/bluez/bluez-utils_3.36.bb,
do_devshell)
NOTE: package bluez-utils-3.36-r5: task do_devshell: started
ERROR: function do_devshell failed
ERROR: log data follows
(/home/koan/devel/build/kaeilos/tmp/work/i586-kaeilos-linux/bluez-utils-3.36-r5/temp/log.do_devshell.5388)
| cannot open display:
| Run 'gnome-terminal --help' to see a full list of available command line
options.
I already tried to solve this time ago using different option in bitbake
code
(trying to activate xterm instead of the default x terminal) and trying
to set
DISPLAY and xauth in several ways without success.
/marco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: devshell not working with screen remote shell
2009-04-19 18:35 devshell not working with screen remote shell Marco Cavallini
@ 2009-04-20 6:19 ` s hakkesteegt
2009-04-20 7:40 ` Marco Cavallini
2009-04-20 7:49 ` Marco Cavallini
2009-04-27 14:18 ` Sledz, Steffen
1 sibling, 2 replies; 6+ messages in thread
From: s hakkesteegt @ 2009-04-20 6:19 UTC (permalink / raw)
To: openembedded-devel
You might want to add this to your local.conf
TERMCMD = "${SCREEN_TERMCMD}"
TERMCMDRUN = "${SCREEN_TERMCMDRUN}"
devshell will open in a new screen session, witch you can attach to
manually.
Siebren
On Sun, Apr 19, 2009 at 8:35 PM, Marco Cavallini <koansoftware@gmail.com>wrote:
> devshell is not working when you run bitbake in a screen remote ssh shell
> (also potest here http://bugs.openembedded.net/show_bug.cgi?id=5084)
>
>
> $ bitbake -cdevshell bluez-utils
> NOTE: Handling BitBake files: - (6658/6658) [100 %]
> NOTE: Parsing finished. 6398 cached, 0 parsed, 260 skipped, 0 masked.
> NOTE: Cache is clean, not saving.
> NOTE: build 200904192010: started
>
> OE Build Configuration:
> BB_VERSION = "1.8.13"
> METADATA_BRANCH = "stable/2009"
> METADATA_REVISION = "6ea387ca312c4686746c387b56735f7b96f599b3"
> TARGET_ARCH = "i586"
> TARGET_OS = "linux"
> MACHINE = "qemux86"
> DISTRO = "kaeilos"
> DISTRO_VERSION = "2008.1-test-20090419"
>
> NOTE: oestats: build 140918
> ...snip...
> NOTE: package bluez-utils-3.36-r5: task do_patch: completed
> NOTE: Running task 32 of 32 (ID: 4,
> /home/koan/devel/openembedded/recipes/bluez/bluez-utils_3.36.bb,
> do_devshell)
> NOTE: package bluez-utils-3.36-r5: task do_devshell: started
> ERROR: function do_devshell failed
> ERROR: log data follows
>
> (/home/koan/devel/build/kaeilos/tmp/work/i586-kaeilos-linux/bluez-utils-3.36-r5/temp/log.do_devshell.5388)
> | cannot open display:
> | Run 'gnome-terminal --help' to see a full list of available command line
> options.
>
>
> I already tried to solve this time ago using different option in bitbake
> code
> (trying to activate xterm instead of the default x terminal) and trying
> to set
> DISPLAY and xauth in several ways without success.
>
> /marco
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: devshell not working with screen remote shell
2009-04-20 6:19 ` s hakkesteegt
@ 2009-04-20 7:40 ` Marco Cavallini
2009-04-20 8:37 ` s hakkesteegt
2009-04-20 7:49 ` Marco Cavallini
1 sibling, 1 reply; 6+ messages in thread
From: Marco Cavallini @ 2009-04-20 7:40 UTC (permalink / raw)
To: openembedded-devel
s hakkesteegt ha scritto:
> You might want to add this to your local.conf
>
> TERMCMD = "${SCREEN_TERMCMD}"
> TERMCMDRUN = "${SCREEN_TERMCMDRUN}"
>
> devshell will open in a new screen session, witch you can attach to
> manually.
>
Siebren,
thank you for answering.
I am using a remote ssh connection to the OE development server and I
use screen package inside it.
I tried adding your lines and now the build stops here
NOTE: package bluez-utils-3.36-r5: task do_devshell: started
but nothing happens.
Are you using this with the same conditions (remote ssh + screen) or
locally?
/marco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: devshell not working with screen remote shell
2009-04-20 6:19 ` s hakkesteegt
2009-04-20 7:40 ` Marco Cavallini
@ 2009-04-20 7:49 ` Marco Cavallini
1 sibling, 0 replies; 6+ messages in thread
From: Marco Cavallini @ 2009-04-20 7:49 UTC (permalink / raw)
To: openembedded-devel
s hakkesteegt ha scritto:
> You might want to add this to your local.conf
>
> TERMCMD = "${SCREEN_TERMCMD}"
> TERMCMDRUN = "${SCREEN_TERMCMDRUN}"
>
> devshell will open in a new screen session, witch you can attach to
> manually.
>
I already tried all the available option witout success.
Maybe I'm the only using a remote ssh shell + screen... :-(
# Some common terminal programs to choose from
GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"'
GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x $SHELLCMDS'
SCREEN_TERMCMD = 'screen -D -m -t "$TERMWINDOWTITLE"'
SCREEN_TERMCMDRUN = '${SCREEN_TERMCMD} $SHELLCMDS'
XTERM_TERMCMD = 'xterm -T "$TERMWINDOWTITLE"'
XTERM_TERMCMDRUN = '${XTERM_TERMCMD} -e $SHELLCMDS'
KONSOLE_TERMCMD = 'konsole -T "$TERMWINDOWTITLE"'
KONSOLE_TERMCMDRUN = '${KONSOLE_TERMCMD} -e $SHELLCMDS'
/marco
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: devshell not working with screen remote shell
2009-04-20 7:40 ` Marco Cavallini
@ 2009-04-20 8:37 ` s hakkesteegt
0 siblings, 0 replies; 6+ messages in thread
From: s hakkesteegt @ 2009-04-20 8:37 UTC (permalink / raw)
To: openembedded-devel
Hi Marco,
That's correct, I do use a similar setup.
After you get the message 'task-do_devshell: started', you should open a new
ssh session to your server (in a different console) and you can see there
with 'screen -list' that a new screen session has opened, next to the first
screen session where you executed the bitbake command. Attach to the new
screen session (screen -r). Then you've arrived in the devshell.
When you're ready in the devshell, close it with exit, and the bitbake in
your first screen session will continue .
Siebren (irc: tsjsieb)
On Mon, Apr 20, 2009 at 9:40 AM, Marco Cavallini <koansoftware@gmail.com>wrote:
> s hakkesteegt ha scritto:
> > You might want to add this to your local.conf
> >
> > TERMCMD = "${SCREEN_TERMCMD}"
> > TERMCMDRUN = "${SCREEN_TERMCMDRUN}"
> >
> > devshell will open in a new screen session, witch you can attach to
> > manually.
> >
>
> Siebren,
> thank you for answering.
> I am using a remote ssh connection to the OE development server and I
> use screen package inside it.
> I tried adding your lines and now the build stops here
>
> NOTE: package bluez-utils-3.36-r5: task do_devshell: started
>
> but nothing happens.
>
> Are you using this with the same conditions (remote ssh + screen) or
> locally?
>
> /marco
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: devshell not working with screen remote shell
2009-04-19 18:35 devshell not working with screen remote shell Marco Cavallini
2009-04-20 6:19 ` s hakkesteegt
@ 2009-04-27 14:18 ` Sledz, Steffen
1 sibling, 0 replies; 6+ messages in thread
From: Sledz, Steffen @ 2009-04-27 14:18 UTC (permalink / raw)
To: openembedded-devel
I'm not sure if this problem is solved meanwhile. If so and the solution is interesting for other people please describe it in the FAQ part of the new devshell page in the wiki.
<http://wiki.openembedded.net/index.php/Devshell#FAQ>
Thx,
Steffen
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-04-27 14:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 18:35 devshell not working with screen remote shell Marco Cavallini
2009-04-20 6:19 ` s hakkesteegt
2009-04-20 7:40 ` Marco Cavallini
2009-04-20 8:37 ` s hakkesteegt
2009-04-20 7:49 ` Marco Cavallini
2009-04-27 14:18 ` Sledz, Steffen
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.