Installing VMware Tools in a Kali VM

icon-kali

While installing VMware tools on a Kali Linux 64 Bit v1.0.5 virtual machine you’ll receive these errors:

The path “” is not a valid path to the 3.7-trunk-amd64 kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.7-trunk-amd64 kernel?

The header files are missing, here’s the fix:

Complete the install, paste the below code and rerun the installer.
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)
ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/

Notes:

Use the following commands to copy/extract/install:
cp VMwareTools-*.tar.gz /tmp/
tar zxpf VMwareTools-*.tar.gz
sudo ./vmware-install.pl -d

References:

https://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html

Leave a Reply