Here are some additional, perhaps easier notes when attempting to have a kali guest in virtualbox with a adjustable screen size. Note this is required whenever you do a new install or have a kernel upgrade.
sudo apt-get install virtualbox-guest-additions-iso
sudo apt-get install virtualbox-guest-utils
dpkg-reconfigure virtualbox-guest-dkms
Then reboot.
References:
- https://askubuntu.com/questions/452979/resolution-doesnt-change-when-resizing-virtualbox-window
- https://askubuntu.com/questions/555264/ubuntu-server-terminal-doesnt-resize-screen-in-virtualbox?noredirect=1&lq=1