1.进入root权限
su root
- 检查open vm tools包
root@ubuntu:~# apt-cache search open-vm-tools
#显示以下行
open-vm-tools - Open VMware Tools for virtual machines hosted on VMware (CLI)
open-vm-tools-dev - Open VMware Tools for virtual machines hosted on VMware (development)
open-vm-tools-desktop - Open VMware Tools for virtual machines hosted on VMware (GUI)
open-vm-tools-dkms - Open VMware Tools vmxnet kernel module (deprecated)
- 卸载之前的vmware tools
root@ubuntu:~# vmware-uninstall-tools.pl
#显示以下
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
File /etc/vmware-caf/pme/config/cafenv-appconfig is backed up to
/etc/vmware-caf/pme/config/cafenv-appconfig.old.0.
This program previously created the directory /usr/lib/vmware-caf/pme/lib, and
was about to remove it. Since there are files in that directory that this
program did not create, it will not be removed.
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.1.
The removal of VMware Tools 10.1.6 build-5214329 for Linux completed
successfully. Thank you for having tried this software.
- 安装open vm tools包
root@ubuntu:~# apt-get install open-vm-tools open-vm-tools-desktop