Kali go in, install vmtools a bit of egg ache, halfway will ask you to compile kernel module required kernel header file, but not installed by default. When installing headers, we have to do some preparatory work because there is no source to download.
First open the shell, we want to add a source.
View Source
1 vim/etc/apt/sources.list
Or
1 nano/etc/apt/sources.list
Add the following two lines:
1 Deb Http://http.kali.org/kali Kali main Non-free contrib
2 deb-src Http://http.kali.org/kali Kali main Non-free contrib
Added source, we update Apt-get:
View Source
1 apt-get Update
After the update is complete, install Linux-header:
View Source
1 apt-get Install gcc make linux-headers-$ (uname-r)
This is because different Debian kernel versions may be different, so use a uname-r command to request a publication for the installation.
Then we do a link file to/usr/srcnux-headers-$ (uname-r)/includenux/, because the Vmtools installation when the default here to find. h file, do a link we do not have to manually input.
1 ln-s/usr/srcnux-headers-$ (uname-r)/include/generated/uapinuxersion.h/usr/srcnux-headers-$ (uname-r)/ includenux/
Now that the preparations are complete, you can start loading the vmtools.
Click on the Virtual Machine menu: Virtual machine-Install Vmtools, the virtual machine will automatically load on the Vmtools CD, we need to mount it. But generally we use a graphical interface, open "Computer", there is a CD/DVD drive, there is a tar.gz compression package, we copy it to/root under the line.
Then under the shell:
1 cd/root
2 tar zxvf vmwaretools*
Unzip the compressed package that was just copied to the/root. When we enter the name, press TAB to fill the line, do not silly lose.
After extracting the/root directory is one more folder:
1 CD vmware-tools-distrib/
2 . mware-tools-install.pl
The CD enters the folder and allows the vmware-tools-install.pl in that directory. Then the automated installation process begins, and all the way to the finish line is reached.
KAIL2 Linux installation VMware Tools