Installing and upgrading VMware Tools on x86 Linux VMs

Notes

Contents

Overview

VMware Tools provides many drivers specific to running your x86 VM operating system. Among others, VMware Tools provides the video driver that allows you to control your VM mouse cursor and the networking drivers required for VM network connectivity.

If you’re having issues with the mouse cursor or connecting to the VM, make sure you’re using the Skytap-supported version of VMware Tools. Newer versions of VMware Tools may not work with Skytap VMs.

Notes

  • Don’t install VMware Tools on Power (non-x86) VMs.
  • Skytap supports VMware Tools version 11.0.5 build 15389592 for Windows VMs and version 10.0.6 build 3560309 for legacy Linux VMs. These versions are available as an .ISO in the Skytap public assets library. They can also be downloaded from the VMware website. Using unsupported versions of VMware Tools may cause unexpected behavior in Skytap VMs.
  • Most modern major Linux distributions include open-vm-tools, an open-source product that generally works with Skytap. For more information, see github/vmware/open-vm-tools. If your VM has and problems with open-vm-tools (for example, if it doesn’t shut down correctly), follow the instructions below to install VMware tools.

Checking the VMware Tools version

To check which version of VMware Tools is installed on an x86 Linux VM
  1. Open Terminal.
  2. Enter the following command to display the VMware Tools information in Terminal:

     vmware-toolbox-cmd -v
    

    If VMware Tools isn’t installed, a message displays to indicate this.

Updating VMware Tools

You can’t update VMware Tools for Linux. Instead, use the instructions below to install the latest supported version.

Installing VMware Tools

These instructions describe the process for installing VMware Tools on Ubuntu 16.04. The steps for your Linux distribution will likely be different.

  1. Before editing the VM, create a template of it. Should any issues arise, you can restore your VM from this template.
  2. Navigate to the environment details page for the environment that contains the VM you want to update. Make sure that the VM is powered on and that you’re logged in.
  3. On the tile for the VM you want to update, click Load ISO (Load ISO). load ISO
  4. Click All.
  5. Select the ISO to install VMware Tools for Linux. select ISO
  6. Click load ISO (Load ISO).
  7. Depending on the VM guest OS settings, the ISO may automatically mount in the VM or you may need to mount the ISO manually.

     mount /dev/cdrom /media/cdrom
    
  8. Navigate to the directory of the mounted ISO.

     cd /media/cdrom
    
  9. Copy the TAR file from the ISO to the /tmp directory.

     cp VMwareTools-10.0.6-3560309.tar.gz /tmp
    
  10. Change directory to the /tmp directory.

     cd /tmp
    
  11. Unmount the ISO.

     umount /media/cdrom
    
  12. Unpack the TAR file.

     tar -zxvf VMwareTools-10.0.6-3560309.tar.gz
    
  13. Navigate to the vmware-tools-distrib directory.

     cd vmware-tools-distrib
    
  14. Run the VMware Tools installation script. Add the -d flag to use default values.

     ./vmware-install.pl -d
    
  15. Reboot the VM, either through the GUI or via command line.
  16. After the VM reboots, use the instructions in Checking the VMware Tools version to verify the correct version is installed.