I'm running VirtualBox 5.0.18 with Ubuntu 16.04. I've installed VirtualBox Guest Additions and DKMS, which enabled the automatic screen resolution in my VB. This worked fine for several months until today. I accidentally changed the screen resolution and the automatic screen resolution stopped working. Installing Guest Additions and DKMS again didn't work. They are still installed and are up to date with the latest versions.
I've tried this command but it didn't work:
sudo dpkg-reconfigure virtualbox-guest-dkms
Is there a way to activate the automatic screen resolution again? Thanks.