VMware Communities
NealRame
Contributor
Contributor

Why do I get "Error: Invalid user name or password for the guest OS" when I try to run an application on an OSX 10.10 guest ?

Hello everybody,

I installed the trial version of VMWare Fusion (Version 8.5.3 (4696910)) on my Mac (macOS Sierra).

I setup a guest OS running Mac OS X 10.10 (yosemite).

I installed the VMWare tools on the guest OS.

I try to run a command on the guest OS from the host OS I an "Invalid user" error:

> vmrun -T fusion -gu test -gp test runProgramInGuest "$HOME/Documents/Virtual Machines.localized/OS X 10.10.vmwarevm/OS X 10.10.vmx" "/bin/echo" "test"

Error: Invalid user name or password for the guest OS

I searched in the documentation, googled, and dug in the forum for similar problems. It seems like the answer is always "You have to installed the VMWare tools." I have installed the VMWare tools, but it's still not working. However I noticed that the issues always deal with Linux or Windows guest OS. So I'm thinking, is it possible to run commands from the host OS on OSX guest OS ?

Thank you !

Tags (2)
Reply
0 Kudos
3 Replies
NealRame
Contributor
Contributor

I try the runProgramInGuest on the Linux guest and it works. So I am pretty sure now that that feature is not supported with OSX guests.

Anyway, I can run a script or a command using a ssh connection on the guest, so it does not matter.

Reply
0 Kudos
DaveP
Commander
Commander

It is a known problem with a security update to macOS. The fix is here Re: vmrun tool doesn't work after the latest Mac-OS security update

Reply
0 Kudos
NealRame
Contributor
Contributor

Hi DaveP, thank you for your answer.

The provided installer for VMWare tools only works for OSX >= 10.11 guests, it does not apply to my situation because I have to run commands on a Yosemite (10.10) guest.

Reply
0 Kudos