On 21 Mar 2013, at 20:38, Tomas Frydrych wrote: > On 21/03/13 20:11, Chris Tapp wrote: >> 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. > > Could be permissions; if you are not starting X as root, you have to > make sure the X user has rw permissions to /dev/ttyN and /dev/input/*
Looking at the S09xserver-nodm script in rc5.d, it's started using: su -l -c '/etc/X11/Xserver&' $username where 'username' is set to 'root', so it looks like that should be ok. Chris Tapp opensou...@keylevel.com www.keylevel.com _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto