Multiple monitors suddenly fails, why?

Ok, so here's the deal. I just get back from a trip to Switzerland - where I held a presentation using my laptop and thus did fiddle with some settings - and I plug my external monitor on my laptop, fiddle the settings back, and it won't work.

I have an nvidia graphics card, so I use nvidia-settings to do this, which has worked fine so far. So I'm trying to get it to work in a TwinView clone setting, but the monitor in question jabbers on about checking the signal cable.

Now strictly speaking that might be the problem, because I fail to get this to work even in Vista and on my TV, but the display is detected, so there is something alive in there somewhere. I also can't get myself to believe that the problem is the monitor... it has served me well for a year and I didn't do anything to it.

Anyway, from what I gather nvidia-settings works by updating xorg.conf, which I've not learned to decode, but someone out there might be able to make heads or tails of this and tell me if it makes sense (attachment).

From there, I'm out of ideas.

Thanks,
BB

Edit: Should say this is on Ubuntu 8.10.

Edit: Tried a different cable and monitor, and it didn't work. I'm beginning to suspect that the VGA slot in my laptop is damaged, because the VGA cable I used in Switzerland (see above) failed to display green, maybe there was a short circuit or something, I dunno... Maybe I should try the HDMI port.

Edit again: Tried that too, same crap. Now I'm officially out of ideas.

Try reinstalling the nvidia drivers

Here is a copy of the xorg.conf which I use when I want to use a Twinview setup. It is for an nVidia 9500GT card with dual HP w1907 monitors. You will obviously have to edit Files and Monitors sections at a minimum.

Section "ServerLayout"
Identifier    "Layout0"
Screen    0   "Screen0" 0 0
InputDevice   "Keyboard0" "CoreKeyboard"
InputDevice   "Mouse0" "CorePointer"
EndSection

Section "Files"
FontPath      "/usr/share/fonts/default/Type1"
ModulePath    "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath    "/usr/lib64/xorg/modules"

EndSection

Section "Module"
Load          "dbe"
Load          "extmod"
Load          "type1"
Load          "freetype"
Load          "glx"
EndSection

Section "ServerFlags"
Option        "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/input/mice"
Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier     "Keyboard0"
Driver         "kbd"
Option         "XkbLayout" "us"
Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
Identifier     "Monitor0"
VendorName     "HP"
ModelName      "w1907"
HorizSync       24.0 - 83.0
VertRefresh     50.0 - 76.0
Option         "DPMS"
EndSection

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce 9500 GT"
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
Option         "TwinView" "1"
Option         "TwinViewXineramaInfoOrder" "DFP-1"
Option         "metamodes" "DFP-0: nvidia-auto-select +1440+0, DFP-1: nvidia-auto-select +0+0"
SubSection     "Display"
   Depth       24
EndSubSection
EndSection