To install Open VM Tools on Debian 6 (squeeze) perform the following:
Open the apt source repository list:
Add contrib archive to then end of the source:
deb http://ftp.uk.debian.org/debian/ squeeze main contrib
Save the changes and then update the package list:
apt-get update -q -y
Then run the following commands:
# install kernel headers so modules will work apt-get install linux-headers-virtual # install kernel modules apt-get install --no-install-recommends open-vm-dkms # EITHER: install tools for an xorg install apt-get install open-vm-tools # OR: a headless install apt-get install --no-install-recommends open-vm-tools
Then start up Open VM Tools:
I was met with the following error when starting Open VM Tools:
root@web1:/etc/init.d# /etc/init.d/open-vm-tools start Loading open-vm-tools modules: vmhgfsFATAL: Module vmhgfs not found. vmmemctlFATAL: Module vmmemctl not found. vmsyncFATAL: Module vmsync not found. . Starting open-vm daemon: vmtoolsd.
Thanks to this link I was able to understand why and fix the issue. Basically, kernel modules for advanced VMware functions weren’t installed. To install them run the following:
module-assistant auto-install open-vm -i
That’s it, Open VM Tools will now work with advanced VMware functions.