The Steps is listed below. Generally there are 3 steps:
This command is used to exit the gui. Now login as root,and enter the following commands:
Code:
# /etc/init.d/gdm stop (to stop gdm/kdm as required.)
# X -configure
# mv ~/xorg.conf.new /etc/X11/xorg.conf
# /etc/init.d/gdm start
Please note that the backup is important. Once the new config file is broken, you can recover from the former one.
You should now be back in the gui,but you need to logout as root:
Code:
ctrl-alt-f1 again.
ctrl-d
ctrl-alt-f7
Once you get to this point you should have a working xorg.conf file then.