您的位置:首页 > 其它

Virtural Box 虚拟ubuntu 修改分辨率

2011-05-23 18:57 344 查看
来源 http://www.diybl.com/course/6_system/linux/Linuxjs/2008614/125481.html

VirtualBox 在windows XP下虚拟Ubuntu全屏的解决方法

默认安装后声音、网络一切正常,就是不能完全全屏,ubuntu作为客机的分辨率只能调到800×600,从网上挖的,以备不时之需

1.安装VboxLinuxadditions

a)安装make gcc lib等

-------------------------------

apt-get install build-essential

-------------------------------

b)安装module-assistant

---------------------------------

apt-get install module-assistant

---------------------------------

c)运行

-------------

m-a prepare

--------------

d)安装VboxLinuxadditions(选“设备”-“安装虚拟电脑工具包”)

进入目录后运行

---------------------------------

sudo ./VBoxLinuxAdditions-x86.run

---------------------------------

重启ubuntu,分辨率应该可以可以随便调节了。如果不行,继续往下看。

2.修改VBOX在Ubuntu里的设置

运行

--------------------------------

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_bak

sudo gedit /etc/X11/xorg.conf

--------------------------------

修改内容,带#的行是自己添加的。

------------------------

Section "Device"

Identifier "Configured Video Device"

Driver "vboxvideo"######

EndSection

Section "Monitor"

Identifier "Configured Monitor"

EndSection

Section "Screen"

Identifier "Default Screen"

Monitor "Configured Monitor"

Device "Configured Video Device"

DefaultDepth 24 #我这里颜色质量只能开到24

SubSection "Display"######

Modes "1280x800" "800x600" #按屏幕需要改就可以了

EndSubSection######

EndSection

-------------------------------

3.重启Ubuntu,然后分辨率就可以设置成1280×800了

按"右ctrl+F" 进入全屏:无缝模式+共享剪贴板,linux和win的和平共存。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: