[vbox-dev] VirtualBox customized frontend support
karolinehaus at yahoo.de
Tue May 20 05:23:22 UTC 2014
I’ve developed a custom VBox graphics frontend, replacing
VBoxSDL or VBoxHeadless. It’s working well when I call it from the command line
using “VBoxMyFrontend –startvm VM” and so on. I have built the frontend my
modifying the VBox source code which I downloaded from the official website.
Here I have added another frontend under src/VBox/Frontends where I now have a
folder VBoxMyFrontend. The compilation works fine and as I said I can start the
frontend as well.
Now what does not work is to start the VM using VBoxManage
when I try to set the default frontend of that VM to my own one. Like this:
modifyvm Test2 --defaultfrontend MyFrontend
# VBoxManage startvm Test2
VBoxManage: error: Invalid frontend name: 'MyFrontend'
VBoxManage: error: Details: code
NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface IMachine,
VBoxManage: error: Context: "LaunchVMProcess(a->session,
sessionType.raw(), env.raw(), progress.asOutParam())" at line 592 of file
How can I make this work, and register my frontend with
VBoxManage? Is this possible at all, or would I have to change the VBox API
Any help would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev