安装好centos之后分辨率出奇的低,在网上找了很多办法尝试未果,这里说一下我成功的办法。
创建xorg.conf
sudo vim /etc/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
- 最后强制保存退出
:wq!
- 重新启动。