Virtualbox Guest Additions with screen resizing

Over the years I keep coming back to this problem, but it seems the answer changes slightly, so here is an updated version of getting VirtualBox’s guest additions working including, the bits for screen resizing. This is for Debian-based linux VMs:

sudo apt update
sudo apt install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

If the above doesn’t instantly work for you, you may also need to install:

sudo apt install linux-source linux-headers-generic

Reboot, and fingers-cross, it should work! If it doesn’t, and you installed things before you installed virtualbox-guest-x11, you will also need to run:

sudo dpkg-reconfigure virtualbox-guest-dkms

This entry was posted in Lessons Learnt. Bookmark the permalink.

Comments are closed.