I'm using macOS and installed VirtualBox.
When I start a machine, I'm getting the following error :
Failed to open a session for the virtual machine ubuntu.
The virtual machine 'ubuntu' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
This error seems to appear with VirtualBox installs on versions of macOS 10.13.
To fix this issue, you have to uninstall VirtualBox (use the VirtualBox_uninstall.tool
of the VirtualBox downloaded dmg).
Then, install it again executing VirtualBox.pkg
. At the end of the install, go to System Preferences, Security and Privacy, and the click the allow
button :
This should solve your issue.
Using a readonly filesystem, blocking VBox files wrtiting access causes this error. Move VBox virtual machines files to a new location with writing permissions must resolves this problem. In my case, i use a Linux server, with VBOx software but my machine was moved to a Windows partition with BitLocker active and the windows Disk was mounted in ReadOnly, causing this problem.
I got this when I was trying to restore a suspended session. The fix was to click the "Discard" button (down arrow icon) and just discard the saved machine state. It's at least faster that uninstall/reinstall, I'd try it first.
User contributions licensed under CC BY-SA 3.0