2015年9月20日

[Ubuntu] Failed to connect to the VirtualBox kernel service


Failed to connect to the VirtualBox kernel service

$ /usr/bin/VBoxClient-all

Failed to connect to the VirtualBox kernel service
$ sudo /etc/init.d/vboxadd setup

Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the OpenGL support module ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...done.
$ /usr/bin/VBoxClient-all
OK