Installing VMware tools fails with error:VGAuthService & Common Agent failed

彭泽鑫 picture 彭泽鑫 · Sep 1, 2016 · Viewed 8.6k times · Source

Cannot install or upgrade VMware Tools on Debian 8.

When attempting to install it by typing ./vmware-install.pl, then appears error:

update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Checking acpi hot plug                                              done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration:                                   done
VMware Automatic Kmods:                                             done
Guest filesystem driver:                                            done
Mounting HGFS shares:                                               done
VGAuthService:                                                     failed
Common Agent:                                                      failed
Unable to start services for VMware Tools

Execution aborted.

How can I fix it?

Answer

groats picture groats · Sep 1, 2016
  1. uninstall prevoius Installation root@debian-vm:~$ vmware-uninstall-tools.pl

    1. Reinstalled Vmware Tools:

To (re)install VMware Tools, you must mount the VMware Tools CD image, extract the contents (VMware Tools), and then run the installer.

To mount the CD image and extract the contents:

Power on the virtual machine.
Log into the virtual machine using an account with administrator or root privileges.
Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).

Note: If you are running the light version of Fusion, a version of Workstation without VMware Tools, or VMware Player, you are prompted to download VMware Tools before they can be installed. Click Download Now to begin the download.
Open the VMware Tools CD mounted on the desktop.
Right-click the file name that is similar to VMwareTools.x.x.x-xxxx.tar.gz, click Extract to, and select the Desktop to save the extracted contents.

The vmware-tools-distrib folder is extracted to the Desktop.

To install VMware Tools:

Open a Terminal window. For more information, see Opening a command or shell prompt (1003892).
In the Terminal, run this command to navigate to the vmware-tools-distrib folder:

cd Desktop/vmware-tools-distrib
Run this command to install VMware Tools:

/vmware-install.pl -d

Note: The -d switch assumes that you want to accept the defaults. If you do not use -d, press Return to accept the defaults or supply your own answers.
Restart the virtual machine after the VMware Tools installation completes.

Vmware Tool Services Fail error is now gone.