VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMa

Discussions related to using VirtualBox on Linux hosts.
Post Reply
sammy17
Posts: 1
Joined: 30. Apr 2023, 21:04

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMa

Post by sammy17 »

I am trying to run Cuckoo sandbox in my Ubuntu 18.04 and got the sandbox VMs working in the headless mode. I want to see the STDOUT when the program is executing, for that I thought I will enable the GUI mode in virtualbox. I enabled the GUI mode by editing the mode parameter in virtualbox.conf.

Then I am getting the following error:

Code: Select all

VBoxManage: error: The virtual machine '192.168.56.1011' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
I am getting the same error when I try to start the VM using the VBoxManage command standalone (without using Cuckoo). I saw that this error was posted by many people online, but the suggested solutions did not work (seems like there are many reasons that this error can come).

Standalone VBoxManage command I used:

Code: Select all

VBoxManage startvm 192.168.56.1011 --type gui
It works fine when I used the type as headless.

System information: OS: Ubuntu 18.04

Code: Select all

$ uname -a
Linux 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ VBoxManage --version
5.2.44r139111
What I tried so far:
1. Installing dkms and virtualbox-ext-pack packages and running sudo /sbin/vboxconfig
2. Making sure I have the ~/.config/VirtualBox/VirtualBox.xml and it's not empty
3. Suggestions given in VBoxManage is unable to start vm code NS_ERROR_FAILURE ubuntu 16.04 askUbuntu post (I can't post URLs yet)

Please let me know if you have any suggestions to resolve this issue. Thank you in advance.
Post Reply