红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

virtualbox虚拟ubuntu全屏问题

发布时间:2008-04-04 21:14:11来源:红联作者:Dnirta
版本:
virtualbox:1.5.6
ubuntu:8.04 beta

装好后都挺好的,就是分辨率只有800*600,不能调,全屏后很难看,装了guest addition还是不管用,后来google了一把,直接把/etc/X11/xorg.conf对应的地方改为如下的就行了:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection

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
SubSection "Display"
Modes ""1024x768" "800x600" "640x480" <-- add the resolution you want
EndSubSection
EndSection

然后重启X就ok了。

ps,关于安装linux guest additions,在启动的ubuntu系统那个vbox菜单栏-->设备-->安装虚拟电脑工具包,这样会在桌面上出现一个iso,然后进入终端。

~>cd cdrom
~>sudo ./VBox....run

安装完后重启ubuntu就好了。
文章评论

共有 0 条评论