Oracle VirtualBox Ubuntu 640×480 problem

I imported a vm into Oracle VirtualBox that was exported from VMWare ESXi and found the only resolution to use was 640×480.

To solve open a shell and run apt-get install virtualbox-guest-dkms

Kudos to askbuntu.com