Install software needed by VMware Tools

Note: you need to boot the 1-1 kernel from grub for this to work.
  1. Install packages to build the kernel modules
    yum install gcc kernel-devel
  2. Check the running kernel matches the kernel headers
    uname -r # running kernel
    rpm -q kernel-devel # installed kernel headers
  3. If the two versions do not match, run
    yum -y upgrade kernel kernel-devel
    reboot
  4. Find out where the kernel headers are (you may need this later)
    ls -d /usr/src/kernels/$(uname -r)*/include

2. Prepare and install VMware Tools

While running Centos, click on Install VMware Tools, then restart VM client machine
  1. From VMware Workstation: go to VM> Install VMware Tools
  2. From the VM: mount the virtual cd drive
    mount /dev/cdrom /mnt/
  3. Extract VMware Tools to /tmp/
    tar -C /tmp -zxvf /mnt/VMwareTools-6.0.4-93057.tar.gz
  4. Unmount the virtual cd drive
    umount /mnt
  5. Now run the installer – from console
    cd /tmp/vmware-tools-distrib
    ./vmware-install.pl
  6. Answer all the questions with yes (click pressing enter 5 times). Enter option 3 when prompted to start X at predefined resolutions
  7. Call vmware tool with this command: /usr/bin/vmware-toolbox