Encoutered couple of issues.
- Turn swap off before starting installation to install with full disk encryption.
sudo swapoff --all
- Download essentials before installing VirtualBox Additions.
sudo apt-get update sudo apt-get install build-essential linux-headers-"$(uname -r)" # sudo apt-get install virtualbox-guest-*
- Run VirtualBox Additions installation.
sudo "/media/$USERNAME/VBOXADDITIONS_$VERSION/autorun.sh"
- Grant $user access to shared folders adding him to group vboxsf.
sudo usermod -aG vboxsf $user
- Restart.
sudo reboot
- Workaround clipboard sharing problem.
killall VBoxClient VBoxClient-all
- Untested permanent solution to clipboard sharing problem.
sudo apt-get install virtualbox-guest-dkms
This article is compiled using several forums: askubuntu, stackexchange and others.