I'm trying to get an Ubuntu VM to run well in the latest VirtualBox (5.2.2), which I installed by running sudo ./VboxLinuxAdditions.run. The problem is I keep getting this error message when the VM starts:

VBoxClient (seamless): failed to start. Stage: Setting guest IRQ filter mas Error: VERR_INTERNAL_ERROR

Ubuntu on Ubuntu in VirtualBox is extremely frustrating

The host is Ubuntu 16.04.3. I've tried two Ubuntu 17.10 distros (Lubuntu and Budgie). Both failed with the same error.

Being unable to run Ubuntu on Ubuntu should be a P0 critical issue for Oracle. What am I doing wrong?

  • 1
    How did you install the guest additions? – George Udosen Dec 13 '17 at 10:58
  • @GeorgeUdosen: that was it. Updated the Q and added an answer. Thanks! – Dan Dascalescu Dec 13 '17 at 20:58
up vote 41 down vote accepted

Turns out I had to install gcc, make and perl, then reinstall the additions and reboot:

sudo apt-get install gcc make perl
cd /media/$USER/<...>
sudo ./VBoxLinuxAdditions.run
sudo reboot
  • 2
    Worked for me as well! Thanks (Ubuntu 16.04.3 w vboxgas & virtualbox 5.2.6)! – Ignorante Jan 26 at 22:02
  • 1
    This worked well. The first line fixed the issue; the last three re-install Guest Additions (which can be done in the GUI as well) – User that is not a user Feb 19 at 19:58
  • 1
    Also worked for me. I noticed that it took much longer for the Guest Additions to install once gcc, make, and perl were installed. Without them, I guess lengthy steps were being skipped. Is there a VirtualBox bug in here? Seems like it should give you an error if vital components are missing. – Aren Cambre Apr 10 at 14:55
  • 2
    Kernel headers are mandatory too (linux-headers-amd64 or the like). All errors are logged in a sub-log, which makes it difficult to understand why this fails. The run script should dump what tools are missing. – Yvan May 8 at 2:05
  • Yay thank you! 16.04 x64 on VB 5.2.12 on OSX 10.13.5. I wasted hours on other, longer, slower, very different solutions to get guest-host clipboard sharing to work. Gotta learn to just askubuntu... Gotta say, we're an advanced technological civilization, and we're all pretty technical. Why does it feel like we're 100,000,000 amoebas in a pond? – Spike0xff Jun 19 at 21:06

In addition to ensuring make, gcc and perl are installed as per Dan's accepted answer it may be necessary to also check for version-specific kernel headers linux-headers-$(uname -r), build-essential and dkms. Catch-all one-liner:

sudo apt install gcc make perl linux-headers-$(uname -r) build-essential dkms 

I ran into this issue while I had the first three package installed. Installing the rest resolved it. It's possible that not all are necessary, but notably only installing the linux-headers package (without version specified) was not enough.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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