I've messed up X server :(

Soldato
Joined
19 Mar 2006
Posts
3,851
Location
Scotland, UK
Hi there, well last night when messing about with compiz fusion I seemed to have messed up the X server GUI config :(

Aha I thought, not to worry, at the start of it I made a nice little back up incase this happened (it has before :D) using this command.

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

So i try to copy this config back to restore my default settings, not working :(
The command i tried is as follows

sudo cp /etc/X11/xorg.conf_backup /etc/X11/xorg.conf

Any ideas guys, got a lot of stuff so dont really wanna have to reinstall ubuntu :(
 
do you get any error messages when trying to start x?
What does /var/log/xorg.0.log tell you? (or xorg.n.org - n=0 to 8)

Good call on making the backup, though ;)
 
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.broken
sudo mv /etc/X11/xorg.conf_backup /etc/X11/xorg.conf

To restore your backup
 
if you have custom things in xorg.conf ull need to put them back, but type this:

Code:
sudo dpkg-reconfigure xserver-xorg

itll allow you to reconfigure xorg.conf, just follow what it says.
 
If none of the above ideas work (I don't see why not though) try using a live cd and replacing/editing the xorg.conf file from there, especially if you're not confident with the command line.
 
Code:
sudo dpkg-reconfigure -phigh xserver-xorg

Will just do your graphics, without you having to reset all your other peripherals :)
 
Ok :( tried everything except live cd! when using the reconfigure line, I get to the stage of selecting the graphics resolution i need and the following message is displayed

Overwriting possibly_customised configuration file; backup in /etc/X11/xorg.cong.20070726121957

I have a image of ubuntu feisty on my desktop but it seems to big to burn to cd :S
 
blairw said:
I have a image of ubuntu feisty on my desktop but it seems to big to burn to cd :S

What size is the CD you are trying to write to? Remember that Ubuntu needs a 700mb CD.

Anyway, it doesn't really matter what live CD you use. You might want to try something like Puppy linux if you want a quick download.
 
Last edited:
Meh i got so fed up last night with both vista and my messed up ubuntu install :(
I'm now back on XP, and Ubuntu Feisty, a fresh start, just backed up all my media and files and redone my whole system.
Feels good to get rid of Vista at last
 
Back
Top Bottom