1

My Ubuntu computer won't load VirtualBox.

The message I'm recieving is: Error:
Failed to create the VirtualBox COM object.
The application will now terminate.
Start tag expected, '<' not found.

Location: '/home/josh/.VirtualBox/VirtualBox.xml', line 1 (0), column 1.

/build/buildd/virtualbox-4.1.18-dfsg/src/VBox/Main/src-server/VirtualBoxImpl.cpp[484] (nsresult VirtualBox::init())

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

My Computer is currently running Ubuntu 12.10.

Joshua
  • 11

3 Answers3

3

I have listed the files and found that there are 2 files . One named VirtualBox.xml and the other VirtualBox.xml-prev. I noticed that the first file`s size was 0 bytes and the second like 1243 bytes, anyway different than 0.

So I have opened the both files and I copied the content from VirtualBox.xml-prev to the first file, save and closed the file and worked.

In my laptop the files were located in ~/.VirtualBox.

Braiam
  • 69,112
1

Delete that file and everything will be okay. Open your terminal and:

 rm /home/josh/.VirtualBox/VirtualBox.xml
komu B
  • 11
0

Here's how you can fixed it.

  1. Uninstall whatever version of VirtualBox you currently have installed: How to uninstall VirtualBox.
  2. Delete the local hidden folder (/.VirtualBox, which contains an .XML file which is causing the error).
  3. Install VirtualBox: VirtualBox/Installation.
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407