VBox下Ubuntu更改分辨率方法

本文介绍如何通过配置Ubuntu的xorg.conf文件来提高在VirtualBox中的显示分辨率。步骤包括安装GuestAdditions、编辑配置文件并指定所需的分辨率,最后重启系统。

 在windows中用VirtualBox (v3.0.2)安装Ubuntu(v9.0.4),默认按照800*600显示,可以采用下列方式更改分辨率

 

1、加载VBox的Guest Additions

2、运行一个终端

3、执行su - 更改到root用户 (如果更改失败,先激活root用户)

4、编辑/etc/X11/xorg.conf ,增加红色字段

 

Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection

 

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    SubSection    "Display"
        Modes    "1280x702" "1280x800" "800x600" "640x478"
    EndSubSection

EndSection

 

 

5、进入/media/cdrom0(根据你具体情况有可能不同)

6、运行autorun.sh或者VBoxLinuxAdditions-x86.run或者VBoxLinuxAdditions-amd64.run(根据你的CPU类型选择)

7、重启

 

Note: If not changed, try to press "Ctrl + F ".

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值