Ever had the problem where you cannot select “Enable Guest Display Auto Resize” from the menu in VirtualBox? Is your guest OS Ubuntu and are you also stuck at 800×600?
Thanks to this guy for helping me get it to work properly. Here’s a guide…
Step 1 | In your guest machine open a terminal and enter the following
sudo apt-get update
That’s just to be sure you’re downloading the latest editions of software from the respective repo’s
Step 2 | Install the kernel headers and build-essentials to be able to compile new modules
sudo apt-get install build-essential linux-headers-$(uname -r)
The $(uname -r) section makes sure you download the headers specific to your running kernel.
Step 3 | Install the latest available VirtualBox Guest Additions
sudo apt-get install virtualbox-ose-guest-x11
Step 4 | Restart the guest OS and everything should be working!