Install VirtualBox Guest Additions in Ubuntu 14.04 Alpha via package system

I’ve been recently running Ubuntu 14.04 Daily Build using VirtualBox. Everything has been working great so far. However, after some large system upgrade involving a new kernel and a bunch of the xorg libraries, the customary re-installation of the VirtualBox Guest Additions modules stopped working for me. After several attempts, I was getting a message like this:

Warning: unknown version of the X Window System installed. Not installing X Window System drivers.

I googled around and I found a very useful thread in ubuntuforums.org that gave me the answer. So the steps that finally resolved this issue were:

  1. Remove the existing Guest Additions using the script under /opt:
    $ /opt/VBoxGuestAdditions-4.3.6/uninstall.sh
    

  2. Install the Guest Additions Iso using the package system
    $ sudo apt-get install virtualbox-guest-additions-iso
    

  3. Enable VirtualBox Guest Service driver, using the software-properties-gtk dialog.

    You can type the following command in the terminal to bring up the dialog.

    $ software-properties-gtk --open-tab=4
    

    wpid-software-properties-gtk-tab4.png

  4. Reboot

    The guest display can now be auto-resized, made full screen, etc.

Update 13/02/2014:

  • From today, this solution appears to be broken. Presumably, the latest upgrades pushed to the 14.04 repos have somehow broken it, most likely temporarily. I’ll update again this post if I find it working again. But in the meantime, you’ve been warned! 🙂

Update 15/02/2014

  • As it turns out, there is a test build of the Guest Additions iso (v4.3.7) that installs without problems and fixes the issues. Thanks to AnimeMuyou and Martin for pointing this out (look for the links in the Replies section).

25 thoughts on “Install VirtualBox Guest Additions in Ubuntu 14.04 Alpha via package system

  1. Richard

    Just wanted to say thank you! I got the same error while trying out Ubuntu 14.04 in a VirtualBox-VM and your work-around is working great for me 🙂

    Reply
    1. Juan Rubio Post author

      Hi Marius. Actually, you are right. As you, I’ve been today creating another 14.04 VM from clean (vanilla desktop flavor) and I’ve also noticed that this method is currently broken. Not surprisingly, right after the install, ‘apt-get upgrade’ still downloaded and upgraded a pretty large number of packages. I presume we’ll have to wait a few days, possibly until it gets resolved by itself. It is Alpha stage, so it’s kind of expected.

      I’ll update the post, so people will be warned.

      Reply
    1. Juan Rubio

      Hi Donald. I haven’t found any issues myself in that area. FWIW I usually mount my win shares using the “Connect to Server” option in Nautilus. Or from command line (e.g.):

      $ sudo apt-get install smbclient
      $ sudo mount -t cifs -o username=user,password=pass //192.168.1.72/Music/home/juan/sam/Music

      Reply
  2. Robert Flatters

    I was getting a VM VirtualBox crash when i installed and rebooted the machine. After following your instructions it seems to be working ok…..touch wood. Once again thanks for that.

    Reply
  3. Matt

    Thanks for compiling this information. I never knew what the best-practice was for dealing with kernel upgrades and guest additions in my guest Ubuntu VMs.

    Reply
  4. Pingback: VirtualBox + Linux + SharedFolder | Pauls Notes

  5. Pingback: Virtual Box | wiki.davelevy.info

Leave a Reply

Your email address will not be published. Required fields are marked *