How can I install Parallels Tools in my Kali Linux 2020.x virtual machine?. Parallels Tools is a set of drivers installed on the guest OS that is installed in your VM. These drivers helps you use your virtual environments in the most comfortable and efficient way. Some of the key benefits of installing Parallels Tools on a VM are:
- You can move the mouse seamlessly between the VM and your Mac
- Ability to change the VM’s screen resolution simply by resizing its window
- Synchronization of your VM’s time and date settings with the host OS
- Sharing your Mac disks and folders with its VMs
- Copy text and drag and drop objects from macOS to a VM and vice versa.
How To Install Parallels Tools on Kali Linux 2020.x Guest VM
The Parallels Tools are not installed by default if you’re not using Parallels Automated installer. You have to manually install the drivers in your guest OS.
Before you can install Parallels Tools on Kali Linux, I recommend you update the OS.
sudo apt update sudo apt upgrade -y
Reboot after the upgrade
Once the reboot is done, proceed to install Kernel headers.
sudo apt install linux-headers-$(uname -r) build-essential dkms libelf-dev
Click on the Actions menu at the top and select Install Parallels Tools.
Click “Continue” to mount the CD on your Virtual Machine.
Check Mount point for the CD.
Copy files to a directory in your home.
sudo mkdir ~/Parallels-Tools sudo cp -r /media/cdrom0/* ~/Parallels-Tools
Change to ~/Powerallels-Tools directory and give installer script executable bit.
cd ~/Parallels-Tools chmod +x install
Run installer script.
Agree to start installation.
Install any required dependencies.
Wait for the download and tools installation to complete.
Confirm you can utilize features provided by Parallels Tools installation.
Handling Failed Installation
If you get errors like below in /var/log/parallels-tools-install.log.
.... /Linux/prl_tg] Error 2 make: *** [/usr/src/linux-headers-5.7.0-kali1-common/Makefile:180: sub-make] Error 2 make: *** [Makefile:42: prl_tg] Error 2 make: *** [Makefile.kmods:31: compile] Error 2 Error: could not build kernel modules Error during report about failed installation of parallels tools. Error: failed to install Parallels Guest Tools!
The try using this patched prl_mod.tar.gz
cd ~/Parallels-Tools cd kmods rm prl_mod.tar.gz wget https://github.com/jmutai/dotfiles/blob/master/files/prl_mod.tar.gz
Then retry installation on Parallels Tools on Kali Linux 2020.x.
cd ~/Parallels-Tools sudo ./install
I hope your installation succeeds by following one of the methods captured in this article.
Penetration testing courses to check out: