设为首页 - 加入收藏 焦点技术网
热搜:java
当前位置:首页 >

Installing Guest Additions in VirtualBox for an Ubuntu Server Guest

2011-01-29 20:17:00.0 Tips ubuntu server features windows solaris button  
导读:In this tutorial I am using:Devices > Install Guest Additions... but when I clicked the button, nothing popped up. Why doesn't anything pop-up? Did it download? Was there an error?Unbeknown to me, Vir...。。。

In this tutorial I am using:

    Devices > Install Guest Additions... but when I clicked the button, nothing popped up. Why doesn't anything pop-up? Did it download? Was there an error?

    Unbeknown to me, VirtualBox actually downloaded an image called VBoxGuestAdditions.iso, all without telling me. Great,  it's downloaded, but how do I mount and install it?

    First off, let's grab some libraries we need for Guest Additions to install
    sudo apt-get install build-essential linux-headers-`uname -r`
    Then mount it
    sudo mount /dev/cdrom1 /mnt

    Then run the proper executable (make sure you look for the correct one for your machine)
    sudo bash /mnt/VBoxLinuxAdditions-x86.run

    There will be an error that states the not all features could be installed

    Installing the Window System drivers ...fail!
    (Could not find the X.org or XFree86 Window System.)

    But this is okay. VirtualBox's Guest Additions installs some features that we don't need on a server (seemless mode, copy and paste, etc.) If you want these features, you'll have to install 67MB+ of X.Org libraries
    sudo apt-get install xserver-xorg xserver-xorg-core

    So it's up to you: GuestAdditions with 67MB+ of X.Org libraries or let these drivers fail and enjoy shared folders.

(编辑: sunjavaduke)

网友评论
相关文章