Have you looked at the documentation in /usr/doc/NVIDIA_GLX-1.0?
I have:
Chapter 13. Configuring Multiple Display Devices on One X Screen
Chapter 14. Configuring GLX in Xinerama
Chapter 15. Configuring Multiple X Screens on One Card
I only have two monitors, but I have a /etc/X11/xorg.conf file that provides for four possible layouts. (I do not bother with Xinerama as TwinView works best for me.)
I can choose which layout to use by typing 'startx -- -layout <Layout_Identifier>'
Layouts 0,1,2 only give DISPLAY=:0.0 while Layout3 gives DISPLAY=:0.0 and DISPLAY=:0.1
I happen to use Layout3 as my default with WindowMaker (recent KDE and XFCE have taken to assuming that they need to control all available X screens) as I often work with one monitor continuously showing an open document while I am flipping between applications and workspaces on the other monitor. I cannot drag windows between X screens doing this, but that does not bother me.
Code:
# X configuration file
Section "ServerFlags"
Option "DefaultServerLayout" "Layout3"
EndSection
# Single screen on Monitor0
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
# Single screen on Monitor1
Section "ServerLayout"
Identifier "Layout1"
Screen 0 "Screen1" 0 0
EndSection
# Dual screens on Monitor0 and Monitor1 with TwinView enabled
Section "ServerLayout"
Identifier "Layout2"
Screen 0 "Screen3" 0 0
EndSection
# Dual screens on Monitor0 and Monitor1 with TwinView disabled
Section "ServerLayout"
Identifier "Layout3"
Screen 0 "Screen0" 0 0
Screen 1 "Screen2" RightOf "Screen0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 LE"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 LE"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "Off"
Option "UseDisplayDevice" "DFP-0"
Option "metamodes" "DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device0"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "Off"
Option "UseDisplayDevice" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "Off"
Option "UseDisplayDevice" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen3"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "On"
Option "UseDisplayDevice" "CRT-0, DFP-0"
Option "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Monitor"
Identifier "Monitor1"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection