Ubuntu – vmware tools installation problem

vmware-tools

I just installed XUbuntu on my Vmware Workstation.
After I saw, that I can't change display settings (resolution), I try to install VMware Tools. But – after I run vmware-install.pl, I get a message:

The following VMware kernel modules have been found on your system that were 
not installed by the VMware Installer. Please remove them then run this
installer again.

vmci
Execution aborted.

What can I do?

Best Answer

This is what I did for Ubuntu 16.04:

sudo apt remove --auto-remove open-vm-tools
sudo apt purge open-vm-tools

It complained about not being able to delete a directory since it is not empty so I manually removed one file that resides in that directory using:

sudo rm /etc/vmware-tools/scripts/vmware/network.old.0

And now you can run vmware-install.pl again.