File “/usr/lib/vmware-tools/install/vmware-open-vm-tools-xorg-drv-display/x-conf-rhel.py”, line 6, in ?

 

yum remove vmware-* -y
rpm -e --noscripts vmware-open-vm-tools-xorg-drv-display.x86_64
rpm -e --noscripts vmware-open-vm-tools-xorg-drv-mouse.x86_64

 

 

 

Unable to create symbolic link “/usr/lib/vmware-tools/bin”

or

Unable to create symbolic link “/usr/lib/vmware-tools/libconf”

Seems the installer has a bug where it fails to remove the existing directory before creating the symlink (it prompts to overwrite, but of course overwriting a dir with a symlink is not possible – therefore I’d call this a BUG)

The solution is to simply remove the existing dirs:

rm -rf /usr/lib/vmware-tools/libconf
rm -rf /usr/lib/vmware-tools/bin

and run the install again:

./vmware-install.pl -d