I am running Ubuntu 14.04 from Windows, using virtualbox 5.0. I tried several options to make size of Ubuntu in virtual box larger, but none helped so far.
-
I am using latest virtual box with latest guest add on installed.
-
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
-
I went to Ubuntu 'software and Updates' and made sure that under 'Additional Drivers' tab, 'using x86 visualization solution…' is active.
-
In virtualbox window, under view->virtual screen 1, all 'resize to' options are disabled.
None of these options helped. This is frustrating. Any comments or help? Can the problem be I am using 64 bit system? Does this problem occurs in earlier/later versions? If not, please suggest a 'good' version of Ubuntu for virtualbox.
Best Answer
This is caused by a lack of video memory. By default, Virtualbox only allocates 12MB to an Ubuntu VM, and as such, the size of the virtual machine is small:
The way to fix this is fairly straightforward.
Once you create the VM and install Ubuntu, restart. Once you do that, go ahead and press the Ctrl+D. Make sure to press the right Ctrl, not the left.
Alternatively, you can go up to the top of the VM window and click Devices > Insert Guest Additions CD Image:
A window may pop up saying
"VBOXADDITIONS_VERSIONUMBERS" contains software intended to be automatically started. Would you like to run it?
. You can click yes, this will just skip the next two steps.If the window I just mentioned doesn't automatically pop up, go ahead and click on the CD icon in the Unity taskbar:
Go ahead and close the Nautilus window that opens up, and press Ctrl+Alt+T.
This will open a Terminal window, in which you should enter
cd /media/YOURUSERNAME/VBOXADDITIONS
and then hit Tab, then Enter:Then, go ahead and type
sudo chmod +x VboxLinuxAdditions.run && sudo ./VboxLinuxAdditions.run
.You may be prompted for your password, go ahead and put it in.
Once you do so, the installer will run. Once it completes:
you'll need to restart. Close the Terminal window and restart the VM, and you're almost done!
Once the VM shuts down, right-click on the VM in the main VirtualBox window and select the
Settings
item:Once the window opens, go ahead and select the Display tab along the left.
Then, drag the Video Memory option all the way to the right. What previously said
12 MB
should now say128 MB
.Go ahead and start up the VM, and you should be able to go full screen, as well as any other size you want!