Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I am using an nVidia 6600 GT AGP video card and have two monitors connected to the two ports on the back of the card (it is dual head). ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    66

    Running Dual X-Servers on Dual Monitors


    Hello,

    I am using an nVidia 6600 GT AGP video card and have two monitors connected to the two ports on the back of the card (it is dual head). The problem that I am having right now is getting the dual displays to work. One of the two works fine, but the other won't work. Here is my X.org config file:

    Code:
    # /.../
    # SaX generated X11 config file
    # Created on: 2005-02-12T06:17:34-0500.
    #
    # Version: 4.8
    # Contact&#58; Marcus Schaefer <sax@suse.de>, 2002
    #
    # Automatically generated by &#91;ISaX&#93; &#40;4.8&#41;
    # PLEASE DO NOT EDIT THIS FILE!
    #
    Section "Files"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/local"
      FontPath     "/usr/X11R6/lib/X11/fonts/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/URW"
      FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
      FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
      FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/japanese&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
      FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
      FontPath     "/usr/X11R6/lib/X11/fonts/uni&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/CID"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
      FontPath     "/opt/kde3/share/fonts"
      InputDevices "/dev/ttyS0"
      InputDevices "/dev/ttyS1"
      InputDevices "/dev/ttyS2"
      InputDevices "/dev/ttyS3"
      InputDevices "/dev/ttyS4"
      InputDevices "/dev/ttyS5"
      InputDevices "/dev/ttyS6"
      InputDevices "/dev/ttyS7"
      InputDevices "/dev/ttyS8"
      InputDevices "/dev/psaux"
      InputDevices "/dev/logibm"
      InputDevices "/dev/sunmouse"
      InputDevices "/dev/atibm"
      InputDevices "/dev/amigamouse"
      InputDevices "/dev/atarimouse"
      InputDevices "/dev/inportbm"
      InputDevices "/dev/gpmdata"
      InputDevices "/dev/mouse"
      InputDevices "/dev/usbmouse"
      InputDevices "/dev/adbmouse"
      InputDevices "/dev/input/mice"
      InputDevices "/dev/input/event0"
      InputDevices "/dev/pointer0"
      InputDevices "/dev/pointer1"
      InputDevices "/dev/pointer2"
      InputDevices "/dev/pointer3"
    EndSection
    
    Section "ServerFlags"
      Option       "AllowMouseOpenFail"
      Option       "RandR" "on"
    EndSection
    
    Section "Module"
      Load         "dbe"
      Load         "type1"
      Load         "freetype"
      Load         "extmod"
      Load         "glx"
      Load         "v4l"
    EndSection
    
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard&#91;0&#93;"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "pc104"
      Option       "XkbRules" "xfree86"
    EndSection
    
    #Section "InputDevice"
    #  Driver       "mouse"
    #  Identifier   "Mouse&#91;1&#93;"
    #  Option       "Buttons" "10"
    #  Option       "Device" "/dev/input/mice"
    #  Option       "Name" "Logitech USB-PS/2 Optical Mouse"
    #  Option       "Protocol" "explorerps/2"
    #  Option       "Vendor" "Sysp"
    #  Option       "ZAxisMapping" "4 5"
    #EndSection
    
    Section "InputDevice"
      Driver       "mouse"
      Identifier   "Mouse&#91;1&#93;"
      Option       "InputFashion" "Mouse"
      Option       "Name" "Logitech MX500"
      Option       "Device" "/dev/input/mice"
      Option       "Protocol" "explorerps/2"
      Option       "Buttons" "7"
      Option       "ZAxisMapping" "6 7"
    EndSection
    
    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      HorizSync    30-60
      Identifier   "Monitor&#91;0&#93;"
      ModelName    "1024X768@75HZ"
      VendorName   "--> LCD"
      VertRefresh  56-75
      UseModes     "Modes&#91;0&#93;"
    EndSection
    
    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      HorizSync    30-95
      Identifier   "Monitor&#91;1&#93;"
      ModelName    "K9034X"
      VendorName   "Likom"
      VertRefresh  50-160
      UseModes     "Modes&#91;1&#93;"
    EndSection
    
    Section "Modes"
      Identifier   "Modes&#91;0&#93;"
      Modeline 	"1024x768" 79.52 1024 1080 1192 1328 768 769 772 801
    EndSection
    
    Section "Modes"
      Identifier   "Modes&#91;1&#93;"
      Modeline "1152x864" 84.02 1152 1168 1384 1568 864 864 872 902
      Modeline "1152x864" 96.94 1152 1168 1384 1568 864 864 874 902
      Modeline "1152x864" 109.87 1152 1168 1384 1568 864 864 875 902
      Modeline "1024x768" 66.29 1024 1040 1216 1400 768 768 775 802
      Modeline "1024x768" 76.49 1024 1040 1216 1400 768 768 776 802
      Modeline "1024x768" 86.69 1024 1040 1216 1400 768 768 778 802
      Modeline "800x600" 40.56 800 816 928 1072 600 600 606 626
      Modeline "800x600" 46.80 800 816 928 1072 600 600 606 626
      Modeline "800x600" 53.04 800 816 928 1072 600 600 607 626
      Modeline "640x480" 25.96 640 656 720 864 480 480 484 501
      Modeline "640x480" 29.95 640 656 720 864 480 480 485 501
      Modeline "640x480" 33.95 640 656 720 864 480 480 486 501
      Modeline "1280x1024" 157.50 1280 1360 1520 1728 1024 1025 1028 1072 
    EndSection
    
    Section "Screen"
      DefaultDepth 24
      SubSection "Display"
        Depth      15
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" 
      EndSubSection
      Device       "Device&#91;0&#93;"
      Identifier   "Screen&#91;0&#93;"
      Monitor      "Monitor&#91;0&#93;"
    EndSection
    
    Section "Screen"
      DefaultDepth 24
      SubSection "Display"
        Depth      15
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" 
      EndSubSection
      Device       "Device&#91;1&#93;"
      Identifier   "Screen&#91;1&#93;"
      Monitor      "Monitor&#91;1&#93;"
    EndSection
    
    Section "Device"
      BoardName    "GeForce 6600 GT"
      Driver       "nvidia"
      Identifier   "Device&#91;0&#93;"
      Screen       0
      Option       "Rotate" "off"
      VendorName   "NVidia"
    EndSection
    
    Section "Device"
      BoardName    "GeForce 6600 GT"
      Driver       "nvidia"
      Identifier   "Device&#91;1&#93;"
      Screen       1
      Option       "Rotate" "off"
      VendorName   "NVidia"
    EndSection
    
    Section "ServerLayout"
      Identifier   "Layout&#91;all&#93;"
      InputDevice  "Keyboard&#91;0&#93;" "CoreKeyboard"
      InputDevice  "Mouse&#91;1&#93;" "CorePointer"
      Option       "Clone" "off"
      Option       "Xinerama" "off"
      Screen       0 "Screen&#91;0&#93;"
      Screen       1 "Screen&#91;1&#93;" leftOf "Screen&#91;0&#93;
    EndSection
    
    Section "DRI"
        Group      "video"
        Mode       0660
    EndSection
    
    Section "Extensions"
    EndSection
    Also, when I try to start an additional X-Server (as root, X :1.0), it appears on the first screen and then I have to do CONTROL+ALT+BACKSPACE to exit out and get back to the first X-Server. Here is the output I get in console:

    Code:
    X Window System Version 6.8.1
    Release Date&#58; 17 September 2004
    X Protocol Version 11, Revision 0, Release 6.8.1
    Build Operating System&#58; SuSE Linux &#91;ELF&#93; SuSE
    Current Operating System&#58; Linux linux 2.6.8-24.11-default #1 Fri Jan 14 13&#58;01&#58;26 UTC 2005 i686
    Build Date&#58; 09 November 2004
            Before reporting problems, check http&#58;//wiki.X.Org
            to make sure that you have the latest version.
    Module Loader present
    Markers&#58; &#40;--&#41; probed, &#40;**&#41; from config file, &#40;==&#41; default setting,
            &#40;++&#41; from command line, &#40;!!&#41; notice, &#40;II&#41; informational,
            &#40;WW&#41; warning, &#40;EE&#41; error, &#40;NI&#41; not implemented, &#40;??&#41; unknown.
    &#40;==&#41; Log file&#58; "/var/log/Xorg.1.0.log", Time&#58; Sun Feb 20 01&#58;59&#58;15 2005
    &#40;==&#41; Using config file&#58; "/etc/X11/xorg.conf"
    &#40;WW&#41; NVIDIA&#58; More than one matching Device section found&#58; Device&#91;1&#93;
    Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
    My goal is to get KDE running on my first monitor and TWM running on my second monitor, so I can use TWM to play games (Unreal Tournament 2004, etc.) on my 19" CRT and just use the LCD for KDE.

    Thanks for any help and sorry for the long post

  2. #2
    Just Joined!
    Join Date
    Sep 2004
    Posts
    66
    Okay, I got the other monitor working, now I just need to figure out how to get two different desktop environments running on each

    Here's my config file if it helps anyone else...

    Code:
    # /.../
    # SaX generated X11 config file
    # Created on&#58; 2005-02-20T07&#58;54&#58;01-0500.
    #
    # Version&#58; 4.8
    # Contact&#58; Marcus Schaefer <sax@suse.de>, 2002
    #
    # Automatically generated by &#91;ISaX&#93; &#40;4.8&#41;
    # PLEASE DO NOT EDIT THIS FILE!
    #
    Section "Files"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/local"
      FontPath     "/usr/X11R6/lib/X11/fonts/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/URW"
      FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
      FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
      FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/japanese&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
      FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
      FontPath     "/usr/X11R6/lib/X11/fonts/uni&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/CID"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi&#58;unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
      FontPath     "/opt/kde3/share/fonts"
      InputDevices "/dev/ttyS0"
      InputDevices "/dev/ttyS1"
      InputDevices "/dev/ttyS2"
      InputDevices "/dev/ttyS3"
      InputDevices "/dev/ttyS4"
      InputDevices "/dev/ttyS5"
      InputDevices "/dev/ttyS6"
      InputDevices "/dev/ttyS7"
      InputDevices "/dev/ttyS8"
      InputDevices "/dev/psaux"
      InputDevices "/dev/logibm"
      InputDevices "/dev/sunmouse"
      InputDevices "/dev/atibm"
      InputDevices "/dev/amigamouse"
      InputDevices "/dev/atarimouse"
      InputDevices "/dev/inportbm"
      InputDevices "/dev/gpmdata"
      InputDevices "/dev/mouse"
      InputDevices "/dev/usbmouse"
      InputDevices "/dev/adbmouse"
      InputDevices "/dev/input/mice"
      InputDevices "/dev/input/event0"
      InputDevices "/dev/pointer0"
      InputDevices "/dev/pointer1"
      InputDevices "/dev/pointer2"
      InputDevices "/dev/pointer3"
    EndSection
    
    Section "ServerFlags"
      Option       "AllowMouseOpenFail"
      Option       "RandR" "on"
    EndSection
    
    Section "Module"
      Load         "freetype"
      Load         "type1"
      Load         "dbe"
      Load         "glx"
      Load         "extmod"
      Load         "v4l"
    EndSection
    
    Section "InputDevice"
      Driver       "kbd"
      Identifier   "Keyboard&#91;0&#93;"
      Option       "Protocol" "Standard"
      Option       "XkbLayout" "us"
      Option       "XkbModel" "pc104"
      Option       "XkbRules" "xfree86"
    EndSection
    
    Section "InputDevice"
      Driver       "mouse"
      Identifier   "Mouse&#91;1&#93;"
      Option       "Buttons" "7"
      Option       "Device" "/dev/input/mice"
      Option       "InputFashion" "Mouse"
      Option       "Name" "Logitech MX500"
      Option       "Protocol" "explorerPS/2"
      Option       "ZAxisMapping" "6 7"
    EndSection
    
    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      HorizSync    30-60
      Identifier   "Monitor&#91;0&#93;"
      ModelName    "1024X768@75HZ"
      VendorName   "--> LCD"
      VertRefresh  56-75
      UseModes     "Modes&#91;0&#93;"
    EndSection
    
    Section "Monitor"
      Option       "CalcAlgorithm" "CheckDesktopGeometry"
      HorizSync    28-95
      Identifier   "Monitor&#91;1&#93;"
      ModelName    "K903X"
      Option       "DPMS"
      VendorName   "LIKOM"
      VertRefresh  50-160
      UseModes     "Modes&#91;1&#93;"
    EndSection
    
    Section "Modes"
      Identifier   "Modes&#91;0&#93;"
      Modeline 	"1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
      Modeline 	"800x600" 40.19 800 832 912 1024 600 601 604 623
      Modeline 	"800x600" 47.53 800 840 920 1040 600 601 604 626
      Modeline 	"768x576" 37.37 768 800 880 992 576 577 580 598
      Modeline 	"768x576" 43.52 768 800 880 992 576 577 580 601
      Modeline 	"640x480" 25.10 640 656 720 800 480 481 484 498
      Modeline 	"640x480" 29.84 640 664 728 816 480 481 484 501
    EndSection
    
    Section "Modes"
      Identifier   "Modes&#91;1&#93;"
      Modeline 	"1024x768" 130.12 1024 1096 1208 1472 768 769 772 884
      Modeline 	"800x600" 36.88 800 832 912 1024 600 601 604 621
      Modeline 	"800x600" 44.13 800 840 920 1040 600 601 604 624
      Modeline 	"800x600" 51.73 800 840 928 1056 600 601 604 628
      Modeline 	"800x600" 58.73 800 840 928 1056 600 601 604 632
      Modeline 	"800x600" 66.71 800 848 936 1072 600 601 604 635
      Modeline 	"800x600" 73.98 800 848 936 1072 600 601 604 639
      Modeline 	"800x600" 82.55 800 856 944 1088 600 601 604 643
      Modeline 	"800x600" 90.10 800 856 944 1088 600 601 604 647
      Modeline 	"800x600" 97.59 800 856 944 1088 600 601 604 650
      Modeline 	"768x576" 33.74 768 792 872 976 576 577 580 596
      Modeline 	"768x576" 40.41 768 800 880 992 576 577 580 599
      Modeline 	"768x576" 47.41 768 808 888 1008 576 577 580 603
      Modeline 	"768x576" 53.75 768 808 888 1008 576 577 580 606
      Modeline 	"768x576" 61.21 768 816 896 1024 576 577 580 610
      Modeline 	"768x576" 67.79 768 816 896 1024 576 577 580 613
      Modeline 	"768x576" 75.72 768 824 904 1040 576 577 580 617
      Modeline 	"768x576" 82.67 768 824 904 1040 576 577 580 621
      Modeline 	"768x576" 89.56 768 824 904 1040 576 577 580 624
      Modeline 	"640x480" 23.06 640 656 720 800 480 481 484 497
      Modeline 	"640x480" 27.74 640 664 728 816 480 481 484 500
      Modeline 	"640x480" 32.64 640 672 736 832 480 481 484 503
      Modeline 	"640x480" 36.97 640 672 736 832 480 481 484 505
      Modeline 	"640x480" 42.22 640 680 744 848 480 481 484 508
      Modeline 	"640x480" 46.80 640 680 744 848 480 481 484 511
      Modeline 	"640x480" 51.43 640 680 744 848 480 481 484 514
      Modeline 	"640x480" 57.18 640 680 752 864 480 481 484 517
      Modeline 	"640x480" 62.12 640 680 752 864 480 481 484 521
    EndSection
    
    Section "Screen"
      DefaultDepth 16
      SubSection "Display"
        Depth      15
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1024x768" "800x600" "768x576" "640x480" 
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" 
      EndSubSection
      Device       "Device&#91;0&#93;"
      Identifier   "Screen&#91;0&#93;"
      Monitor      "Monitor&#91;0&#93;"
    EndSection
    
    Section "Screen"
      DefaultDepth 16
      SubSection "Display"
        Depth      15
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      16
        Modes      "1024x768" "800x600" "768x576" "640x480" 
      EndSubSection
      SubSection "Display"
        Depth      24
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      32
        Modes      "1024x768" 
      EndSubSection
      SubSection "Display"
        Depth      8
        Modes      "1024x768" 
      EndSubSection
      Device       "Device&#91;1&#93;"
      Identifier   "Screen&#91;1&#93;"
      Monitor      "Monitor&#91;1&#93;"
    EndSection
    
    Section "Device"
      BoardName    "GeForce 6600 GT"
      BusID        "PCI&#58;1&#58;0&#58;0"
      Driver       "nvidia"
      Identifier   "Device&#91;0&#93;"
      Screen       0
      Option       "Rotate" "off"
      VendorName   "NVidia"
    EndSection
    
    Section "Device"
      BoardName    "GeForce 6600 GT"
      BusID        "PCI&#58;1&#58;0&#58;0"
      Driver       "nvidia"
      Identifier   "Device&#91;1&#93;"
      Screen       1
      Option       "Rotate" "off"
      VendorName   "NVidia"
    EndSection
    
    Section "ServerLayout"
      Identifier   "Layout&#91;all&#93;"
      InputDevice  "Keyboard&#91;0&#93;" "CoreKeyboard"
      InputDevice  "Mouse&#91;1&#93;" "CorePointer"
      Option       "Clone" "off"
      Option       "Xinerama" "off"
      Screen       0 "Screen&#91;0&#93;"
      Screen       1 "Screen&#91;1&#93;" leftOf "Screen&#91;0&#93;"
    EndSection
    
    Section "DRI"
        Group      "video"
        Mode       0660
    EndSection
    
    Section "Extensions"
    EndSection

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Posts
    1
    You should be able to span desktops by changing "Xinerama" to this setting

    Option "Clone" "off"
    Option "Xinerama" "on"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •