17

Neither is my OS virtualized inside VirtualBox nor do I have any VirtualBox packages installed (at least no packages matching "virtual" or "vbox").

Still, on every boot up (in the end of the phase displaying the gnome foot and the 3 blinking dots) the following message pops up in the upper right corner:

VBoxClient: the VirtualBox kernel service is not running. Exiting

I believe this causes boot delays.

fret
  • 1,027
  • 2
  • 9
  • 13
  • Since about a week I have the same error on login. I used Ubuntu 14.04 withe the default Unity Session. Every time after login the error message pops up. My system boots straight from the powerup, not vitualized and I installed no virtualbox software or the like. – Brutus Dec 01 '15 at 16:37
  • Related question - https://askubuntu.com/questions/642991/ – pds Aug 07 '17 at 06:36

10 Answers10

9

I had the same trouble. Because no virtualbox was installed, i typed on terminal as root " locate virtualbox" and I could see ' virtualbox-guest-utils' & 'virtualbox-guest-x11' VBox in '/etc/init.d. But the troubles remained, because there is another file to delete in /etc/X11/Xsession.d/98vboxadd-xclient. Only deleting it as root, I finally eliminate the message. I suppose that the truble is connected with deleting wine ochanging it in some way

Fabrizio
  • 91
  • 1
  • 2
6

Solved this problem in Ubuntu 16.04, pay attention to the purge command which deletes configuration files

sudo apt --purge remove 'virtualbox-guest-*'

I've found it here

Evan Carroll
  • 7,526
2

I moved an ubuntu 15.10 VM from Virtualbox v5, where it had a good install of virtualbox guest additions, to VMWare via export-import. Once running under VMWare I apt-get remove'd all the virtualbox* packages, removed /etc/init.d/virtualbox-guest*, removed /etc/xdg/autostart/vboxclient*. Yet the mssage still appeared, hmm.

Finally found the directory /opt/VBoxGuestAdditions-5.0.8 which contained the file uninstall.sh. Ran that script with sudo, and then that damn message stopped appearing at login time. After the script was done, that directory was empty. However, some kernel modules are left; e.g., /lib/modules/4.2.0-22-generic/kernel/ubuntu/vbox

chrisinmtown
  • 398
  • 1
  • 8
  • I moved a Virtualbox VM to a real machine using Clonezilla and started getting this message. I tried other solutions on this question and in the question that this was closed as a duplication of, but only your solution worked to get rid of it. Thanks!! It's going in my bag of tricks. – Organic Marble Feb 27 '20 at 19:23
1

I had the same issue, and I deleted all known files, and directories, but still kept getting the pop up messages. I finally ran across this link :

https://forums.virtualbox.org/viewtopic.php?t=7839

The info that worked were the first 2 lines of these Sudo Commands, the rest were all ready done manually by me.

sudo find /etc -name "*vboxadd*" -exec rm {} \;
sudo find /etc -name "*vboxvfs*" -exec rm {} \;
sudo rm -r /usr/src/vboxadd-*
sudo rm -r /usr/src/vboxvfs-*
sudo rm /usr/sbin/vboxadd-timesync
sudo rm /lib/modules/`uname -r`/misc/vboxadd.ko
sudo rm /lib/modules/`uname -r`/misc/vboxvfs.ko
1

I modified the script that causes the popup and it works great. Enter into the terminal. type: sudo gedit /etc/X11/Xsession.d/98vboxadd-xclient

now your editor will open up with the script. look for the following script lines.

if test -f /proc/modules && ! grep -q vboxguest /proc/modules 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."

Where it says notify-send change it to say echo then save. the new lines should look like this.

if test -f /proc/modules && ! grep -q vboxguest /proc/modules 2>/dev/null; then
# Do not start if the kernel module is not present.
echo "VBoxClient: the VirtualBox kernel service is not running. Exiting.

Now exit and restart works perfect.

Techson
  • 11
0

Had the same issue. Popup comes up and I have never used Vbox.

MY FIX: ( for Linux Mint )

deleting 'virtualbox-guest-utils' & 'virtualbox-guest-x11' VBox in '/etc/init.d' seems to have stopped the popup message.

0

I run Ubuntu 14.04 with a number of Virtualbox VMs. None of the answers in this forum worked. But this solution which I found on a Linuxlite worked: https://www.linuxliteos.com/forums/other/vboxclient-the-virtualbox-kernel-service-is-not-running/msg19295/#msg19295

You need to edit: /etc/X11/Xsession.d/98vboxadd-xclient (with any text editor) Find the line: 'notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." ' Replace 'notify-send' with 'echo' Save.

0

Actually I experinced the same issue today when installing Ubuntu MATE 16.04 LTS beta into a vbox running under Ubuntu 14.04 LTS with vbox version 5.0.16.

Installing build-essential with re-installing vbox guest additions on the client as described above resolved the problem.

It now works !

0

To get rid of this message, what worked in my case was to close the vm, upgrade to the latest version of Virtual Box, start the vm, insert Guest Additions CD image, run it, restart.

-1

I just had the same problem, then realized that I didn't have the build-essential package installed. So the guest additions were only partially active.

sudo apt-get install build-essential

then Mount your guest additions and run them. Double check the install log to see if it found make and gcc and was successful.

Then hopefully your error should be gone.

  • @fret is saying that he doesn't have any virtualbox installed then how can he install guest additions –  Nov 28 '15 at 08:24
  • for me build-essential is already installed, still got the same error. – Brutus Dec 01 '15 at 16:35