1 - Run: apt-get install dkms linux-headers-$(uname -r) build-essential psmisc
2 - Run: git clone https://github.com/rasa/vmware-tools-patches.git
3 - Run: cd vmware-tools-patches/patches
4 - Remove every folder except "vmhgfs".
5 - Get the last version of VMwareTools clicking on VMWare Bar > VM > Install/Reinstall VMWare Tools. It will open a virtual CD containing the "tar" file.
6 - Copy VMwareTools-9.2.4-1398046.tar.gz to "vmware-tools-patches" folder.
7 - On "vmware-tools-patches" folder, run: ./untar-and-patch-and-compile.sh