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.

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

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
link|improve this answer
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
feedback

Same problem is persisting with me. I have vmware workstation 8.0 , Host OS windows 7 and guest OS also Windows 7. please help, how do I execute runProgramInGuest & copyFileFromHostToGuest commands successfuly with valid guest login in my VM? if possible give syntax or step by step instructions.... Thank you so much in advance.

link|improve this answer
Aquí hay una respuesta para ese caso: vmrun -T ws -gu <username> -gp <password> runProgramInGuest "path to vmx file" -activeWindow -interactive "path to program on guest" communities.vmware.com/thread/301623 – CronosNull Feb 18 at 18:00
feedback

Your Answer

 
or
required, but never shown

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