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

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

无法在 Debian 8 上安装或升级 VMware Tools。

尝试通过键入 ./vmware-install.pl 进行安装时,出现错误:

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.

我该如何解决?

  1. 卸载之前的安装 root@debian-vm:~$ vmware-uninstall-tools.pl

    1. 重新安装了 Vmware 工具:

要(重新)安装 VMware Tools,您必须安装 VMware Tools CD 映像,提取内容 (VMware Tools),然后运行 安装程序。

要安装 CD 映像并提取内容:

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.

要安装 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 工具服务失败错误现已消失。

这个解决方案只对我有用:

1) sudo apt-get autoremove open-vm-tools

2) 按照常规方法安装 VMware Tools(虚拟机 --> 重新安装 VMWare Tools)

3) 重启虚拟机

4) sudo apt-get 安装 open-vm-tools-desktop

5) 重启虚拟机,重启后copy/paste和drag/drop就可以了!

... 用户 'solution101' 在 https://askubuntu.com/questions/691585/copy-paste-and-dragdrop-not-working-in-vmware-machine-with-ubuntu

对于遇到此问题的任何其他人,一个更简单的解决方案是创建具有 755 权限的 /var/run/vmware 目录