I thought I’d install Beryl on my ubuntu laptop however when it rebooted X server died so I had no GUI just a command prompt – no problem ubuntu automatically creates a copy of xorg.conf which is the X windows config file before it allows any script or other program to change the original – to fix it just follow this procedure.
this applies on ubuntu 6.10
Reboot and when you get the GRUB loader screen boot into the Ubuntu, kernel 2. blah blah blah (recovery mode) option
the verbose boot up continues until you get to an option to enter the Root password or hit ctrl+D to continue, enter the password and you’ll be logged in as Root. You need to get to the xorg.conf files location. my machine is called geek so Root@geek:/location/# proceeds all my typings
Root@geek:/# cd /etc/X11
Remember the capital X nix-alike OS’s are case sensitive x11 is not X11 When you are in the X11 directory type
if you’ve been piddling around in the system like I have you should have one
and quite a few
where something or other is either the date or something more useful like before-editing-beryl-script hopefully the backup you want should be obvious.
so it’s now the time to replace the corrupt xorg.conf with the last working version.
delete the current corrupted xorg file.
Root@geek:/etc/X11# rm xorg.conf
Now we have to rename the back-upped version in order to get the GUI back , type the following:
Root@geek:/etc/X11# mv xorg.conf.something-or-other xorg.conf
this should have sorted your problem reboot by typing
Root@geek:/etc/X11# shutdown -r now
hopefully when you reboot you should be back in a lovely graphical environment :)