Ubuntu – Why does Ubuntu keep logging me out

logout

I'm not sure what's going on, but Ubuntu keeps logging me out, each time I play long videos.
Not just when i play them, but specifically, when I jump around the video 2-4 times, or when i move the window around…

This happened to me before on this computer, so at one point i replaced the OS with windows, and the problem disappeared… Now I decided to try Ubuntu again, and the problem persists..

Basically, what happens is that the video screen goes black, then the whole monitor goes black, and i find myself at the login screen, with my account logged out..

I'd like to know what's wrong, and any possible ways to stop this constant irritation…

Best Answer

you might be crashing your X server. Next time it happens log back in and have a peek at the bottom of the file /var/log/Xorg.0.log.old and see what it has to say.