解决:Ubuntu 设置屏幕分辨率显示Unknown display

发布时间 2023-07-31 21:00:05作者: burlingame

转载:(18条消息) 解决:Ubuntu 设置屏幕分辨率显示Unknown display_ubuntu分辨率调整不了_知识驿站的博客-CSDN博客

解决方法
方法一:(临时性,重启会失效)
方法二:(永久性,重启也不失效):
可提供远程搭建运行服务
无法设置分辨率

 

 

解决方法
方法一:(临时性,重启会失效)
使用xrandr命令调节分辨率,带*号的为当前分辨率,如下:

 

 

改变分辨率用,xrandr -s 1360x768_60.02

此方法为临时更改,重启Ubuntu后会失效

 

 

方法二:(永久性,重启也不失效):
添加 /etc/X11/xorg.conf 文件,将此模式保存为默认分辨率。
输入命令:

sudo vim /etc/X11/xorg.conf

如果出现以下情况,就说明没有安装vim,可以输入命令:

sudo gedit /etc/X11/xorg.conf

 


将下面内容粘贴进去

 1 Section "Monitor"
 2 Identifier "Configured Monitor"
 3 Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +
 4 vsync
 5 Option "PreferredMode" "1360x768_60.00"
 6 EndSection
 7 Section "Screen"
 8 Identifier "Default Screen"
 9 Monitor "Configured Monitor"
10 Device "Configured Video Device"
11 EndSection
12 Section "Device"
13 Identifier "Configured Video Device"
14 EndSection

如下:

 最后保存,重启Ubuntu即可