14

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?

Alex N
  • 782
  • 3
  • 10
  • 24

2 Answers2

42

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
gm3dmo
  • 10,057
  • 1
  • 42
  • 36
8

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.

Brandon
  • 276
  • 1
  • 2