Re: Ubuntu logs out after a few seconds of opening XBMC
It's not so much that it "logs you off" or "sends you back to the login screen". What's actually happening is that the X server has crashed, which brings down all your graphical programs. Then X is automatically restarted, and the first thing X does is display the login screen.
What's your graphics card and what graphics driver are you using?
I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.