devshell not working with screen remote shell
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
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
Quoted 49 lines · Marco Cavallini
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: startedOE 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: taskdo_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: taskdo_devshell: started
ERROR: functiondo_devshellfailed
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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
s hakkesteegt ha scritto:
Quoted 8 lines
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
s hakkesteegt ha scritto:
Quoted 8 lines
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 fromGNOME_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
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)
Quoted 33 lines · Marco Cavallini
s hakkesteegt ha scritto:
Quoted 8 lines
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 hereNOTE: package bluez-utils-3.36-r5: task
do_devshell: startedbut nothing happens.
Are you using this with the same conditions (remote ssh + screen) or locally?
/marco
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/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