Ubuntu 20.04 under VirtualBox does not Auto-resize Guest Display

I had a problem when installed Ubuntu 20.04 as a guest in VirtualBox 6.1.18 The Auto-resize Guest Display did not work and I was able only to set one of the pre-defined resolutions in the Ubuntu. The question is how to enable the Auto-resize?

1 Answer

I found a good answer here:

  1. If Guest Additions ISO is already installed, eject it: Start File manager -> find in the left panel “Vbox_Gas_6.1.18” -> press Eject button
  2. Install required build tools:

sudo apt update -y

sudo apt upgrade

sudo apt install dkms linux-headers-$(uname -r) build-essential

  1. Reboot Ubuntu
  2. Start Ubuntu -> Insert the Guest Additions ISO: Devices -> Insert Guest Additions CD image
  3. Reboot Ubuntu

This is to contribute to this discussion:Ubuntu 20.04 VM always resizes screen to default size when booting

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