re: ubuntu 6.06LT host/win xp pro guest
Am able to perform vmrun commands on host (locally) to control guest vm.
Am able to ssh into host and perform linux commands (ex: cd, mkdir, etc)
Difficulty is cannot successfully execute vmrun start/vmrun reset through ssh.
Have navigated to .vmx directory and tried-
vmrun start "Windows XP Professional.vmx"
and receive error: Command failed: Cannot connect to the virtual machine .
Although:
vmrun list
returns Total Running VMs:0
I'm new to both vmware and linux. Not sure if this is a vmware or a linux obstacle.
Assistance is appreciated and Thank You for this great forum.
Have you verified that you forward your X connection correctly when you connect with ssh? I have had issues to start VMware remotely via SSH until I added the line
to my ~/.ssh/config on my local machine. Of course you'll also need the "ForwardX11 yes" option.
I've made the modification and now...Both ForwardX11 and ForwardX11Trusted are set to yes in the ssh_config file on the 'ssh client machine'.
In the ssh_d config...X11Forwarding yes is present.
Unfortunately, the error remains.
Hurray! That did it fine... I misspelled professional in my haste.
Thank you for your timely and precise assistance. VMware is dabomb!
I am having this same exact problem, but I get the problem when trying to run vmrun start inside of a cron job. Any ideas?