解决:Ubuntu 设置屏幕分辨率显示Unknown display |
您所在的位置:网站首页 › ubuntu 设置屏幕分辨率 › 解决:Ubuntu 设置屏幕分辨率显示Unknown display |
文章目录
解决方法方法一:(临时性,重启会失效)方法二:(永久性,重启也不失效):可提供远程搭建运行服务
无法设置分辨率 解决方法 方法一:(临时性,重启会失效)使用xrandr命令调节分辨率,带*号的为当前分辨率,如下: 改变分辨率用,xrandr -s 1360x768_60.02 此方法为临时更改,重启Ubuntu后会失效 方法二:(永久性,重启也不失效):添加 /etc/X11/xorg.conf 文件,将此模式保存为默认分辨率。 输入命令: sudo vim /etc/X11/xorg.conf如果出现以下情况,就说明没有安装vim,可以输入命令: sudo gedit /etc/X11/xorg.conf将下面内容粘贴进去 Section "Monitor" Identifier "Configured Monitor" Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync + vsync Option "PreferredMode" "1360x768_60.00" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection Section "Device" Identifier "Configured Video Device" EndSection如下: 最后保存,重启Ubuntu即可 可提供远程搭建运行服务不会调试运行的同学,你只需打开远程,会帮你搭建调试好一切(JDK、Idea/Eclipse、MySQL、Tomcat、Maven………) |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |