Cannot resize screen for Ubuntu VM in VirtualBox

I installed Ubuntu 14.04 LTS amd64 desktop on VirtualBox 4.3.26 which is running on OSX10.10 (amd64) and the only option for screen resolution is 640x480. This resolution is found under the System Settings -> Displays -> Resolution drop down menu.

I've tried installing the dkms package and virtualbox-guest-additions (which wasn't able to be found, maybe my sources.list file is bad?) as suggested in other forums, but it didn't help.

This is all freshly installed, I haven't tampered with the machine or settings at all.

What is going on here?

3

6 Answers

There were two things that were needed: (1) Virtualbox Preferences and (2) Guest Additions for the specific VM.

1) In the top toolbar in OSX, go to VirtualBox -> Preferences -> Display and change your max resolution size. My resolution was set to Automatic and the settings were too low. I changed this to Hint and it allowed me to specify my own Height and Width

2) Start up the VM and log in if necessary. While it's running, click Devices -> Insert Guest Additions CD Image... from the Mac toolbar. There should be some prompts on the VM's terminal then restart the VM when it's completed.

4

I had similar issue with Ubuntu 18.04. Host was Mac OS Catalina and all virtual box's extensions were installed but to solve the issue I've just selected other graphics controller. To do this open settings -> display and try swith to another graphics controller.

screenshot of vbox settings

2

I had to do similar to what s g said

So

  1. In the top toolbar in OSX, go to VirtualBox -> Preferences -> Display and change your max resolution size. My resolution was set to Automatic and the settings were too low. I changed this to Hint and it allowed me to specify my own Height and Width

Here I added the numbers from my display resolution so now the linux in VB became as large as the screen. But with very poor resolution.

  1. Then in VB - in linux - I had to set the resolution again to same numbers (it was 1920 x 1080 for me)

Have you tried installing guest additions from the menu in VirtualBox? That will mount a CD image and run it's installer

Going into fullscreen mode and then exiting fullscreen mode worked for me. This should make your VM content go as wide as your computer screen whilst still remaining in windowed mode.

1

If you still experience problems with setting resolution after setting resolution resizing to 'None' or 'Automatic' in VirtualBox -> Preferences -> Display and mounting GuestAdditions execute following command in guest's terminal:

sudo apt-get install --reinstall linux-image-$(uname -r)

Then perform a reboot

It worked for me - guest was Ubuntu 18.04

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like