Got this working after a little hacking / googling (or should i call that “hack-ling” ?).
Apparantly , Ubuntu 8.1 gets confused about which device to use when the Nvidia proprietary drivers are installed. The following are the steps needed to rectify the situation:
1. Search for your VGA devices
vinay@genome:~$ lspci |grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
vinay@genome:~$
2. Edit (as sudo / root) your /etc/X11/xorg.conf file and navigate to the section “Device”. Add the BusId line with corresponding information corresponding to either of your VGA devices (you may have to try this and the next step multiple times depending on how many VGA devices you have configured).
Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
BusId "01:00:00"
EndSection
3. Restart X (I use gnome so the word “gdm” is used in the following command, use “kdm” if you use kde).
sudo /etc/init.d/gdm start
That’s it. Enjoy.