

This can be done by selecting Devices from the VirtualBox menu and then select Install Guest Additions. Once this is complete you can now attach the Guest Additions CD-ROM image. :~$ sudo apt install -y linux-headers-$( uname -r ) Start up your Kali Linux virtual machine, open a terminal window and issue the following command to install the Linux kernel headers. You must use VirtualBox 4.2.xx or higher in order to take advantage of the improvements, including compatibility updates, and enhanced stability of both the core application and the Guest Additions. If you run Kali Linux as a “guest” within VirtualBox, this article will help you to successfully install the “Guest Addition” tools. You can find the latest version here: Install VirtualBox Guest Additions.
