- #How to install vmware tools on kali linux 2016.2 mac os
- #How to install vmware tools on kali linux 2016.2 update
- #How to install vmware tools on kali linux 2016.2 code
- #How to install vmware tools on kali linux 2016.2 download
Running the command gave me this: # uname –r3.7-trunk-686-pae
![how to install vmware tools on kali linux 2016.2 how to install vmware tools on kali linux 2016.2](https://i.ytimg.com/vi/RfRqJC5cmYI/maxresdefault.jpg)
The get_version_integer() function is defined as follows:Īs you can see above, the script gets the kernel versionnumber by running the "uname –r" command and parsing the resultstring.
![how to install vmware tools on kali linux 2016.2 how to install vmware tools on kali linux 2016.2](http://www.vmwarearena.com/wp-content/uploads/2017/09/Install-VMwareTools-on-Kali-Linux_7.jpg)
For more details, I opened the /etc/init.d/vmware-tools file to see whatlies at line 1088: local run_kver=`get_version_integer` It seems that the service initialization script also needed to be fixed. etc/init.d/vmware-tools: 1088: local: ': bad variable name Blocking file system: failed. Some of the services reported an error, and one in particular didnot start. "Excellent," I thought, "it's fixed." In actuality, there was more work to do: To fix it, I used this: # cd /lib/modules/3.7-trunk-686-pae/build/include/# ln -s /usr/src/linux-headers-3.7-trunk-686-pae/include/generated/uapi/linux/version.h linux/version.hĪnd I was presented with the following after running again: With that, I'd discovered the issue: the file/lib/modules/3.7-trunk-686-pae/build/include/linux/version.h was missing. access("/lib/modules/3.7-trunk-686-pae/build/include/linux/version.h", F_OK) = -1 ENOENT (No such file or directory). Tracing the system calls with strace I found the following: # apt-get install strace# strace '/usr/lib/vmware-tools/sbin32/vmware-modconfig-console' -validate-kernel-headers -k 3.7-trunk-686-pae "" -l "/usr/lib/vmware-tools" I suspected that missing files mighthave been the issue. I had to plunge further and find out which files the tool was calling.
#How to install vmware tools on kali linux 2016.2 code
I just added this code right after the line6192 in to find out what the command actually is: print("$modconfig -get-kernel-headers $mcKverOpt $appLoaderArgs") Īs I expected, nothing happened. The first parameter of the getValidKernelHeadersPath()function is $kh_path and upon further review I found the code responsible for settingits value (line 6192): $gKernelHeaders = `$modconfig -get-kernel-headers $mcKverOpt $appLoaderArgs` When I opened the file /usr/bin/ with my favorite editor and searched for the string "is not a valid path to," I found this at line 6152:Īpparently, $kh_path was empty (""), and I needed to find outwhy. I needed to dig deeper into the code to understand what was going on. Īfter answeringsome questions with the default options, I ended up with the following: # tar xzvf VMwareTools-9.2.# cd vmware-tools-distrib/#. This process is not as easy as it might appear: # cp /media/cdrom/VMwareTools-9.2. My next step would be tocopy the compressed file, untar it and run the installer (the version at thetime of writing was 9.2.2-893683).
![how to install vmware tools on kali linux 2016.2 how to install vmware tools on kali linux 2016.2](https://www.pentestingshop.com/wp-content/uploads/2015/01/art15.jpg)
This automatically mounted a virtual CD containing the installation software.
#How to install vmware tools on kali linux 2016.2 mac os
To install theVMware Tools, I selected "Reinstall VMware Tools" from the "Virtual Machine" menu (Iam using VMware Fusion 5.0.3 on Mac OS X, but the same procedure should apply on otherplatforms and versions). Here is the error message Igot each time I tried to copy a file: "There was an error getting information about …"Īpparently, the VMwareTools needed to be upgraded and, believe me, it was not an easy task. Immediately after that, I found an annoying issue when tryingto drag and drop files from the host into the VM.
#How to install vmware tools on kali linux 2016.2 update
The first thing I did (and I guess everybodydoes) was run an "apt-get update & apt-get dist-upgrade" toupgrade the system.
#How to install vmware tools on kali linux 2016.2 download
So I downloaded the VMware image from the Kali Linux download page and ran it using VMware Fusion. It's built on Debian and is FHS compliant, which is a verygood thing. I have been using Backtrack for a while now and decided toswitch to Kali Linux, a new open source distribution by the creators ofBacktrack.