Page 1 of 1

Restore Ubuntu

Posted: Sat May 29, 2010 3:02 pm
by Nipuna
I am Still using Ubuntu 9.10 and I have Ubuntu 10.04 but I didn't install Ubuntu 10.04. My Problem is this,

I tried to Configure Xorg.conf file after that I can't log into Ubuntu. No GUI is coming Only this is coming

" Log into nipuna@desktop: "

How to Restore Ubuntu to Get back to normal?

Thanks

Re: Restore Ubuntu

Posted: Mon May 31, 2010 12:33 am
by Neo
Use following commands.
  1. Change current directory to X11

    Code: Select all

    cd /etc/X11
  2. List files starting with xorg.conf

    Code: Select all

    ls xorg.*
  3. Notice your latest backup file in the format xorg.conf.xxxxxxx (In place of xxxxxxx, you will get the date information)
  4. Rename the current xorg.conf to something else

    Code: Select all

    sudo mv xorg.conf myxorg.conf
  5. Restore your best backup file

    Code: Select all

    sudo cp xorg.conf.xxxxxxx xorg.conf
  6. Now, restart your machine....that's it
Next time, before you change a system file, keep a backup as a practice ;)

Re: Restore Ubuntu

Posted: Mon May 31, 2010 9:40 am
by Nipuna
Thanks. I will Do Try.

Next time i will back up.

Thanks