VBoxClient: the VirtualBox kernel service is not running (Debian 8)

After freshly installing Debian 8 into a VB, I was able to install the VB Guest Additions kind of “half”. The virtual graphic adapter was recognised correctly, but when starting Debian the message “VBoxClient: the VirtualBox kernel service is not running. Exiting.” was displayed. Afterwards, it was not possible to mount a virtualised USB device or a shared folder.

The problem was that the VB Guest Additions were not compiled successfully into the kernel due to missing header files.


1) Make sure that the non FOSS repositories are added to the apt-get sources.

root@mentat:/# vi /etc/apt/sources.list
---> Add:
--->   deb jessie main contrib non-free
--->   deb jessie/updates main contrib non-free
root@mentat:/# apt-get update

2) Magic:

Install kernel headers: (sudo or su – root if sudo isn’t installed)

root@mentat:/# sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')

If not installed when executing the above command, add ‘make’ and ‘gcc’ first:

root@mentat:/# sudo apt-get install gcc
root@mentat:/# sudo apt-get install make

3) (Re)Install the Guest Additions:

root@mentat:/media/cdrom/# sh ./

4) Restart VM

Et zou!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.