![]() ~# mount VBoxGuestAdditions_6.1.6.iso /media/iso -o loop ![]() Again, make sure to swap out the 6.1.6 with whatever version you're working with. The -o loop part is for mounting the ISO as a block device to interact with its filesystem as if it were a CD in your physical disc drive. ~# wget Īfter that's done downloading, make a new directory for the ISO. For me, it's 6.1.6, but if you're using another version, swap out those numbers in the command. Now, download the Guest Additions file that pertains to your VirtualBox version. ![]() Next, reboot the Kali Linux virtual machine. ~# apt-get remove -y virtualbox-guest-utils ~# apt-get remove -y virtualbox-guest-dkms ~# apt-get remove -y virtualbox-guest-x11 If you are running as a standard user and not as a root user, use sudo before each command necessary.Īfter updating to the latest VBox, purge the guest files. There are probably countless reasons why the bidirectional clipboard between the virtual machine and host operating system may not be working for you, and each may have a different solution, but this is what finally worked for me. Don't Miss: Top 10 Things to Do After Installing Kali Linux. ![]() That did not work for me either, even after messing with Guest Additions again. I initially updated VirtualBox on my Mac via "Check for Updates," but it was actually not the most up-to-date version available, so I re-updated to the real lastest version from VirtualBox's downloads page. Some people claim that upgrading VBox to the latest version worked for them, but not me. Downgrading VBox was also an option, but a last-ditch effort if you ask me. Some users have reported that manually reinstalling Guest Additions did the trick, but not for me. Installing the Guest Additions didn't seem to do anything, and the bidirectional shared clipboard was enabled, but there was one thing that did work for me that may help you out too if you experience the issue.įrom what I can tell, the issue persists across multiple VirtualBox versions for Linux, macOS, and Windows. If anyone knows how to get this to work please let me know.Last week, I updated VirtualBox on my computer since I had skipped a few versions, then I could no longer copy text or paste text from my Kali virtual machine to my host OS and vice versa. The virtual machine errored saying: E: Unable to locate package linux-headers-4.6.0-kali-amd64Į: Couldn't find any package by glob 'linux-headers-4.6.0-kali-amd64'Į: Couldn't find any package by regex 'linux-headers-4.6.0-kali-amd64' The commands below it worked until the apt-get install linux-headers-$(uname -r) command. I followed the comment talking about editing /etc/apt/sources.list. My final method came from SuperUser as found here. I tried doing those two methods twice, each with a brand new virtual machine. However, upon reboot the seamless mode and auto-resize guest option for my virtual machine were still greyed out. Those commands worked fine and things were installed. I then tried the official way on the Kali Linux docs found here. I was able to see the disk on the desktop of the vm but when I tried to launch the software inside it errored with the message: Cannot find program. The first method was inserting the guest CD under the devices menu for my virtual machine. I have tried several different methods for installing the guest additions. In addition, I have been using Kali Linux version 2016.2 for a 64 bit OS. I have been trying to install the VirtualBox guest additions onto my Kali Linux VM for the past couple of days now and I am at a loss for why it's not working.įor starters, the host machine is running Windows 10.
0 Comments
Leave a Reply. |