6

TL;DR: I'm experiencing the small resolution issue in Ubuntu 14.04.2 on VirtualBox, and when I try to follow the answers to existing questions, either it doesn't solve the problem or I encounter certain obstacles that block me from completing the instructions (details below).

Background

The underlying problem is after installing Ubuntu 14.04.2 Desktop (32-bit) as guest VM in VirtualBox on a Windows 7 host, I'm having the small screen issue.

What I've tried already

I've already searched existing questions on this site regarding "small resolution in VirtualBox," but none of the answers to existing questions have solved my problem in 14.04.2, which leads me to believe that this may not be a duplicate. Here are the questions to which the answers I've tried, with no luck.

  1. Screen Resolution Problem with Ubuntu 14.04 and VirtualBox
  2. cannot change screen size from 640x480 after 14.04 installation on VirtualBox OSX

Specifics

Failed Resolution Path #1:

The top answer for the first question says:

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.

My first attempt failed, apparently because of unmet package dependencies for virtualbox-guest-x11. Here's the link to the output on paste bin: http://pastebin.com/n0v1SLcW.

Based on the message, I tried installing the xorg-video-abi-15 package and got a similar message about unmet dependencies - link to output on paste bin: http://pastebin.com/pxk2XpK5.

After that, I gave up because there must be a better way than traversing the entire tree of unmet dependencies, am I right?

Failed Resolution Path #2:

The second-highest answer says to go to System settings → Software and Updates → Additional drivers within the guest OS, choose "Use x86 virtualization solutions...", reboot VirtualBox, and after that it solved the problem for that particular user, but I tried these steps, and I still have the small resolution issue.

Failed Resolution Paths #3 and #4:

The second question listed above says to just do sudo apt-get install virtualbox-guest-dkms (and restart the guest) to resolve the problem, but this doesn't work for me, either. The second highest answer to the second question listed above says updating VirtualBox to the latest version, which at the time was 4.3.10 r93012, resolved the problem for that particular user, but I have an even later version (4.3.12 r93733), and when I do Help > Check for Updates, the updater pop-up says "The network operation failed with the following error: Unknown reason."

Failed Resolution Path #5:

In addition to the answers provided in the questions listed above, I've tried installing guest additions from the Devices menu in VirtualBox. The steps that I tried for this are log into the guest OS as super user, in the VirtualBox window go to Devices > Insert Guess Additions CD, click Run in the resulting pop-up, and authenticate as super user. After authenticating as super user, a terminal window opens up and does some things. After the processing is complete, this is what it says in Terminal: http://pastebin.com/72WH6aY4.

Per the instructions in the Terminal output, I looked at /var/log/vboxadd-install.log to find out what went wrong, but that is a long, scary file with lots of information that I'm not sure what to do with (if anyone has any guidance on what specifically to look for in that file, I'd greatly appreciate it).

Summary

In summary, I've tried five different possible resolution paths, including all the recommended answers to questions that I could find by searching this site, and none of them have solved this problem for me in 14.04.2. Because of this, I suspect that there must be some different process for resolving this issue on Ubuntu 14.04.2. By the way, I was able to resolve the small screen issue on a 14.04.1 guest by simply installing the virtualbox-guest-dkms package, but for 14.04.2 I've hit a brick wall. Any help would be appreciated.

Scott
  • 418

11 Answers11

8

I was having similar problems with virtualbox-guest-utils virtualbox-guest-x11 error messages. Then found this. I did the three steps, restarted and the screen is perfect.

I did: sudo apt-get remove libcheese-gtk23

Then: sudo apt-get install xserver-xorg-core

And finally: sudo apt-get install -f virtualbox-guest-x11.

It solved the problems for me.

6

When installing Ubuntu 14.04.2 from disc we will also install the HWE stack by default (this is not the case on upgrading a pre-existent 14.04 installation). By this a newer version (1.16) of the xorg-server will be provided.

Virtual Box supports this Xorg-Server only from version 4.3.16 and later. Earlier versions do not support the newer Xorg server. Apparently you had version 4.3.12 installed.

Therefore rather than downgrading your Ubuntu installation it is recommended to upgrade Virtual Box on your host to a newer release (at present 4.3.22).

Takkat
  • 144,580
4

Solution that worked for me: Go on this link http://download.virtualbox.org/virtualbox/ Find the exact version of your Virtualbox and download the VBoxGuestAdditions_version.iso Then plug it into the VM and allow it to run (it was automatic for me).

Hope this helps.

2

Just do this:
1) open your terminal in ubuntu guest os

2) type: sudo apt-get remove libcheese-gtk23

3) then: sudo apt-get install xserver-xorg-core

4) then: sudo apt-get install -f virtualbox-guest-x11

5) after typing the 3rd command type y or i when asked and wait for it to finish

6) Restart now and your problem should be solved.

Ron
  • 20,938
0

@Takkat is spot-on. The problem is the version of X Server on the GUEST in relation to what the HOST's version of Virtualbox will support in order to get full-screen.

You can get the version of X Server with X -version. Run this on the GUEST to see which version is installed. Of note, there is one - rather than two --. Also, this command outputs to stderr rather than stdout. This strikes me as odd, but perhaps someone can fill in the blanks as to why.

Putting it all together, X -version |& grep 'X Server' will get you something like "X.Org X Server 1.15.1". Note that |& is necessary to pipe both stdout and stderr.

You can do another grep on that to isolate the version number if you are scripting something for validation.

This was sufficient for me to hardcode the supported version of X Server on the guest that my virtual machine setup script will work on. I assume that the host will run "default" Ubuntu with the older version of Virtualbox, so I just tell users to run 14.04.1 as the guest.

0

Windows 7, VBox 4.3.12 r93733 (current version does not play nice with Avast)

I spent hours trying to get this working full screen, these 3 steps worked, thank you!

System settings menu item not working, so I had to sudo apt-get install unity-control-center all working now.

Lakes
  • 1
0

I ran into the same problem, and these steps fixed it:

1) On the host, use the latest version of VirtualBox from virtualbox.org. (I used 4.3.26).

2) On the guest (Ubuntu 14.04.2), run

sudo apt-get install linux-headers-generic

3) On the guest, do not use the Ubuntu repositories to install the guest additions.

Instead, press Host+D to use the guest additions ISO bundled with the newer version of VirtualBox that you downloaded to the host.

You shouldn't see any X11 package issues when installing the guest additions ISO.

Reboot and the screen size should be fixed.

0

Experience has been same for me on windows7 host and ubuntu 12.04. The solution that seems working for me is disabling the max resolution limitation in vbox, by typing

VBoxManage setextradata global GUI/MaxGuestResolution any

The source is from a ticket at the virtualbox website.

Volker Siegel
  • 13,295
0

This problem is on Virtualbox 5.0.4 The command did not solve my problem Open a New terminal > Install from the menu Devices > "*..Guest Additions" and then accept the installation in ubuntu, reboot and ready

0

I run:

sudo apt-get remove libcheese-gtk23

then:

sudo apt-get install xserver-xorg-core

and finally:

sudo apt-get install -f virtualbox-guest-x11

It solved problems for me.– conradk

I found this in the website,it did work for me

rav009
  • 1
0

Just installed 14.04.5 and had same issues. Resolved by installing virtualbox-guest-x11-wily. Looks like this version of ubuntu has xorg stack from backported from wily (15.10) and corresponding guest driver installed fine and gave normal resolution.

scorpp
  • 211