如何让单独的 x 屏幕多显示器工作

如何让单独的 x 屏幕多显示器工作

刚刚升级到 14.04,重启后我的辅助显示器无法像升级前那样工作。我尝试让它恢复工作,但这次似乎不起作用。之前我将两个显示器作为单独的 x 屏幕,并通过 Nvidia x 服务器设置进行配置。

现在我的第二台显示器只有黑色背景,没有其他内容。我仍然可以移动光标到它上面,但无法对它执行任何操作。我的 xorg.conf 文件位于本文底部。

有人有什么想法吗?如果您需要更多信息,请直接询问。

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 337.12  (buildd@charichuelo)  Wed Apr  9 12:25:02 UTC 2014

Section "ServerLayout"
Identifier     "Layout0"
Screen      0  "Screen0"
Screen      1  "Screen1" LeftOf "Screen0"
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier     "Keyboard0"
Driver         "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier     "Monitor0"
VendorName     "Unknown"
ModelName      "BenQ GW2265"
HorizSync       30.0 - 83.0
VertRefresh     50.0 - 76.0
Option         "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier     "Monitor1"
VendorName     "Unknown"
ModelName      "HP L1740"
HorizSync       30.0 - 83.0
VertRefresh     50.0 - 76.0
Option         "DPMS"
EndSection

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce GTX 650"
Option         "Coolbits" "4"
BusID          "PCI:1:0:0"
Screen          0
EndSection

Section "Device"
Identifier     "Device1"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce GTX 650"
Option         "Coolbits" "4"
BusID          "PCI:1:0:0"
Screen          1
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
Option         "Stereo" "0"
Option         "nvidiaXineramaInfoOrder" "DFP-2"
Option         "metamodes" "DVI-D-1: nvidia-auto-select +0+0"
Option         "SLI" "Off"
Option         "MultiGPU" "Off"
Option         "BaseMosaic" "off"
SubSection     "Display"
    Depth       24
EndSubSection
EndSection

Section "Screen"
Identifier     "Screen1"
Device         "Device1"
Monitor        "Monitor1"
DefaultDepth    24
Option         "Stereo" "0"
Option         "metamodes" "VGA-0: nvidia-auto-select +0+0"
Option         "SLI" "Off"
Option         "MultiGPU" "Off"
Option         "BaseMosaic" "off"
SubSection     "Display"
    Depth       24
EndSubSection
EndSection

更多信息。当我进入“系统设置”>“屏幕显示”时,只检测到我的主显示器。我很确定我的第二台显示器之前在那里。

答案1

我刚刚也遇到了同样的情况。我查看了一下/etc/X11,发现我的xorg.conf文件已被重命名,xorg.conf.MMDDYYYY其中 MMDDYYYY 被设置为今天的日期(我升级的那天)。

我将此xorg.conf.MMDDYYY文件复制到/etc/X11/xorg.conf,重新启动,我的第二台显示器恢复了运行。也许你不会这么轻松,但这对我来说很有效。

相关内容