Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu.

Problem: While in Ubuntu's desktop and other Ubuntu initiated programs, the window is reduced to about 3x4 inches showing in the middle of the rest of my regular Virtual Box window. I am seeing only the upper right hand of the screen output of what I would normally see. Please help.

I've seen How do I install Guest Additions in a VirtualBox VM?

But, none of these answers works in 14.04.

share|improve this question
5  
I don't think this is a duplicate. When installing the Guest Additions with Ubuntu 14.04 I get "Warning: unknown version of the X Window System installed. Not installing" –  mjaggard Apr 22 '14 at 15:31
3  
This is definitely not a duplicate question (even if the answer is the same). I found this only via searching about screen res problems, and learned here that "guest additions" is the answer. (If I already knew to ask about "guest additions", I wouldn't have had a question/problem.) –  Greg Hendershott Jun 22 '14 at 0:56
2  
The answers aren't even the same. Generally you would use the guest additions iso that can be mounted from the host, but it seems to be specific for 14.04 that you must install via the apt repo for it to work properly. –  flungo Jul 26 '14 at 9:22
2  
1  
I've been having problems with this as well. Guest additions appears to have installed correctly but full screen mode still has a small os display. kraxor, where are you seeing system settings? –  Brian Barrick Sep 1 '14 at 5:33

4 Answers 4

You basically need the Guest additions, log into the Virtual Machine to install the following packages:

sudo apt-get install virtualbox-guest-dkms \
virtualbox-guest-utils virtualbox-guest-x11

Finally restart the VM to complete the installation.

share|improve this answer
1  
Thanks, I misunderstood this step before I read your answer and thought I was supposed to install Guest Additions on the host machine. d'oh. –  melancholynaturegirl Dec 29 '14 at 18:08
1  
@symphonyblade: Those packages are meant to be installed on the Guest OS indeed. –  Sylvain Pineau Dec 29 '14 at 18:50
1  
Yup, got it working thanks to you :) –  melancholynaturegirl Jan 2 at 20:01
    
Does this work for ubuntu 12 also? –  carter Jan 26 at 17:57
    
@carter The same set of packages also exist for 12.04.5. Once installed you should be able to set higher resolutions manually (e.g 1600x1200) –  Sylvain Pineau Jan 26 at 20:49

I had the same problem as you. I did these steps, maybe helps you too:

  1. Go to System settings → Software and Updates → Additional drivers
  2. Use x86 virtualization solutions...
  3. After that reboot your VirtualBox

My VirtualBox is working perfectly.

share|improve this answer
    
Thank you kraxor. –  Rustam Aug 1 '14 at 19:17
    
Oh my gosh. After trying so many other things and wasting so much time, this easy solution did the trick. –  Adrian Carr Jan 26 at 22:51
    
Simple as 1,2,3 - works. –  acme Feb 20 at 16:55

On virtualbox you have to install "Guest Additions". There is no need to set a resolution via Ubuntu settings. From your guest window select

Devices -> Insert Guest Additions CD image

In Ubuntu open a terminal, navigate to cd folder (usually /media/VBOXADDITIONS*) and run

sh ./VBoxLinuxAdditions.run

Note that you should have a working compiler gcc/g++

share|improve this answer
3  
This fails with an error saying it looks like guest additions had been installed from a different installer or package. The only solution is the answer saying to use apt-get to install the three packages. –  Jistanidiot Jun 25 '14 at 20:00
2  
Exactly the same here trying to install Xubuntu 14.04 64bit on VirtualBox. Installing Guest Additions from mounted CD image is not working - it breaks X Server installation. Instaling with apt-get from public repositories as advised by Sylvain works. –  ZeKoU Jul 31 '14 at 11:36

To expand on what Sylvain Pineau said, typing sudo apt-get install virtualbox* is much easier (wildcards are accepted with apt-get).

share|improve this answer
    
But it will install packages like virtualbox-source, virtualbox-dbg and older versions (such as virtualbox-2.2) depending on your ppa settings –  Sylvain Pineau Jan 26 at 20:02

protected by Sylvain Pineau Sep 19 '14 at 6:40

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.