Sunday, November 10, 2013

Fixing VMWare Tool Broken Script

If you are using the latest VMWare Workstation and you happened to install any Slackware releases (I'm using Slackware 14.1) as a guest OS on VMWare Workstation, you will likely encountered one minor issue as shown in the picture below

This happened because one of the VMWare script is broken and this relates to networking features. You will often rejected when you wanted to connect to your guest from your host OS via SSH. It seems that the guest OS SSH keys are changing all the time and you will get a MITM warning message.

The solution is simple. Boot your guest OS, change directory (cd) to /etc/vmware-tools/scripts/vmware/ and rename (or delete) the network file on this directory. Next, delete /var/run/ and restart your guest OS. This will remove the error message above :)

Credit goes to jtsn from LQ for giving this simple solution.