HOW TO repair a broken xorg.conf from the command line
A few days ago I messed around with trying to install glx and ended up leaving me stranded with a command line login. Being the noob that I am I atempted the impossible, to fix my xorg.conf. for this you will need too learn a little command line voodoo. nothing to hard.
commands:
cd: enter a directory
ls: list the files in a directory
cp: copy files to another directory
mv: move files to another directory or rename file
-------------------------------------------------------------------
what I did was first enter the directory
$cd /etc/X11/
than list the files in the directory
$ls
I renamed the broken xorg.conf to xorg.conf.broken
/etc/X11$ mv xorg.conf xorg.conf.broken
I made a backup of the backup
sudo cp xorg.conf.backup /home
than made the backup conf file to the default conf by removing the .backup
mv xorg.conf.backup xorg.conf
--------------------------------------------------------------------------
rebooted my box and did a little victory dance
Linux; life without walls, gates and windows!
Bookmarks