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:
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:
VBoxManage startvm 192.168.56.1011 --type gui
System information:
OS: Ubuntu 18.04
$ 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:
- Installing dkms and virtualbox-ext-pack packages and running
sudo /sbin/vboxconfig
- Making sure I have the
~/.config/VirtualBox/VirtualBox.xml
and it's not empty
- Suggestions given in VBoxManage is unable to start vm code NS_ERROR_FAILURE ubuntu 16.04
Please let me know if you have any suggestions to resolve this issue. Thank you in advance.