Super User is a question and answer site for computer enthusiasts and power users. 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

I changed my ubuntu screen-resolution and now it's everything black and I can't change it againd to the old resolution. What do I do?

Thank you.

share|improve this question

Try this:

xrandr -s  800x600

Adjust resolution itself as necessary. This works if you've got a running X11.

If the GUI won't start at all, you may want to try removing xorg.conf; as far as I remember it should be automatically regenerated. But just in case, let's just move it aside instead of deleting it.

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
share|improve this answer
the second command has to be executed as root, I suggest adding sudo in front of it.. – 0x89 Sep 7 '09 at 13:38
Good suggestion! I edited my post appropriately and upvoted you, thank you. – Ivan Vučica Sep 12 '09 at 0:26

You must log in to answer this question.