- While your VM is running, in your host environment select Virtual Machine > Install VMware Tools (or Virtual Machine > Reinstall VMware Tools).
- Make sure you have the build-essentials and linux-headers packages installed
sudo apt-get install build-essential*chances are, the linux-headers are already installed, but just in case
sudo apt-get install linux-headers-`uname -r`
- Choose Virtual Machine > Reinstall VMWare Tools and click Install to load the VMWare Tools virtual cd-rom.
- Now, mount the cdrom to the file system:
- Extract the VMware Tools to the /tmp/ directory. Note that the x.x.x-xxxx should be replaced with the version numbers on the actual file:
tar xzvf /mnt/cdrom/VMwareTools-x.x.x-xxxx.tar.gz -C /tmp/
- Change directories to the /tmp/ directory and run the vmware-install.pl script:
cd /tmp/vmware-tools-distrib/*The -d modifier in the last command above tells the installer that you want to accept all of the defaults. If you want to supply your own answers to the installer, do not use this modifier.
sudo ./vmware-install.pl -d
- Reboot Ubuntu:
- When the Ubuntu boots back up, look in the /mnt/hgfs folder and your shared folders should be there:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom