Muliple Xorg Displays (Triple Head)



Home


Most people will run a single video card with one monitor. What if you wanted to run three video cards to three monitors, but you did not want to run Xenorama?

We wanted a work station where each of the displays acted like a seperate desktop, but we also wanted to move the mouse between all three displays. This allows us to have many virtual desktops on each monitor. In essence, we can switch virtual desktops on one monitor and it will _not_ affect the others.

The following config will allow Xorg to setup three X servers. Put it in your /etc/X11/xorg.conf after you configure it for your hardware.

#######################################################
###  Calomel.org xorg.conf   BEGIN
#######################################################
#
## Calomel.org  Three(3) Screen Display
#
# This config will run three X servers
# to three video outputs connected to three monitors.

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        Screen         "Screen1" LeftOf "Screen0"
        Screen         "Screen2" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        #Load  "dri"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"
EndSection

##############################################################

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "ViewSonic PF815"
        DisplaySize  400        300
        HorizSync    30.0 - 117.0
        VertRefresh  50.0 - 180.0
        Option      "dpms"
        Gamma 1.05 1.15 1.136
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "ViewSonic P225"
        HorizSync   30 - 82
        VertRefresh 48 - 150
        Option "dpms"
        Gamma 1.05 1.15 1.136
EndSection

Section "Monitor"
        Identifier   "Monitor2"
        VendorName   "Monitor Vendor"
        ModelName    "ViewSonic P815"
        HorizSync   30 - 82
        VertRefresh 48 - 150
        Option "dpms"
        Gamma 1.05 1.15 1.136
EndSection

##############################################################

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Device"
        Identifier   "NVIDIA GeForce MX (generic)"
        Driver       "nvidia"
        VendorName   "NVIDIA GeForce MX (generic)"
        BoardName    "NVIDIA GeForce MX (generic)"
        BusID        "2:10:0"
EndSection

Section "Device"
        Identifier   "NVIDIA GeForce MX (generic2)"
        Driver       "nvidia"
        VendorName   "NVIDIA GeForce MX (generic2)"
        BoardName    "NVIDIA GeForce MX (generic2)"
        BusID        "2:11:0"
EndSection

##############################################################

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
#               Viewport   0 0
                Depth     24
                Modes    "1600x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier   "Screen1"
        Device       "NVIDIA GeForce MX (generic)"
        Monitor      "Monitor1"
        DefaultDepth    24
        Subsection "Display"
                Depth       24
                Modes       "1600x1200"
        EndSubsection
EndSection

Section "Screen"
        Identifier   "Screen2"
        Device       "NVIDIA GeForce MX (generic2)"
        Monitor      "Monitor2"
        DefaultDepth    24
        Subsection "Display"
                Depth       24
                Modes       "1600x1200"
        EndSubsection
EndSection

##############################################################

Section "DRI"
        Group        0
        Mode         0666
EndSection

#######################################################
###  Calomel.org xorg.conf  END
#######################################################



Want a fast and functional desktop window manager? Try fvwm2. Check out our Fvwm2 Config "blue theme" (.fvwm2rc)





Questions, comments, or suggestions? Contact Calomel.org