Getting VMWare Tools to Work with Kali Linux 1.0

Spread the love

This is a quick one and for the geeks.  If you’re trying to install Kali Linux 1.0 from the ISO into VMWare Workstation 9.0, Player 5.0, or ESX/ESXi 5 and VMWare Tools won’t properly compile/install, try the following.

When installing, watch for the question of where to install service files, which defaults to /etc/init.d/.  Then launch your favorite editor to load /etc/init.d/vmware-tools and edit the get_integer_version function around line 840 as follows (changed code in red):

get_version_integer() {
  local version_uts
  local v1
  local v2
  local v3

  version_uts=`uname -r`

  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $version_uts on purpose
  set `IFS=’.’; echo $version_uts`
  v1=”$1″
  v2=”7″  # This was $2
  v3=”0″  # This was $3
  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $v3 on purpose
  set `IFS=’-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz’; echo $v3`
  v3=”$1″

  kernel_version_integer “$v1” “$v2” “$v3”
}

It’s an ugly hack, but it makes things work, including the Shared Folders functionality.

One Reply to “Getting VMWare Tools to Work with Kali Linux 1.0”

Leave a Reply

Your email address will not be published. Required fields are marked *