Linux fun

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

type

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

Root@geek:/etc/X11# dir

if you’ve been piddling around in the system like I have you should have one

xorg.conf

and quite a few

xorg.conf.something-or-other

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/X11rm xorg.conf

Now we have to rename the back-upped version in order to get the GUI back , type the following:

Root@geek:/etc/X11mv xorg.conf.something-or-other xorg.conf

this should have sorted your problem reboot by typing

Root@geek:/etc/X11shutdown -r now

hopefully when you reboot you should be back in a lovely graphical environment :)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: