VBox下Ubuntu更改分辨率方法

来源:互联网 发布:canny边缘检测算法原理 编辑:程序博客网 时间:2024/05/16 01:22

 在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".

 

原创粉丝点击