红联Linux门户
Linux帮助

解决VirtualBox安装Ubuntu全屏问题

发布时间:2011-11-19 11:43:10来源:ylmf作者:linux使用者

  在Virtualbox在XP下虚拟Ubuntu,发现ubuntu作为客机的分辨率只能调到800×600,经过一番检索 摸索,搞定,现整理如下:


  1、安装VboxLinuxadditions(选“设备”-“安装虚拟电脑工具包”) ,自动在Ubuntu下安装虚拟光驱,然后运行里面的 ./VBoxLinuxAdditions.run


  2、修改VBOX在Ubuntu里的设置,运行: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 16 #我这里颜色质量只能开到16

  SubSection "Display"

  Modes "1048x768" #按屏幕需要改就可以了

  EndSubSection

  EndSection


  3、重启Ubuntu,然后分辨率就可以设置成1024×768了。