Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Since a few days ago, my Ubuntu Xorg keeps crashing. At random times, I get automatically logged out and I go back to the login screen.

My Xorg log output is as follows:

/var/log/Xorg.1.log.old:[161352.959] (EE) intel(0): Detected a hung GPU, disabling acceleration.
/var/log/Xorg.1.log.old:[161352.959] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.

On Google I couldn't find a workaround. Anyone got an idea to avoid these crashes - either use another Linux distro, another gnome, another GPU driver... ?

share|improve this question
Can you try disabling hardware acceleration in xorg.conf? – oaskamay Mar 27 '13 at 15:59
How do I do that? (Sorry I'm relatively new to Ubuntu) – Jonathan D'haese Mar 27 '13 at 23:32

This is the same problem i GOT once

Whathappened to your system is:

You have misconfigured or messedup with xorg while tweaking your system


  1. Try to enter with someother user Like Guest if, Yes than
  2. Logout guest and press ctrl+alt+F2 to enter your Terminal mode.
  3. Login with your user which has sudo powers
  4. Create a new user and add this user to sudo group

sudo adduser username

sudo adduser username sudo

now logout and login with newly created sudo user and delete your messedup user thats it.

Other solution

  1. Install other GUI for system i.e Gnome

goto terminal mode by pressing ctrl+alt+F2

install gnome

sudo apt-get install gnome-panel

This will install gnome 3, gnome classic and gnome-classic without effects to enter gnome on your login screen press unity icon and you will see the list of interfaces to choose from.

HOPE this will help

share|improve this answer
Thanks, I'll try this out. Is the only thing I need to do, is to copy paste the whole /home/olduser/ directory to /home/newuser/ to have my user completely the same again? – Jonathan D'haese Mar 28 '13 at 12:22
Just copy your data from old user and save it to pin/USB and when you are done with new user than paste the date in harddriver and you donot have to copy the /home/olduser directory to /home/newuser becasue you will the copy the error also as xorg conf file are in your home directory and different for each user but the are hidden – Yousaf Ehsan Mar 28 '13 at 13:38
Hi, I did this yesterday and the crashes seem to appear less often, however I had one crash today so it didn't solve it completely. Any other solution? – Jonathan D'haese Mar 29 '13 at 22:20
you might have did something with xorg as root, I suggest you to reinstall or if you dont want than search how to set default values of xorg if doesnot work than install other xorg server that is gnome-3 its better than unity and i use gnome see my answer above how to install gnome-3 – Yousaf Ehsan Mar 30 '13 at 17:57
thank you very much, I am sorry for late respond but I'll try this! – Jonathan D'haese Apr 7 '13 at 7:30

Check your ~/.xsession-errors file. For me this was a permission problem - for some reason ~/.dbus, ~/.gvfs and ~/.Xauthority were owned by root. Also some files in ~/.cache. That isn't supposed to happen (probably a bug). To fix it you can do this:

sudo chown -R timmmm:timmmm .* *
rm ~/.Xauthority # May not be necessary but can't hurt.

That did it for me anyway.

share|improve this answer

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.