[vbox-dev] API - Start VM in headless mode with VRDE disabled?

Ian Moore imooreyahoo at gmail.com
Fri Feb 25 10:50:51 PST 2011

Hi Vitali,

While this is a workaround, I'd like to request that a method to start
a headless server with VRDP disabled be added. If not as a new session
type, maybe injecting an environment variable that VBoxHeadless would
check may do. E.g.

machine->launchVMProcess($session, 'headless', 'VBOX_VRDE_DISABLED=1');

Just a thought. Thank you for your time.

On Fri, Feb 25, 2011 at 12:17 PM, Vitali Pelenjow
<Vitali.Pelenjow at oracle.com> wrote:
> 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