Skip to contentSkip to conversation

Poky X11

DISCUSSION akuster808 2 participants 3 messages Oct 19, 2014 – Oct 21, 2014

lore
Share & tools
lore

akuster808

author
#0 lore raw

Hello,

When I build 'core-image-x11' on Poky, X on wont start. I am using the standard Poky clone with no added layers. When I manually start x I get the following error:

startx
/etc/X11/xinit/xinitrc: line 95: twm : command not found /etc/X11/xinit/xinitrc: line 96: xclock : command not found /etc/X11/xinit/xinitrc: line 97: xterm : command not found /etc/X11/xinit/xinitrc: line 98: xterm : command not found /etc/X11/xinit/xinitrc: line 99: exec : command not found

I suspect I am doing something wrong.

I found that the missing files are in meta-openembedded/meta-oe/recipes-graphics/*.

If this is a bug, which direction should I go to address the problem?

1) move missing recipes to oe-core
2) remove core-image-x11 from oe-core
3) remove files from xinitrc
4) none of the above, issue some where else.

regards,
Armin

#1 lore raw
Quoted 10 lines · On 19 October 2014 19:37, akuster808 <[email protected]> wrote:

When I build 'core-image-x11' on Poky, X on wont start. I am using the standard Poky clone with no added layers. When I manually start x I get the following error:

startx
/etc/X11/xinit/xinitrc: line 95: twm : command not found /etc/X11/xinit/xinitrc: line 96: xclock : command not found /etc/X11/xinit/xinitrc: line 97: xterm : command not found /etc/X11/xinit/xinitrc: line 98: xterm : command not found /etc/X11/xinit/xinitrc: line 99: exec : command not found

Did you at some point do a build with meta-oe enabled, and then not enabled? There's a known bad interaction between oe-core and meta-oe's X init scripts which results in problems like this. The quick fix is to wipe your tmp and rebuild (using sstate this should take just a few minutes).

Ross

author
#2 lore raw
Quoted 12 lines · Ross
Quoted 10 lines · On 19 October 2014 19:37, akuster808 <[email protected]> wrote:

When I build 'core-image-x11' on Poky, X on wont start. I am using the standard Poky clone with no added layers. When I manually start x I get the following error:

startx
/etc/X11/xinit/xinitrc: line 95: twm : command not found /etc/X11/xinit/xinitrc: line 96: xclock : command not found /etc/X11/xinit/xinitrc: line 97: xterm : command not found /etc/X11/xinit/xinitrc: line 98: xterm : command not found /etc/X11/xinit/xinitrc: line 99: exec : command not found

Quoted 2 lines

Did you at some point do a build with meta-oe enabled, and then not enabled?

I could not recall.

There's a known bad interaction between oe-core and

Quoted 3 lines

meta-oe's X init scripts which results in problems like this. The quick fix is to wipe your tmp and rebuild (using sstate this should take just a few minutes).

Did that and still have the problem.

- Armin

Quoted 3 lines

Ross