Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

VMware Workstation and VMware Player both require the VMware application to be open and running, preventing you from logging out. The application / VM window itself can always be minimized. There are application settings to configure performance of the VM when running in background mode (i.e. not the current application focus).

If you're looking for running a VM completely in the background (almost like a service), consider the free VMware Server for Windows:

http://www.vmware.com/products/server/

share|improve this answer

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
share|improve this answer

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.

share|improve this answer
    
interesting...gotta try that! –  Alex N Nov 28 '09 at 22:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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