虚拟机下安装了Ubuntu16.04分辨率只是800X600

虚拟机下安装了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

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值