Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running the new Mac Air 13" with OS X 10.8.2. I then downloaded the latest VirtualBox 4.2.6. Then, I installed Ubuntu 10.04 into the VM.

First off, after I installed the VirtualBox Guest Additions and restarted the VM, the Ubuntu desktop froze after the GDM login and I had to delete the VBoxGuestAdditions folders out of /opt and /usr/lib to get back to normal again.

Second, I go to Ubuntu's System > Preferences > Monitors and try to change the settings, and there's nothing higher than 800x600. I then tried the VirtualBox various View menu settings and tried again in Ubuntu's System > Preferences > Monitors and I'm still stuck.

share|improve this question
related:… – Takkat Jan 13 '13 at 16:10
Note that VirtualBox won't expose the correct resolution to the guest OS if you have a Retina display. I have a 13" MBP and xrandr won't let me set a mode above 1280x800. – Brian Gordon Jan 19 '14 at 21:45
I just confirmed VMWare Fusion has an option called "Use full resolution for Retina display" which exposes the real resolution. – Brian Gordon Jan 19 '14 at 23:24
up vote 36 down vote accepted

I fixed the problem by doing:

  1. Turn off 3D Acceleration in the VB settings -- that's why the Guest Additions were locking up after login.

  2. Run this in the terminal of your ubuntu virtual machine, not the host OS:

    apt-get update  
    apt-get upgrade  
    apt-get install dkms  
    apt-get install build-essential
  3. Go to the Devices menu and tell it to install the Guest Additions. A new CDROM will appear on the desktop. Rightclick and choose the Autorun.

  4. Restart the VM.

  5. Now resize the VM window or choose Full Screen mode and it will resize the desktop screen resolution properly.
share|improve this answer
I have the same problem, but my Host OS is ubuntu 13.04 & have Mac os lion on virtual box.There is nothing higher resolution than 1024x768 in the display settings & after installing Guest Additions the screen stretched out, even i can't see the Dock. Help please!! – Gurupal singh Dec 4 '13 at 17:02
I tested this on Mavericks host with guest as Ubuntu 14.04. Doesn't work. – zack Jun 1 '15 at 10:47
@zack I have this working fine on Mavericks with Ubuntu 14.04 using the steps above. – Volomike Jun 2 '15 at 14:13
For 15.04 in 4.3.10 on OS X 10.10.3, I installed these packages: sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms as suggested in this video: – chb Jun 5 '15 at 7:48
Where it is suppossed to execute second step? host Mac or virtualized Ubuntu. I have same Issue but virtualizing a windows 8 over a mac, and this looks lke the best thing to try – Ricker Silva Jul 1 '15 at 18:32

protected by Community Nov 7 '13 at 8:55

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.