3 Answers
3

Restart the PC with the live ubuntu disk.
Choose safe graphics mode.
Open a terminal
cd to /etc/X11
cp xorg.conf to /media/usbdrive
open gftp
upload the xorg.conf file to a server
restart PC without the live disk
ctrl-alt-f1
login
cd /etc/X11
sudo rm xorg.conf
then wget www.yourserver/xorg.conf
startx

You will be able to start X without a hitch because the live cd in safe graphics mode automatically determined your X settings.

Method : 2

If you just need working configuration, not the whole Xserver?
then,
backup your /etc/X11/xorg.conf
and do