I have a vmware guest in vmware workstation. I can start or stop the VM using vmrun but runProgramInGuest and runScriptInGuest are failing with invalid username or password in guest, however the username and password are both valid. Vmware tools are installed in guest.

vmrun version: 1.10
vmware WS 7.0

Any help will be greatly appreciated.


vmware tools try to use /lib/security/pam_unix2.so wich not exist. Creating a link from pam_unix.so it works.

ln /lib/security/pam_unix.so /lib/security/pam_unix2.so
  • In my case, I had to do ln -s /lib/i386-linux-gnu/security /lib/security, but your post was what made me look more closely at the output of strace -p $(pgrep vmtoolsd) -e open. Thanks a lot, man! – atzz Aug 12 '11 at 8:46

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.