Since Kali Linux 2016 came out (also known every bit Kali Rolling), it seems that Official VirtualBox invitee improver doesn’t function good anymore. It also created lots of confusion together with scrap every bit when somebody asks for help, they don’t ever specify which version of Kali they are using together with that leads to to a greater extent than issues. So, irrespective of all the debates together with advises allow me clearly enjoin this: “In Kali Linux 2016.2, Official VirtualBox Guest Additions doesn’t function well”. Yes, you lot tin install Official VirtualBox invitee additions every bit released past times Oracle VirtualBox, but it volition create to a greater extent than issues.
VirtualBox Guest Additions inwards Kali Rolling / Kali Linux 2016.2 / Kali 2017
This posts tends to create the next issues alongside VirtualBox Guest additions together with other issues such as:
- Can’t brand Kali Linux run inwards amount hide on VirtualBox
- Can’t enable shared folder on Kali Linux running on VirtualBox.
- Shared clipboard non working on Kali Linux on VirtualBox.
- Kali Linux on VirtualBox is tiresome together with non responding afterwards installing Official VirtualBox invitee Additions. It freezes!
- Mouse integration is non working on Kali Linux on VirtualBox.
- Kali Linux on VirtualBox doesn’t expose your display resolution properly.
- Screen doesn’t scale when I maximize or minimize VirtualBox window.
In short, this article volition assistance you lot to successfully install the “Guest Addition” tools if you lot run Kali Linux every bit a “Guest” within VirtualBox. You must role version 4.2.xx or higher of VirtualBox inwards gild to receive got payoff of the improvements, including compatibility updates, together with enhanced stability of both the core application together with the Guest Additions.
Correct agency of installing VirtualBox Guest Additions inwards Kali Linux 2016.2/2017 (Kali Rolling)
The VirtualBox Guest Additions render proper mouse together with hide integration, every bit good every bit folder sharing, alongside your host operating system. To install them, continue every bit follows.
Step 1: Update & Upgrade together with Dist-Upgrade
Start upward your Kali Linux virtual machine, opened upward a concluding window together with termination the next commands.
root@kali: # apt update & apt -y dist-upgradeOnce done, reboot your VirtualBox to ensure you’re booting into the novel kernel/updates.
root@kali: # rebootStep 2: Double-checking version
After reboot, I checked my version/lsb_release to ensure I am running the latest together with greatest.
Step 3: Install VirtualBox Guest Addition
Since I am running the latest version together with there’s no to a greater extent than update pending, I went inwards an installed virtualbox-guest-x11 tools. This virtualbox-guest-x11 parcel provides the X11 invitee utilities for VirtualBox. These utilities are meant to move run within the virtual machine. They render closer integration together with improve the interactive performance.
root@kali: # apt -y install virtualbox-guest-x11
Again, when it’s finished, I rebooted my Virtual Guest.
root@kali: # reboot
After reboot, my hide together with shared drive worked including drag/drop together with clipboard. Scroll downwards for pace past times pace instructions on how to create Shared folders on VirtualBox.
Installing VirtualBox Guest Additions inwards Older Kali Versions
Following are the exact steps you lot demand to follow to install VirtualBox invitee additions packages on Kali Linux together with create these issue.
Step 1: Install dependencies
One affair to banking concern complaint is that you lot demand to receive got the correct repositories added earlier whatsoever of these would work. Once you’ve added the right together with official repositories, merely update your parcel manager.
root@kali: # apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
It’s amend off doing update, upgrade together with dist-upgrade earlier installing headers because if you’ve installed an older Kali Linux version, right Linux headers powerfulness non move available inwards the repo anymore.
Install all the dependencies past times running the next command:
root@kali: # apt-get install linux-headers-$(uname -r) -y
Step 2: Mount VirtualBox Guest Additions drive
From device carte du jour on your VirtualBox, click on Install VirtualBox invitee additions selection (while you’re running Kali Linux) together with you’ll come across a CD/DVD drive is mounted.
Step 3: Copy together with install the package
Copy the VBoxLinuxAdditions.run file from the drive to the source directory using next command
root@kali: # cp /media/cdrom/VBoxLinuxAdditions.run /root/Desktop/
root@kali: # cd /root/Desktop/
Make it executable:
root@kali: /Desktop# chmod 755 VBoxLinuxAdditions.run
Install it:
root@kali: /Desktop#./VBoxLinuxAdditions.run
Once you’ve installed VirtualBox Guest Additions package, reboot Kali Linux.
root@kali: /Desktop# reboot
In the screenshot above, banking concern complaint all the …done. messages. When you lot come across these, you lot know it was a successful installation.
Now you lot volition receive got Kali Linux running on amount hide on your VirtualBox.
Creating Shared Folders alongside the Host System
This department explains how to portion folders on your host organisation alongside your Kali Linux VirtualBox “guest”. In gild to portion folders on your host organisation alongside your Kali Linux VirtualBox, in that place are a few brusk steps that needs to move completed.
Step 1: Add a folder/drive to Shared Folder Settings
From the VirtualBox Manager, choose your Kali Linux VirtualBox instance together with click on the ‘Shared Folders Settings’ link inwards the right window pane. This volition launch a popular upward window for adding shared folders. Within this window click the icon to add together a folder.
Step 2: Auto-mount together with Make permanent your shared folder
In the Folder Path text box, render the path to the folder you lot would similar to share, or click the drop-down arrow to browse your host organisation for the path. Select the cheque boxes that allow for ‘Auto-mount’ together with ‘Make Permanent’ together with click the OK push both times when prompted.
Your shared folders volition straight off move available inwards the media directory. You tin create a bookmark or link for easier access to the directory.
Conclusion
An obvious scrap to this ship service would be: “Why non role the official VirtualBox Guest additions?” The answer is simple, it industrial plant but non good plenty together with the random freezing makes your automobile most impossible to use. So we’ve decided to stick to the Open Source VirtualBox Guest Additions. Why role something that’s broken!
Thanks for reading. If you’ve establish it useful, delight share. Comment if you lot demand assistance or utter over options.



