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!
Mario Seijo is a web designer and creative director for a Seattle-based web design studio,
Thanks for the tip - came in very handy. I didn’t need to login in from another machine, just from another TTY.