reset xorg.conf

I screwed up my xorg.conf file today while trying to setup dual monitors on my Linux desktop. When you have a corrupt xorg.conf file, the computer usually boots into the Console with no graphical interface. (runlevel 3)

Using a second computer, I found a handy command which allowed me to reset the xorg.conf

Log in as root and type:
system-config-display –noui –reconfig –output=/etc/X11/xorg.conf

This should get you back into your system in a graphical mode (runlevel 5). I hope this helps anyone out there trying to get dual monitors working on Linux!


1 Response to “reset xorg.conf”


  1. 1 Slippers Dragon
    Oct 6th, 2008 at 12:59 pm Using Mozilla Firefox Mozilla Firefox 3.0.2 on Fedora Linux Fedora Linux

    Thanks for the tip - came in very handy. I didn’t need to login in from another machine, just from another TTY.

Leave a Reply