On 28/02/2022, n952162 <n952...@web.de> wrote: > Hi, > > I normally start my vm with: > > vboxmanage startvm guest1 > > Recently, I did some reconfiguration and now that command works, but > only if the VirtualBox application has been started. Actually, it > doesn't even need to be running anymore for the magic to work. > > If the VirtualBox GUI hasn't run since the last boot, I get this when I > use startvm: > > VBoxManage: error: Could not find a registered machine named 'guest' > VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND > (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, > callee nsISupports > VBoxManage: error: Context: "FindMachine(Bstr(pszVM).raw(), > machine.asOutParam())" at line 721 of file VBoxManageMisc.cpp > > But if it has, then the vboxmanage command works and the vm starts up. > > Can anyone explain what's happening?
Hi, You don't say what host OS you are running. In any case, have you tried different --type options for startvm and see if it makes a difference? Copying from the docs: --type specifier determines whether the machine will be started in a window or whether the output should go through VBoxHeadless, with VRDE enabled or not. The global or per-VM default value for the VM frontend type will be taken if the type is not explicitly specified. If none of these are set, the GUI variant will be started. The following values are allowed: gui Starts a VM showing a GUI window. This is the default. headless Starts a VM without a window for remote display only. separate Starts a VM with a detachable UI. Technically, it is a headless VM with user interface in a separate process. Just an idea if perhaps specifying type as separate would make any difference. FC _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe