On a computer running OSX (snow leopard server) with VMWare Fusion installed I'm trying to start a VM via SSH without being directly logged in to the GUI.
Based on looking around I figured the following command should do the trick
vmrun -T fusion start /path/to/VM nogui
However it is returning this error
vmware-vmx[24770] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
vmware-vmx[24770] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
which makes me think that it's not getting the 'nogui' part of the command or there is something with how OSX is setup that I don't understand.