I am trying to run a VM on VMWare Workstation in sort of 'background' mode, basically I want to start it without a console and connect to it via ssh only. Is it possible?
closed as off-topic by Sven♦ May 6 at 8:03
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – Sven
Yes it is possible. You can do this with the "vmrun" command using the "nogui" option:
vmrun -T ws start /export/vmware/rh5/server.vmx nogui
The VM will then come up without starting the Workstation GUI and you can ssh to it.
If your host os is Windows change the path to:
vmrun -T ws start C:\export\vmware\rh5\server.vmx nogui
You can start the VM in workstation and then you simply close the tab that it's open on. Workstation will ask you if you want to power off, suspend, or background that virtual machine.