I built an arcade system and I have it running ubuntu 10.10 with wahcade as the frontend. What I want to do is get the system to boot up, load X, and launch wahcade; without booting into GDM.

Secondly, if possible, I would also like to have a command that can be executed (from within wahcade) that will load up GDM and provide a desktop for computer use. Upon logging out, it should return to wahcade.

I have searched and found a few solutions for booting into CLI but I could not get them to work. Any help?