在VirtualBox中安装了Ubuntu后,Ubuntu的屏幕分辨率非常小,操作非常不便。通过安装VirtualBox提供的“增强功能组件”,-摘自网络

  在VirtualBox中安装了Ubuntu后,Ubuntu的屏幕分辨率非常小,操作非常不便。通过安装VirtualBox提供的“增强功能组件”,可以解决这一问题,并且使用非常方便。

一、环境 | Environment

Windows2003 / Windows XP VirtualBox 3.2.12 Ubuntu 10.10

二、调整分辨率 | Change the screen resolution

1、在VitualBox中安装完Ubuntu后,只有800 x 600(4:3)、640 x 480(4:3)两种分辨率,操作空间非常有限。

VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
2、点击VirualBox的菜单“设备(D)” -> “安装增强功能(I)...”。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
3、在Ubuntu中点击菜单“位置” -> “主文件夹”。并加载VBOXADDITIONS_3.2.12_68302虚拟光盘。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
4、在Ubuntu中打开终端窗口。执行如下命令:
$ cd /media $ cd VBOXADDITIONS_3.2.12_68302 $ ./VBoxLinuxAdditions-x86.run
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来  
5、Ubuntu弹出新的窗口,开始编译内核增加新的模块。       当出现 “Installing graphics libraries and desktop services components ...done” ,表示增加功能组件安装成功。       重启Ubuntu。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
6、点击VitalBox的菜单“控制(M)”。      发现其中的菜单项“Enter Seamless Mode”和“Disable Guest Display Auto-resize”不再是灰色。      点击“自动调整窗口大小”菜单项。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
7、VirtualBox中的Ubuntu屏幕分辨率会随着VirtualBox窗口的大小而自动调整大小。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 
8、再来看屏幕分辨率,发现多了好几项。如果VirtualBox的窗口大小发生变化,这些分辨率也会变化。       原因:在Ubuntu的内核中增加了模块,Ubuntu的屏幕分辨率会随着VirtualBox的窗口大小而自动调整并与之相适应。
VitualBox - 调整虚拟机中操作系统的分辨率 | VirtualBox - Change the screen resolution of the virtual machine operating system - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来
 

 

NotePad++ - 安装和配置C/C++开发插件 | NotePad++ - Install and Configure plugins for develop C/C++ - 傲风 - 宝剑锋从磨砺出 梅花香自苦寒来说明:
  • 如果Ubuntu的内核升级了,需要重新安装“增强功能组件”。
  • 如果是在VirtualBox 3.2.10以下版本中安装Ubuntu 10.10,在安装“增强功能组件”时会提示编译内核失败。
  • 如果在VirtualBox 3.2.10以上版本中安装Window XP,也可以采用同样的方法:通过安装“增强功能组件”来实现Windows XP的屏幕分辨率随着VirtualBox的窗口大小而自动调整。
  • 如果选择全屏模式,VirtualBox中的操作系统的屏幕大小就和主机一样。
 
<正文结束>
 
 
 
 
原文地址:https://www.cnblogs.com/haoliansheng/p/3343992.html