[vbox-dev] Make a program that list all VBoxHeadless process, and VRDE port number, using internal protocol ?
Klaus Espenlaub
klaus.espenlaub at oracle.com
Mon Aug 20 04:24:42 PDT 2012
On 20.08.2012 11:24, Aaron Lewis wrote:
> Hi,
>
> I'm not sure how should this work, I want to list all names of running
> VMs (that started by VBoxHeadless), and its VRDE port number,
>
> Then make a very simple client that utilize rdesktop to connect.
>
> I can't just parse the .xml config for the machine, since some machine
> doesn't specify a port number in its config (that VBoxHeadless will find
> a random port number).
>
> So I'm wondering, if any internal protocol could use here
Use the API... there are ways of enumerating all VMs, then you can check
which ones are running and then further filter by having VRDP enabled
and so on. See the SDK.
Klaus
>
> Thanks !
>
> --
> Best Regards,
> Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com )
> Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E
More information about the vbox-dev
mailing list