43

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?

d a i s y
  • 5,551

5 Answers5

30

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.

d a i s y
  • 5,551
Delete
  • 728
29

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.

Christopher
  • 306
  • 3
  • 2
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.

Zanna
  • 72,312
Samuel Li
  • 759
1

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.)

fuenfundachtzig
  • 356
  • 3
  • 13
1

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

oneself
  • 275