[vbox-dev] API - Start VM in headless mode with VRDE disabled?
Vitali Pelenjow
Vitali.Pelenjow at oracle.com
Fri Feb 25 09:17:30 PST 2011
Right, the API currently starts the VM with enabled VRDE server and
ignored the VM setting.
I think as a workaround you can disable VRDE after starting the VM:
IVRDEServer::Enabled(FALSE);
This works for a running VM and will drop any existing client connections.
Best regards,
Vitali.
Ian Moore wrote:
> Hello,
>
> Is it possible (using the API) to start a VM in headless mode with
> VRDE disabled? I'm finding that i cannot. If I disable the VRDE
> server, then use something like:
>
> machine->launchVMProcess($session, 'headless', '');
>
> It turns on VRDE and starts the VRDE server. Though you can explicitly
> call VBoxHeadless -vrde off, there is seemingly no way to do this from
> the API.
>
> Should I be doing something differently?
>
> Thank you.
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
More information about the vbox-dev
mailing list