VirtualBox下的Ubuntu的全屏问题。

http://blog.csdn.net/ltolll/article/details/4238498

平台:主机:XPsp3,VirtualBox(2.2.4)下的Ubuntu(9.04)

问题:ubuntu作为客机(guest)的分辨率只能调到800×600——屏幕在VirtualBox下的大小不可调

解决:

安装最新的系统更新(system/软件源)

安装VirtualBox增强工具包(重要):(VirtualBox客户机运行窗口菜单栏上)设备-->安装增强功能(点击后桌面上会多一个虚拟光驱的图标)
下面的操作需要注意,网上有很多方法说是运行虚拟光驱里的VBoxLinuxAdditions文件就可以了,我按照这个方法做了很多次,不行的.必须要用终端命令的方法才可以:
打开终端输入cd /media/cdrom0
sudo sh ./VBoxLinuxAdditions-x86.run
(这里的VBoxLinuxAdditions-x86.run取决于VirtualBox和ubuntu的版本,按照虚拟光驱里的文件名改就可以)
等待运行结束(需要一些时间)
关闭ubuntu;
重启VirtualBox;
启动ubuntu;

试着用host+f切换成全屏(这里host代表VirtualBox的功能键,一般为右ctrl)

值得一提的是,安装了增强工具包后,VirtualBox具有了一些激动人心的功能。一个是鼠标可以在主系统和guest之间切换而不必再无数次的按host键了;另一个超强的功能是主系统和guest之间可以共享剪切板,它一下子把工作效率从石器时代推到了现在。

 

最后感谢ccurry,是他在www.linuxquestions.org上的回答帮助了我(虽然不是我的提问)。原地址(http://www.linuxquestions.org/questions/linux-software-2/using-full-screen-mode-in-virtualbox-672165/
原文如下:...
The nut of what you will be doing:

1. Install Ubuntu on VB.
2. After install and restart, go to the 'Devices' menu for VirtualBox.
3. Select 'Install Guest Additions'.
4. Open Terminal in Ubuntu.

Type:
cd /media/cdrom0 (this puts you to the cdrom directory where you just mounted guest additions)
Press enter then type:
dir (this shows you what's inside this directory.)
Press enter then type:
sudo sh ./VBoxLinuxAdditions-x86.run (this is what you would type if you have an x86 machine, typical. If you have an AMD use that one, and so forth.)

5. Wait for update to complete.
6. Once complete, shut down Ubuntu.
7. Restart VirtualBox
8. Boot up Ubuntu.
9. Once booted, press cmd+F for fullscreen or cmd+L for seamless.

This worked for me and I am using VB 2.2.2 on a MacBookPro. Just posted this from Ubuntu in Full Screen mode. woot.
Hope this helps.


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


环境:
VirtualBox-3.2.12-68302-Win
ubuntu-10.10-desktop-i386

 

方法:安装VirtualBox的增强功能

步骤:
VirtualBox的菜单栏中、点击 【设备->安装增强功能】
桌面会出现一个 VBOXADDITIONS_3.2.12_68302的盘符。
双击打开后,双击执行里面的autorun.sh。
------------------------------------------------

如果桌面未出现上述的盘符,可进入命令行终端:
cd /media
找到以下文件夹并进入:
cd VBOXADDITIONS_3.2.12_68302
执行antorun.sh
sudo ./autorun.sh

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

安装完毕之后,重启ubuntu系统,即可实现全屏。
这时也可通过System->Preferences->Monitor来调节自己希望的屏幕的分辨率。


  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值