X11 Gotchas
While manually editing and tweaking my video configuration for Ubuntu 7.10 (Gutsy Gibbon) to get better performance for my ATI Radeon 9200 I accidentally butchered the config. (Tee-hee oops!)
Thankfully it reverts to a low setting at least allowing me into the desktop to load a terminal and start correcting my errors.
First off – if you can’t figure out what you did, just blast it and start over with this command:
sudo dpkg-reconfigure -phigh xserver-xorg
This will load the /etc/X11/xorg.conf file back as it was at install. Restart your x-server and things should be operational from a clean slate, unless you get the following message:
md5sum: /etc/X11/xorg.conf: No such file or directory
In which case, something you did wiped out your configuration entirely, and dpkg doesn’t want to reload it. This is easily recoverable:
sudo touch /etc/X11/xorg.conf
sudo dpkg-reconfigure -phigh xserver-xorg
This places an empty file in the location, allowing dpkg to do it’s thing without error.









