Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer


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