3
I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to allow SSH access via the network port for debugging, loading, etc.
The application is a SDL graphics program running with fbcon as the SDL_VIDEODRIVER if that matters. I'm currently using Fedora 10 and 12 but any distro that supports SDL using the fbcon framebuffer would be acceptable.
Thanks, I'm familiar with inittab and upstart. The app starts ok when I create an upstart file and stick it in event.d however I still get system messages on the console and I see the login prompt for a few seconds before the app starts. I thought there would be a cleaner way. I guess the question should be how do I re-direct the console output somewhere else? I can probably find the answer to that. – None – 2010-04-19T19:04:55.167
Also... keyboard input is not getting to the application. – None – 2010-04-19T19:06:32.577
Sounds like the app isn't starting on the current VT. Try disabling the
tty1
event and put your app on VT1 instead. – Ignacio Vazquez-Abrams – 2010-04-19T19:09:10.873Not sure I did this right... I disabled the tty1 by commentating out the exec statement. That stopped the login from appearing, but I still have system messages writing over the application and no keys are getting to the app. Not sure what you meant by "put your app on VT1" – None – 2010-04-19T19:23:12.203
Unfortunately I don't know how to force SDL to use a specific VT. – Ignacio Vazquez-Abrams – 2010-04-19T19:41:34.200
Thanks for your comments anyway, I've made a little progress. This has got to be something that is done frequently. – None – 2010-04-19T19:54:15.573