{"id":143,"date":"2010-07-20T17:30:18","date_gmt":"2010-07-20T21:30:18","guid":{"rendered":"http:\/\/bitc.bme.emory.edu\/~lzhou\/blogs\/?p=143"},"modified":"2010-07-20T17:30:18","modified_gmt":"2010-07-20T21:30:18","slug":"xorgconf-for-rhel-dual-monitor","status":"publish","type":"post","link":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/?p=143","title":{"rendered":"xorg.conf for RHEL dual monitor"},"content":{"rendered":"<p>http:\/\/hpclab.blogspot.com\/2007\/11\/rhel-dual-monitor.html<br \/>\nRHEL dual monitor<br \/>\nDual monitor test on RHEL 4<\/p>\n<p>Video card<\/p>\n<p>nVidia 128MB PCIe x16 nVidia Quadro NVS 285, Dual DVI or Dual VGA capable<\/p>\n<p>Monitors<\/p>\n<p>Two monitors have different resolution each other;<\/p>\n<p>1)DELL 2007FPW, 1600&#215;1200<br \/>\n2)DELL 1707FPVt, 1280&#215;1024<\/p>\n<p>Test methods<\/p>\n<p>There are two different mode for utilizing 2 monitors on Linux. Both of them can be configured in \/etc\/X11\/xorg.conf file.<\/p>\n<p>TwinView : Single X session<\/p>\n<p># nvidia-xconfig: X configuration file generated by nvidia-xconfig<br \/>\n# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Mar 29 15:31:59 PST 2006<\/p>\n<p># Xorg configuration created by system-config-display<\/p>\n<p>Section &#8220;ServerLayout&#8221;<br \/>\nIdentifier     &#8220;single head configuration&#8221;<br \/>\nScreen      0  &#8220;Screen0&#8221; 0 0<br \/>\nInputDevice    &#8220;Mouse0&#8221; &#8220;CorePointer&#8221;<br \/>\nInputDevice    &#8220;Keyboard0&#8221; &#8220;CoreKeyboard&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Files&#8221;<\/p>\n<p># RgbPath is the location of the RGB database.  Note, this is the name of the<br \/>\n# file minus the extension (like &#8220;.txt&#8221; or &#8220;.db&#8221;).  There is normally<br \/>\n# no need to change the default.<br \/>\n# Multiple FontPath entries are allowed (they are concatenated together)<br \/>\n# By default, Red Hat 6.0 and later now use a font server independent of<br \/>\n# the X server to render fonts.<br \/>\nRgbPath         &#8220;\/usr\/X11R6\/lib\/X11\/rgb&#8221;<br \/>\nFontPath        &#8220;unix\/:7100&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Module&#8221;<br \/>\nLoad           &#8220;dbe&#8221;<br \/>\nLoad           &#8220;extmod&#8221;<br \/>\nLoad           &#8220;fbdevhw&#8221;<br \/>\nLoad           &#8220;glx&#8221;<br \/>\nLoad           &#8220;record&#8221;<br \/>\nLoad           &#8220;freetype&#8221;<br \/>\nLoad           &#8220;type1&#8221;<br \/>\nLoad           &#8220;vnc&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;ServerFlags&#8221;<br \/>\nOption         &#8220;AllowMouseOpenFail&#8221; &#8220;yes&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;InputDevice&#8221;<\/p>\n<p># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))<br \/>\n# Option &#8220;Xleds&#8221;  &#8220;1 2 3&#8221;<br \/>\n# To disable the XKEYBOARD extension, uncomment XkbDisable.<br \/>\n# Option &#8220;XkbDisable&#8221;<br \/>\n# To customise the XKB settings to suit your keyboard, modify the<br \/>\n# lines below (which are the defaults).  For example, for a non-U.S.<br \/>\n# keyboard, you will probably want to use:<br \/>\n# Option &#8220;XkbModel&#8221; &#8220;pc102&#8221;<br \/>\n# If you have a US Microsoft Natural keyboard, you can use:<br \/>\n# Option &#8220;XkbModel&#8221; &#8220;microsoft&#8221;<br \/>\n#<br \/>\n# Then to change the language, change the Layout setting.<br \/>\n# For example, a german layout can be obtained with:<br \/>\n# Option &#8220;XkbLayout&#8221; &#8220;de&#8221;<br \/>\n# or:<br \/>\n# Option &#8220;XkbLayout&#8221; &#8220;de&#8221;<br \/>\n# Option &#8220;XkbVariant&#8221; &#8220;nodeadkeys&#8221;<br \/>\n#<br \/>\n# If you&#8217;d like to switch the positions of your capslock and<br \/>\n# control keys, use:<br \/>\n# Option &#8220;XkbOptions&#8221; &#8220;ctrl:swapcaps&#8221;<br \/>\n# Or if you just want both to be control, use:<br \/>\n# Option &#8220;XkbOptions&#8221; &#8220;ctrl:nocaps&#8221;<br \/>\n#<br \/>\nIdentifier     &#8220;Keyboard0&#8221;<br \/>\nDriver         &#8220;kbd&#8221;<br \/>\nOption         &#8220;XkbModel&#8221; &#8220;pc105&#8221;<br \/>\nOption         &#8220;XkbLayout&#8221; &#8220;us&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;InputDevice&#8221;<br \/>\nIdentifier     &#8220;Mouse0&#8221;<br \/>\nDriver         &#8220;mouse&#8221;<br \/>\nOption         &#8220;Protocol&#8221; &#8220;IMPS\/2&#8221;<br \/>\nOption         &#8220;Device&#8221; &#8220;\/dev\/input\/mice&#8221;<br \/>\nOption         &#8220;ZAxisMapping&#8221; &#8220;4 5&#8221;<br \/>\nOption         &#8220;Emulate3Buttons&#8221; &#8220;no&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Monitor&#8221;<br \/>\nIdentifier     &#8220;Monitor0&#8221;<br \/>\nVendorName     &#8220;Monitor Vendor&#8221;<br \/>\nModelName      &#8220;Dell 2000FP (Digital)&#8221;<br \/>\nHorizSync       31.5 &#8211; 80.0<br \/>\nVertRefresh     56.0 &#8211; 76.0<br \/>\nOption         &#8220;dpms&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Device&#8221;<br \/>\nIdentifier     &#8220;Videocard0&#8221;<br \/>\nDriver         &#8220;nvidia&#8221;<br \/>\nVendorName     &#8220;Videocard vendor&#8221;<br \/>\nBoardName      &#8220;NVIDIA PCI-Express Quadro 4 285 NVS&#8221;<\/p>\n<p># for TwinView<br \/>\nBusID       &#8220;PCI:7:0:0&#8221;<br \/>\n  Option     &#8220;TwinView&#8221;<br \/>\n  Option     &#8220;MetaModes&#8221;  &#8220;1280&#215;1024, 1280&#215;1024; 1280&#215;1024,1280&#215;1024; 1280&#215;1024; 1024&#215;768,1024&#215;768; 1024&#215;768; 800&#215;600,800&#215;600; 800&#215;600&#8221;<br \/>\n  Option     &#8220;TwinViewOrientation&#8221;      &#8220;RightOf&#8221;<br \/>\n  Option     &#8220;SecondMonitorHorizSync&#8221;   &#8220;30-81&#8221;<br \/>\n  Option     &#8220;SecondMonitorVertRefresh&#8221; &#8220;56-76&#8221;<\/p>\n<p>EndSection<\/p>\n<p>Section &#8220;Screen&#8221;<br \/>\nIdentifier     &#8220;Screen0&#8221;<br \/>\nDevice         &#8220;Videocard0&#8221;<br \/>\nMonitor        &#8220;Monitor0&#8221;<br \/>\nDefaultDepth    24<br \/>\nOption         &#8220;SecurityTypes&#8221; &#8220;VncAuth&#8221;<br \/>\nOption         &#8220;UserPasswdVerifier&#8221; &#8220;VncAuth&#8221;<br \/>\nOption         &#8220;PasswordFile&#8221; &#8220;\/root\/.vnc\/passwd&#8221;<br \/>\nSubSection     &#8220;Display&#8221;<br \/>\n Viewport    0 0<br \/>\n Depth       16<br \/>\n Modes      &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\nEndSubSection<br \/>\nSubSection     &#8220;Display&#8221;<br \/>\n Viewport    0 0<br \/>\n Depth       24<br \/>\n Modes      &#8220;1600&#215;1200&#8221; &#8220;1680&#215;1050&#8221; &#8220;1400&#215;1050&#8221; &#8220;1280&#215;1024&#8221; &#8220;1280&#215;960&#8221; &#8220;1152&#215;864&#8221; &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\nEndSubSection<br \/>\nEndSection<\/p>\n<p>Dual monitor : Dual X session<\/p>\n<p># nvidia-xconfig: X configuration file generated by nvidia-xconfig<br \/>\n# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Wed Mar 29 15:31:59 PST 2006<\/p>\n<p># Xorg configuration created by system-config-display<\/p>\n<p>Section &#8220;ServerLayout&#8221;<br \/>\n#   Identifier     &#8220;single head configuration&#8221;<br \/>\nIdentifier     &#8220;single head configuration&#8221;<br \/>\n  Screen         &#8220;Screen0&#8221; LeftOf &#8220;Screen1&#8221;<br \/>\n  Screen         &#8220;Screen1&#8221;<br \/>\nInputDevice    &#8220;Mouse0&#8221; &#8220;CorePointer&#8221;<br \/>\nInputDevice    &#8220;Keyboard0&#8221; &#8220;CoreKeyboard&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Files&#8221;<\/p>\n<p># RgbPath is the location of the RGB database.  Note, this is the name of the<br \/>\n# file minus the extension (like &#8220;.txt&#8221; or &#8220;.db&#8221;).  There is normally<br \/>\n# no need to change the default.<br \/>\n# Multiple FontPath entries are allowed (they are concatenated together)<br \/>\n# By default, Red Hat 6.0 and later now use a font server independent of<br \/>\n# the X server to render fonts.<br \/>\nRgbPath         &#8220;\/usr\/X11R6\/lib\/X11\/rgb&#8221;<br \/>\nFontPath        &#8220;unix\/:7100&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Module&#8221;<br \/>\nLoad           &#8220;dbe&#8221;<br \/>\nLoad           &#8220;extmod&#8221;<br \/>\nLoad           &#8220;fbdevhw&#8221;<br \/>\nLoad           &#8220;glx&#8221;<br \/>\nLoad           &#8220;record&#8221;<br \/>\nLoad           &#8220;freetype&#8221;<br \/>\nLoad           &#8220;type1&#8221;<br \/>\nLoad           &#8220;vnc&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;ServerFlags&#8221;<br \/>\nOption         &#8220;AllowMouseOpenFail&#8221; &#8220;yes&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;InputDevice&#8221;<\/p>\n<p># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))<br \/>\n# Option &#8220;Xleds&#8221;  &#8220;1 2 3&#8221;<br \/>\n# To disable the XKEYBOARD extension, uncomment XkbDisable.<br \/>\n# Option &#8220;XkbDisable&#8221;<br \/>\n# To customise the XKB settings to suit your keyboard, modify the<br \/>\n# lines below (which are the defaults).  For example, for a non-U.S.<br \/>\n# keyboard, you will probably want to use:<br \/>\n# Option &#8220;XkbModel&#8221; &#8220;pc102&#8221;<br \/>\n# If you have a US Microsoft Natural keyboard, you can use:<br \/>\n# Option &#8220;XkbModel&#8221; &#8220;microsoft&#8221;<br \/>\n#<br \/>\n# Then to change the language, change the Layout setting.<br \/>\n# For example, a german layout can be obtained with:<br \/>\n# Option &#8220;XkbLayout&#8221; &#8220;de&#8221;<br \/>\n# or:<br \/>\n# Option &#8220;XkbLayout&#8221; &#8220;de&#8221;<br \/>\n# Option &#8220;XkbVariant&#8221; &#8220;nodeadkeys&#8221;<br \/>\n#<br \/>\n# If you&#8217;d like to switch the positions of your capslock and<br \/>\n# control keys, use:<br \/>\n# Option &#8220;XkbOptions&#8221; &#8220;ctrl:swapcaps&#8221;<br \/>\n# Or if you just want both to be control, use:<br \/>\n# Option &#8220;XkbOptions&#8221; &#8220;ctrl:nocaps&#8221;<br \/>\n#<br \/>\nIdentifier     &#8220;Keyboard0&#8221;<br \/>\nDriver         &#8220;kbd&#8221;<br \/>\nOption         &#8220;XkbModel&#8221; &#8220;pc105&#8221;<br \/>\nOption         &#8220;XkbLayout&#8221; &#8220;us&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;InputDevice&#8221;<br \/>\nIdentifier     &#8220;Mouse0&#8221;<br \/>\nDriver         &#8220;mouse&#8221;<br \/>\nOption         &#8220;Protocol&#8221; &#8220;IMPS\/2&#8221;<br \/>\nOption         &#8220;Device&#8221; &#8220;\/dev\/input\/mice&#8221;<br \/>\nOption         &#8220;ZAxisMapping&#8221; &#8220;4 5&#8221;<br \/>\nOption         &#8220;Emulate3Buttons&#8221; &#8220;no&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Monitor&#8221;<br \/>\nIdentifier     &#8220;Monitor0&#8221;<br \/>\nVendorName     &#8220;Monitor Vendor&#8221;<br \/>\nModelName      &#8220;Dell 2000FP (Digital)&#8221;<br \/>\nHorizSync       31.5 &#8211; 80.0<br \/>\nVertRefresh     56.0 &#8211; 76.0<br \/>\nOption         &#8220;dpms&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Monitor&#8221;<br \/>\n  Identifier     &#8220;Monitor1&#8221;<br \/>\n  VendorName     &#8220;Monitor Vendor&#8221;<br \/>\n  ModelName      &#8220;Dell 1707FP (Digital)&#8221;<br \/>\n  HorizSync       31.5 &#8211; 80.0<br \/>\n  VertRefresh     56.0 &#8211; 76.0<br \/>\n  Option         &#8220;dpms&#8221;<br \/>\nEndSection<\/p>\n<p>Section &#8220;Device&#8221;<br \/>\nIdentifier     &#8220;Videocard0&#8221;<br \/>\nDriver         &#8220;nvidia&#8221;<br \/>\nVendorName     &#8220;Videocard vendor&#8221;<br \/>\nBoardName      &#8220;NVIDIA PCI-Express Quadro 4 285 NVS&#8221;<br \/>\nBusID          &#8220;PCI:7:0:0&#8221;<br \/>\nScreen 0<br \/>\nEndSection<\/p>\n<p>Section &#8220;Device&#8221;<br \/>\n  Identifier     &#8220;Videocard1&#8221;<br \/>\n  Driver         &#8220;nvidia&#8221;<br \/>\n  VendorName     &#8220;Videocard vendor&#8221;<br \/>\n  BoardName      &#8220;NVIDIA PCI-Express Quadro 4 285 NVS&#8221;<br \/>\nBusID          &#8220;PCI:7:0:0&#8221;<br \/>\nScreen 1<br \/>\nEndSection<\/p>\n<p>Section &#8220;Screen&#8221;<br \/>\nIdentifier     &#8220;Screen0&#8221;<br \/>\nDevice         &#8220;Videocard0&#8221;<br \/>\nMonitor        &#8220;Monitor0&#8221;<br \/>\nDefaultDepth    24<br \/>\nOption         &#8220;SecurityTypes&#8221; &#8220;VncAuth&#8221;<br \/>\nOption         &#8220;UserPasswdVerifier&#8221; &#8220;VncAuth&#8221;<br \/>\nOption         &#8220;PasswordFile&#8221; &#8220;\/root\/.vnc\/passwd&#8221;<br \/>\nSubSection     &#8220;Display&#8221;<br \/>\n Viewport    0 0<br \/>\n Depth       16<br \/>\n Modes      &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\nEndSubSection<br \/>\nSubSection     &#8220;Display&#8221;<br \/>\n Viewport    0 0<br \/>\n Depth       24<br \/>\n Modes      &#8220;1600&#215;1200&#8221; &#8220;1680&#215;1050&#8221; &#8220;1400&#215;1050&#8221; &#8220;1280&#215;1024&#8221; &#8220;1280&#215;960&#8221; &#8220;1152&#215;864&#8221; &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\nEndSubSection<br \/>\nEndSection<\/p>\n<p>Section &#8220;Screen&#8221;<br \/>\n  Identifier     &#8220;Screen1&#8221;<br \/>\n  Device         &#8220;Videocard1&#8221;<br \/>\n  Monitor        &#8220;Monitor1&#8221;<br \/>\n  DefaultDepth    24<br \/>\n  Option         &#8220;SecurityTypes&#8221; &#8220;VncAuth&#8221;<br \/>\n  Option         &#8220;UserPasswdVerifier&#8221; &#8220;VncAuth&#8221;<br \/>\n  Option         &#8220;PasswordFile&#8221; &#8220;\/root\/.vnc\/passwd&#8221;<br \/>\n  SubSection     &#8220;Display&#8221;<br \/>\n      Viewport    0 0<br \/>\n      Depth       16<br \/>\n      Modes      &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\n  EndSubSection<br \/>\n  SubSection     &#8220;Display&#8221;<br \/>\n      Viewport    0 0<br \/>\n      Depth       24<br \/>\n      Modes      &#8220;1600&#215;1200&#8221; &#8220;1680&#215;1050&#8221; &#8220;1400&#215;1050&#8221; &#8220;1280&#215;1024&#8221; &#8220;1280&#215;960&#8221; &#8220;1152&#215;864&#8221; &#8220;1024&#215;768&#8221; &#8220;800&#215;600&#8221; &#8220;640&#215;480&#8221;<br \/>\n  EndSubSection<br \/>\nEndSection<\/p>\n<p>Results<\/p>\n<p>TwinView shares one X session and it looks virtually one big screen. However, failed to have a optimal resolution since two monitor has different resolution and ether of them does not work in maximum resolution and it looks like big font or low resolution.<\/p>\n<p>Dual monitor looks like you have two machines since it shows you different X session on each monitor. Mouse pointer moves one to another back and forth. It works fine and each monitor has menu bar separately. Best solution for two monitor with different resolution.<\/p>\n<p>References<\/p>\n<p>http:\/\/gentoo-wiki.com\/HOWTO_Dual_Monitors<br \/>\nhttp:\/\/www.yolinux.com\/TUTORIALS\/LinuxAndDualMonitors.html<br \/>\nhttp:\/\/http.download.nvidia.com\/XFree86\/Linux-x86\/1.0-8178\/README\/appendix-p.html<br \/>\nhttp:\/\/support.dell.com\/support\/edocs\/video\/P107426\/en\/usage.htm#display_modes<br \/>\nhttp:\/\/support.dell.com\/support\/edocs\/monitors\/2007WFP\/en\/index.htm<br \/>\nhttp:\/\/support2.jp.dell.com\/docs\/monitors\/1707FPV\/en\/index.htm<br \/>\nPosted by Brian T.S. at 8:27 AM<br \/>\nLabels: Dual monitor, RHEL <\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/hpclab.blogspot.com\/2007\/11\/rhel-dual-monitor.html RHEL dual monitor Dual monitor test on RHEL 4 Video card nVidia 128MB PCIe x16 nVidia Quadro NVS 285, Dual DVI or Dual VGA capable Monitors Two monitors have different resolution each other; 1)DELL 2007FPW, 1600&#215;1200 2)DELL 1707FPVt, 1280&#215;1024 Test methods There are two different mode for utilizing 2 monitors on Linux. Both of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,12],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-computer-tips","category-back-up-of-others-paper","post-blog"],"_links":{"self":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":0,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"wp:attachment":[{"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csic.som.emory.edu\/~lzhou\/blogs\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}