大家好,我刚刚安装了 Ubuntu 16.04 LTS,我的电脑使用英特尔显卡,有两个显示器。但我检测不到第二台显示器。
xrander 输出:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.89
1280x800 59.81
1152x864 75.00
1280x720 60.00
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
xrandr 使用两个监视器进行输出:
Screen 0: minimum 8 x 8, current 3200 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected 1280x1024+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
1280x1024 75.02*
VGA1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.89
1280x800 59.81
1152x864 75.00
1280x720 60.00
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 60.00
720x400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
有什么建议吗?
答案1
根据xrandr
您发布的输出,您的显卡或驱动程序似乎不支持 DVI 输出。请尝试使用其他输出之一,并编写一个简单的xrandr
脚本来在登录时配置您的显示器。
我的登录脚本只有一行,如下所示:
xrandr --output VGA-0 --left-of DVI-0 --primary
我将其命名为 lxde-setup.sh 并将其添加到启动操作中。