The automatic installer for the VirtualBox Guest Additions doesn’t work in Kali Linux 2018.2 (Or any other version of Kali) when using VirtualBox5. The system will show an error:Oops! There was a problem running this software. Unable to locate program.
The solution is to run the installer from the terminal.
- First, run the the command apt-get install linux-headers-amd64
- Mount the installer from VirtualBox and then run the following command from the terminal
If you are running as root:
If you are running as a regular user:
sudo sh /media/cdrom/VBoxLinuxAdditions.run