Forum Thread: How to Install VMWare Workstation/VMWare Player on Kali Linux 2.0

On this article, I will show you how to fix "VMWare can not run on Kali Linux" error.

  1. Install linux-headers-$(uname -r)

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

  1. Download and Install VMWare as normal
  2. Patch for Kernel 4.0

$ curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
Extract the vmnet module sources:
$ cd /usr/lib/vmware/modules/source
# tar -xf vmnet.tar
Apply the patch:
# patch -p0 -i /tmp/vmnet-3.19.patch
Recreate the archive:
# tar -cf vmnet.tar vmnet-only
Remove leftover:
# rm -r -only
Rebuild modules:
# vmware-modconfig --console --install-all

  1. Fix network vitural not complie

# - as root user
$ cd /usr/lib/vmware/modules/source
$ tar -xvf vmnet.tar
# - edit the file vmnet-only/netif.c and replace the line that looks like
dev = allocnetdev(sizeof netIf, deviceName, VNetNetIfSetup);
to
dev = alloc
netdev(sizeof netIf, deviceName, NETNAMEUNKNOWN, VNetNetIfSetup);
$ tar -cvf vmnet.tar vmnet-only/
$ rm -rf vmnet-only/

Be the First to Respond

Share Your Thoughts

  • Hot
  • Active