Installing guest additions in virtualbox for an Ubuntu Server Guest

Source: Internet
Author: User

Installing virtualbox's "guest additions" is not as straight
Forward as I 'd like it to be for an Ubuntu Server Guest but I figured
Out of the solution.

In this tutorial I am using:

    • Host:Windows XP Professional
    • Virtualbox:3.1.6
    • Guest:Ubuntu server 10.04
      (Lucid lynx
      )

So say you have a host with virtualbox installed (I have Windows XP,
You have any version of Windows, Mac, Solaris, Linux, etc.) and have
Ubuntu server installed as a guest. If you want to install "guest
Additions "for added features (such as seemless mode, copy and paste
Support, or shared folders in my case), you're supposed to clickDevices> 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 cocould be installed

Installing the window system drivers... fail!
(Cocould not find the x.org or xfree86 window system .)

But this is okay. virtualbox's guest additions installsome 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 67 MB + of X. org
Libraries
Sudo apt-Get install xserver-Xorg-core

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.