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!
Steps to enable copy paste in VirtualBox: Under General, select Advanced. The Shared Clipboard is Disabled by default. Choose Bidirectional from the list and click on OK. Additionally, you can select Drag'n'Drop to copy files between the host computer and the virtual machine.
Open the VirtualBox Manager window in Windows 11. Right-click on the Ubuntu VM where you want to enable copy and paste, then click on Settings. Click the Advanced Settings tab -> Shared Clipboard, and select Bidirectional (Bidirectionally).
At this point, copy and paste (from either guest to host or host to guest) can be enabled. Start the VM, and once it's booted, click Devices | Shared Clipboard | Bidirectional (Figure A). You can now copy and paste from guest to host and host to guest.
In the “Advanced” tab, you can see the two dropdowns named “Shared Clipboard” and “Drag'n'Drop.” Select each dropdown menu and choose the “Bidirectional” option to enable the machine's clipboard sharing and drag-drop features.
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.
I am using VirtualBox 5.0.6 and I got the same error after I updated my guest virtual machine. This solved it for me.
sudo /etc/init.d/vboxadd setup
Then I used sudo /usr/bin/VBoxClient --clipboard
to enable clipboard and it worked.
If you are using VirtualBox pre 5.x, use this
sudo /etc/init.d/vboxdrv setup
Check this answer for the VirtualBox Ubuntu 14.04 - vboxclient the virtualbox kernel service is not running question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With