linux系统双显示器怎么设置复制,Redhat 5.6 双显示器 xorg.conf 设置
Redhat 5.6 雙顯示器 xorg.conf 設(shè)置
發(fā)布時間:2013-10-14 03:02:52來源:紅聯(lián)作者:121993446
筆者工作站為DELL T7600,兩個顯示器1920*1200.配置成雙屏擴展模式。使用中出現(xiàn)問題:用戶模式下,只能一個屏幕顯示。Nvidia-settings設(shè)置中,第二個屏幕為off。手動修改啟用,并保存到xorg.conf,提示無修改權(quán)限。但是在其他用戶下,雙屏可以正常顯示。
解決方案:修改xorg.conf
要點:serverLayout中設(shè)置成雙頭顯示,默認(rèn)的顯示器為screen0,添加的screen1 要給出定義。還有 monitor0,monitor1.videocard0,videocard1.“1”語句復(fù)制“0”的即可。配置之后,logout。如果提示無法進入桌面,會提示語句不完整。按提示的錯誤信息進行更改。
#gedit /etc/X11/xorg.conf
以下為配置文件內(nèi)容:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 310.32 (buildmeister@swio-display-x86-rhel47-01) Mon Jan 14 15:51:37 PST 2013
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 310.32 (buildmeister@swio-display-x86-rhel47-01) Mon Jan 14 15:51:51 PST 2013
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "Clone" "off"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2412M"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 61.0
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL U2412M"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 61.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro 2000"
#Option "NoTwinViewXineramaInfo" "True"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro 2000"
#Option "NoTwinViewXineramaInfo" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0; DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0; DFP-0: 1920x1200 +0+0, DFP-2: nvidia-auto-select +1920+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0; DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0; DFP-0: 1920x1200 +0+0, DFP-2: nvidia-auto-select +1920+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
總結(jié)
以上是生活随笔為你收集整理的linux系统双显示器怎么设置复制,Redhat 5.6 双显示器 xorg.conf 设置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: window.print()后针式打印机
- 下一篇: java 下载文件的文件名乱码_java