Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The VirtualBox 4.2.12 on Ubuntu 12.04 was running fine till I needed to install guest additon. After its installation:

 Failed to open a session for the VM Win 7 exit code 1;

 RTR3Init failed with rc=-1912(rc=1912)

After running dpkg --list | grep virtualbox:

ii  virtualbox                             4.1.12-dfsg-2ubuntu0.2                  x86 virtualization solution - base binaries
rc  virtualbox-4.2                         4.2.6-82870~Ubuntu~precise              Oracle VM VirtualBox
ii  virtualbox-dkms                        4.1.12-dfsg-2ubuntu0.2                  x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-guest-additions             4.1.12-1                                transitional package for virtualbox-guest-additions-iso
ii  virtualbox-guest-additions-iso         4.1.12-1                                guest additions iso image for VirtualBox
ii  virtualbox-qt                          4.1.12-dfsg-2ubuntu0.2                  x86 virtualization solution - Qt based user interface

Any help is appreciated...


share|improve this question
PLease clarify: for which version of virtualbox and how did you install the guest additions? Which version do you want to run (there is no 4.2.12)? DPKG tells us you have an old version 4.1.12 installed but 4.2.6 removed. How did you install virtualbox? Please also name tne architecture of the host (amd64 i386?). – Takkat Feb 2 '13 at 15:19
up vote 3 down vote accepted

You seem to have two separate versions of VirtualBox installed!

I would recommend that you fully uninstall all versions of VirtualBox:

sudo apt-get autoremove 'virtualbox*'

Then reinstall directly from Oracle. Go to the VB download page, scroll down to "Debian-based Linux distributions", and follow the instructions.

Then try again.

By the way, you don't need to use grep with dpkg. Here is a nicer alternative to your command:

dpkg --list 'virtualbox*'
share|improve this answer
thanks... it working now... – CoolEulerProject Mar 8 '13 at 10:53

A less intrusive solution might be:

sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox

Source with more info.

share|improve this answer

This happened to me today on Debian 8 (Jessie) following a kernel patch. I fixed it as follows:

  1. su (I don't use sudo; if you do, then prepend sudo to the lines below)
  2. dpkg-reconfigure virtualbox-dkms
  3. dpkg-reconfigure virtualbox
  4. /etc/init.d/virtualbox restart

Thanks to Rikard/hg8 for the above tip on steps 2 and 3. In my case it's just possible they weren't needed, but felt good to do in any case.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.