安装ubuntu16.4版本之后打开,屏幕分辨率只有800*600,并且在display没有其它分辨率选项,导致无法直接修改。
解决方案:
终端打开/etc/X11/下的xorg.conf文件(若不存在则创建一个):
sudo gedit /etc/X11/xorg.conf
将下列代码复制到该文件中:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28.0 - 70.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
Identifier "VMware SVGA"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080_60.00"
EndSubSection
EndSection
保存重启即可!