虚拟机下安装了Ubuntu16.04分辨率只是800X600,也不能自适应
需要两步:
第一步更改文件xorg.conf
参考网址https://www.cnblogs.com/heenhui2016/p/8243103.html
更改文件权限
1 sudo chmod 777 xorg.conf
复制以下内容到文件xorg.conf中:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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!(保存
第二步安装vmware虚拟机
参考网址https://jingyan.baidu.com/article/d169e186028680436611d8f5.html