31

I downloaded virtualbox-4.2_4.2.12-84980~Ubuntu~raring_i386.deb (63.9 MB) and Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack (11.6 MB) from https://www.virtualbox.org/wiki/Linux_Downloads.

I installed VBox on my laptop (Dell 1545 Core2Duo T6400; 4 GB RAM) running Lubuntu 13.04 giving the guest OS (also Lubuntu 13.04) 1536 MB RAM and 8 GB fixed disk space.

Performance is okay but I'm having trouble with the screen size. The desktop doesn't occupy the full width of the screen as the image shows (red ellipses).

VBox screen size

I can use "scale mode" but that looks ugly as though things have been stretched horizontally.

Some reading indicates that installing Guest Addditions would help. But I can't figure out how to install it. I have /usr/share/virtualbox/VBoxGuestAdditions.iso.

I've tried to mount VBoxGuestAdditions.iso:

Mounted-iso

But when I click on Devices, Install Guest Additions, I see this window:

Force Unmount

Also puzzling is that there's an option to "force unmount" when the text above says "unable to mount".

  • 1
    Did you try to run virtualbox as sudo? For similar problems usually such thing helped me: In machine settings unmount the guest auditions and set host cd as IDE. Then try to install GA via menu of the running virtualbox machine. – Misery Jun 21 '13 at 18:09
  • But `sudo VirtualBox` brings up the screen for a new VM. It doesn't see the VM existing already. –  Jun 21 '13 at 18:16
  • @vasa1 In settings for graphics in virtualbox (before you start the machine for Linux) - you can set the size of memory for graphics - with this you have enfluence on size of the virtual-display ?! - or not ?! – dschinn1001 Jun 21 '13 at 19:03
  • 1
    @ vasa1 @Misery VirtualBox never needs sudo, and should be never run as sudo. And this problem is independent of sudo. – ignis Jun 21 '13 at 19:46

1 Answers1

49

Clicking the "Install Guest Additions" menu item just adds the iso to the virtual machine. You don't need to click it, because, in your case, the VirtualBoxGuestAdditions.iso is already attached to the virtual machine (as per the Storage tab of the virtual machine settings). It's named like that because the guest is supposed to automount the CD and autorun the installer, but I've never seen this behavior on Ubuntu, so the name is misleading in this case.

From the VirtualBox manual, Chapter 4 (Guest Additions), section "Installing the Linux Guest Additions":

Ubuntu

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install dkms

Reboot your guest system in order to activate the updates and then proceed as described above:

  • Insert the VBoxGuestAdditions.iso CD file into your Linux guest's virtual CD-ROM drive [Don't do this, if the Storage tab shows it to be already attached to the virtual machine]
  • [open a terminal, ] Change to the directory where your CD-ROM drive is mounted, and execute:
  • sudo sh ./VBoxLinuxAdditions.run
Zanna
  • 69,223
  • 56
  • 216
  • 327
ignis
  • 4,157
  • 27
  • 27