Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Xubuntu 10.04 system logs me out seemingly at random. How can I diagnose why this is happening and correct it?

share|improve this question
Do you have anything funny in your logs (in /var/log)? Anything strange in dmesg? – Mat Oct 4 '11 at 10:57
It's quite long file. I can't see nothing funny there at first sight. – xralf Oct 4 '11 at 11:03
When that happens, look at the end of the various log files in /var/log (and possibly sub-directories) - they are usually timestamped so you can focus on the time the problem occurred. – Mat Oct 4 '11 at 11:05
I think this is similar to my problem. Do you have an Intel's graphic card? – Yotam Oct 4 '11 at 13:45
@Mat OK I try it, but there are many files. – xralf Oct 4 '11 at 14:04

there were some bugs in 10.04 related to the X-server. occasionally, some processes would try to render objects in such a way as to cause X to crash. GDM will notice this, and restart X, presenting the login screen again.

Fix is to generate an xorg.conf file, and then update that file to use a different acceleration method.

Press CTRL+ALT+F1 to access the first virtual console, and login. Once you're there, you'll stop gdm, generate the xorg.conf file, and restart gdm.

sudo service gdm stop
sudo Xorg -configure
sudo service gdm start

Now that the xorg.conf file exists, make two small changes to set the following options:

Option "RenderAccel" "False"


Option "AccelMethod" "XAA"

Without knowing what kind of hardware you are using, you may have to fiddle around with the AccelMethod setting. If you have intel hardware, you could try setting it to "UXA". You can also try "EXA". Check your default.

share|improve this answer
Thank you. I will try if this helps. – xralf Oct 4 '11 at 14:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.