virtualbox中安装完Ubuntu分辨率可选项很少的一种解决办法

Ubuntu中设置分辨率时发现只有640x480和1024x768两个选项,在网上搜索了一下可以使用命令xrandr去设置,可是我执行该命令却出现了

“xrandr: Failed to get size of gamma for output default” 

在网上看到了别人的解决办法,写一个配置文件然后重启就可以选择更多的分辨率了。摘取了原文一部分内容。原文地址点击打开链接

When I am trying to increase my Guest OS resolution to 1290X1080, while tried following steps mentioned HERE. Prior to that I was able to change the resolution by the above mentioned steps, but after a update to CENTOS 6.5 to 6.6, I am facing this error.Lots of people are having the same problem, but no solution I could not get my issue resolved.

I am able to get it solve to some extent by editing(creating) xorg.conf file in /etc/X11/ , the file code I am sharing below


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
  • 3
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值