how to install virtualbox guest additions ubuntu code example
Example 1: install vm guest additions ubuntu
sudo apt-get install virtualbox-guest-additions-iso
Example 2: ubuntu install vboxguest
$ sudo add-apt-repository multiverse
$ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11