Today i reinstalled the whole ubuntu 9.04 again. And problem solved.
My steps are:
- install the 220.127.116.11 server;
- without install gnome, “sudo apt-get install build-essential linux-headers-
- wget the cuda 2.3 driver for ubuntu 9.04
- at this moment, since no gnome installed, no X-server is on, “sudo sh NVIDIA_LONG_NAME_64_BIT_DRIVER.run”
- It asked me if I would like to install 32 bit compatible OPEN GL library, i said yes
- Installed Nvidia driver sucessfully
- install gnome
- in gnome, run “sudo nvidia-xconfig”
After done with above, go to System -> Preferences -> Display, it would say something about some feature is not there, it asks whether you want to use alternative driver from your graphics card. Choose “YES”, then you can see the Nvidia X driver Utilities Panel
ONE MORE THING: after changing all the display settings, you would like to save that xorg.config, but the system would tell you it could not remove/create xorg.config.backup. What I did was, clicked on the preview settings, and copied the whole thing, manually changed xorg.config by editor.
And now you can reboot, and you will see the display setting is still there!
Also the CUDA SDK samples worked on my system!
(Added some lib such as libglut3, libxi and libmu to make the “make” under SDK run)