[yocto] No keyboard in X

Chris Tapp opensource at keylevel.com
Thu Mar 21 13:11:05 PDT 2013


I've got a system (Danny, meta-intel-cedartrail) with a custom /etc/mini_x/session file which is used to run an application at startup.

This all works to the extent that the application starts and runs, but the keyboard doesn't work - 'Esc' should cause the application to terminate and the X session to end. The Xorg log shows that the session is "Using VT number 2".

If I kill the session manually, login on the tty and restart (using 'init 4', 'init 5') then the application runs as before but this time the keyboard works as expected.

inittab runs a getty on tty1 to tty4.

Any idea what's going on here? Is it because tty2 isn't active when X starts, or is it something like a permissions problem which means the keyboard can't be used until a user is authenticated on the VT that's being used?

Would running the X session on the tty0 (console) work? If so, how can I force it to be used?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list