Dr. Chaos

Installing VMware Tools on Kali Linux

Posted In Security - By Aamir Lakhani on Monday, May 27th, 2013 With 3 Comments

If you are using Kali Linux and trying to use it in a VM environment as a guest operating system on VMware you may run into some issues. It is recommended that you install VM Tools for VMware on Kali Linux.

This guide will help you install VM Tools on any installation of Kali Linux (including 64-bit ISOs). It will also allow you to use Kali Linux in VMware ESXi environments.

The first thing you need to do on Kali Linux is prep the system for VM Tools. You do so by issuing the following commands:

Note: all commands are typed as one line in the terminal

 echo cups enabled >> /usr/sbin/update-rc.d

echo vmware-tools enabled >> /usr/sbin/update-rc.d

apt-get install gcc make linux-headers-$(uname -r)

VMtools ommands-2

Note: This is typed as one line

ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/

VMtools ommands-3

Now you are ready to mount the VM Tools CD. Simply go to the menu in VMWare and install VM Tools.

VMtools ommands-4

Now go back to Kali Linux and use the following commands:

mkdir /mnt/vmware

mount /dev/cdrom /mnt/vmware/

cp -rf /mnt/vmware/VMwareTools* /tmp/

VMtools ommands-5

Next, you will change to the /tmp directory and run the VM Tools installation script.

cd /tmp/

tar zxpf VMwareTools-*.tar.gz
cd vmware-tools-distrib/

VMtools ommands-7

Lastly type: ” ./vmware-tools-install.pl” to run the VM Tools installation script. Follow the onscreen instructions when you run the script.

What is Kali Linux and how is it different from Backrack? Check out our Kali Linux introduction on www.DrChaos.com

Displaying 3 Comments
Have Your Say

  1. [...] Installing VMware Tools on Kali Linux [...]

  2. [...] Sticking with the last release of BackTrack 5 RC3 has some advantages such as having more streamlined installation options on various operating systems. One huge limitation for Kali is support in a large VMware ESXI server environment due to VMTools not running on the 64-bit version of Kali. There is a workaround using 32-bit images with VM Tools preinstalled that is downloadable from the Kali website. If you want to install VMware Tools natively on the Kali Linux ISO (including 64-bit versions of the ISO) than check out our HowTo Install VMware Tools On Kali Linux. [...]

  3. [...] Great find and post by Aamir Lakhani. Check out the original HERE [...]