VirtualBox Ubuntu 14.04 – vboxclient the virtualbox kernel service is not running

I’ve installed VirtualBox (with Ubuntu 14.04 Desktop) and Guest Additions on my Windows 7 machine.

Every time it boots up I get the following error message which goes away:

vboxclient the virtualbox kernel service is not running. exiting.

How can I disable this message? I’ve tried the following:

I deleted /etc/xdg/autostart/vboxclient.desktop file.

But I am still seeing the message when logging in.

Any suggestions on how to fix this?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

This usually happens when you update the Guest’s Linux Kernel.
After each update, you need to do:

  • For Host (installing server)

    sudo /etc/init.d/vboxdrv setup
    
  • For Guest (installing additions)

    sudo /etc/init.d/vboxadd setup
    

The reason why inserting the VBox addition disk again works is because that’s one of the things the installation procedure does as well.

Solution 2

Try eject the VBOXADDITIONS cd image on ubuntu and “insert” it again from Vbox menu. I was just having this same problem and doing this fixed it.

Solution 3

I’m running Ubuntu 15.04 on Virtualbox 5.02. The same notification went away after I selected two “restricted drivers” from Virtualbox.

More specifically, from Software & Updates > Additional Drivers tab, there are two drivers previously not selected: Using x86 virtualization solution – X11 guest utilities from virtualbox-guest-x11 and Using x86 virtualization solution – guest addition module source for dkms from virtualbox-guest-dkms. The notification was gone after I selected to use these two proprietary drivers.

Update: one of these two drivers seem to cause a repository inconsistency when I run apt-get update. I chose to use the package maintainer's version to solve the inconsistency, and haven’t run into any further problem.

Solution 4

If you just want to prevent this warning from showing when you boot up your system, follow the description here: Look for the file 98vboxadd-xclient (e.g. /etc/X11/Xsession.d/98vboxadd-xclient) and comment out line 26 giving the warning as shown below:

if ! test -c /dev/vboxguest 2>/dev/null; then
   # Do not start if the kernel module is not present.
   # notify-send "VBoxClient: the VirtualBox kernel service is not running.  Exiting."

(Works on Ubuntu 16.04.)

Solution 5

Pay attention to the purge command which deletes configuration files

sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils virtualbox-guest-dkms

I’ve found it here

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply