Search code examples
ubuntuvirtual-machineubuntu-14.04virtualboxcopy-paste

Failed to connect to the VirtualBox kernel service while enabling copy-paste


I try to enable copy-paste functionality in the Oracle Virtual Box. In order to accomplish this, I run:

sudo /usr/bin/VBoxClient --clipboard

and I get

Failed to connect to the VirtualBox kernel service

What does this mean and how can I solve it? I tried to launch the Virtual Box with sudo, it did not work. I mention that I have virtualbox-guest-utils and virtualbox-guest-x11 installed. Ubuntu 14.04

Thanks!


Solution

  • I am assuming you ran Insert Guest Additions CD Image from the VirtualBox menu and ran the disk in your VM.

    I had a similar issue where my Bidirectional Clipboard was working and then stopped after an update. I was getting the error message displayed: vboxclient the virtualbox kernel service is not running. Reinserting the Insert Guest Additions CD Image and reinstalling the services FIXED my issue.

    I am using VirtualBox ver. 5.0.20. with Fedora 23 VM.