My Shared clipboard has stopped working all of a sudden after a dist-upgrade
. I tried re installing guest additions but it doesn't seem to work. I've checked that "Bidirectional clipboard" was enabled.

- 3,838

- 771
5 Answers
Started working after running: sudo apt-get install virtualbox-guest-dkms
and enabling bidirectional shared clipboard.

- 5,107
-
23
-
It worked for me by just putting bidirectional instead of host to guest or whatever you have. – Sep 23 '15 at 23:51
-
1
-
1My guest-system found it that package - but the clipboard functionality is still broken. Also, the guest additions ISO - "cannot mount" issues - having to shut down the guest and remove / add a rom-drive to it in "settings" every time I wanted to mount or unmount it. Clearly linux guests and/or certain window-managers are only barely supported or these things would work out of the box. Windoze guests work fine. UPDATE: Vitor Verreira's solution worked. Just keep on trial-and-error with every fix until one does - too bad none of this is in the instructions. – JosephK Feb 10 '17 at 10:04
-
This fixed the issue for me, and I did not need a reboot. Host - OS X Yosemite. Guest - Ubuntu. – NedStarkOfWinterfell Apr 06 '17 at 20:58
-
Didn't work for me on Ubuntu 17.04. Also, after installing virtualbox-guest-dkms Ubuntu (guest on host Windows 7) doesn't run full screen anymore. – Julius Oct 13 '17 at 19:19
-
Does not work for me (even after reboot). Windows 10 Host, Ubuntu 16.04 Guest – Phrogz Oct 31 '17 at 15:42
-
For the slow people (like myself) here is how to enable the clipboard. I guess maybe at one time it was enabled by default once you installed guest additions https://www.liberiangeek.net/2013/09/copy-paste-virtualbox-host-guest-machines/ – Will Jan 13 '18 at 23:51
-
me: host Linux and guest Linux, I found that installing
virtualbox-guest-additions-iso
works, need reboot. – Yan King Yin Mar 16 '18 at 18:00 -
3
Mine wasn't working too, Windows 7 64bit running Ubuntu 10.04. Running the following commands on the guest machine solved for me:
sudo VBoxClient-all stop
sudo VBoxClient-all start

- 359
- 3
- 3
-
3Unfortunately, it appears you must do this each time you reboot your virtual-machine - but much better than not getting it to work at all !! I am running a Debian guest inside a CentOS7 host, and this was the only fix that worked. – JosephK Feb 28 '17 at 08:00
-
-
1
-
Even after a
savestate
andresume
of a machine I have to run it to get it working. Pitty but nice workaround! – Philippe Gachoud Jan 27 '19 at 12:28
- In VirtualBox Menu Devices -> "Insert Guest Additions CD image…"
- Follow all prompts and accept all installs
- Reboot
This worked for me with Windows 10 Host and Ubuntu 16.04 Guest.

- 1,646
-
I'm sorry, I can't find "Devices" anywhere in the VirtualBox UI. This problem is going to happen most often to people who have just started using VirtualBox. We don't know our way around the UI. – Spike0xff Jun 19 '18 at 19:59
-
1
-
I had to do
sudo apt install build-essential
before trying to install Guest Additions. The version I have required the build tools. – Tim Oct 08 '19 at 03:02 -
-
Nope. Step #2 there is nothing to follow, after you insert the Guest Additions CD image" nothing happens, you have to go and manually run it. cd /media/cdrom0/ (the path where the BoxGuestAdditions.iso was mounted) sh ./VBoxLinuxAdditions.run Then rebooted the guest, the host, but still no clipboard exchange between OS. Of course I have the share Clipboard - Bidirectional enabled. Of course I have the extension pack installed. It simple does not work easily. . . There's need to be something else, is not that simple as stated above. – Victor Barrantes Feb 22 '20 at 06:09
-
I've had same issue.
1) Enabling bidirectional shared clipboard
2) Type following commands:
sudo apt-get update
sudo apt-get install virtualbox-*
sudo shutdown -r now
-
This works for the latest Ubuntu distribution (16.10) running VirtualBox on MacOSX. – Myles Baker Dec 22 '16 at 16:16
-
3All other suggestions didn't work but this one worked with Ubuntu 17.10 – Guerrilla Oct 23 '17 at 23:41
-
1
-
2You don't need to install all the
virtualbox-*
. I installedvirtualbox-guest-dkms
, which depends onvirtualbox-guest-utils
, and it recommended I installvirtualbox-guest-x11
, so I did so as well. It appears that the guest additions are working – Justin Nov 20 '17 at 07:37 -
This broke a fresh Ubuntu 17.10 for me. Had to
apt-get remove virtualbox-*
to recover. – ripper234 Dec 02 '17 at 16:13 -
Although I hate the thought of installing unnecessary packages, this was the final solution for me after a lot of time wasted with other suggestions. Ubuntu Budgie 17.10 x64. – addohm Dec 26 '17 at 20:28
-
Background:
I run Windows 7 64 bit, Linux inside Virtual Box v4.3.16 r95972. After building a new 3.17 kernel on one of my VM's the guest additions in general stopped working (this included both Cut&Paste and the window resizing).
Summary:
I found I needed the later version of virtual box guest additions from Oracle, loaded as an .iso file, and another utility called parcellite. My cut and paste is a two step operation.
Attempted fixes:
I tried removing and reinstalling various guest additions (iso, dkms, x11) using the apt-get remove and apt-get install all to no avail. Then I noticed that I had problems reading the virtual CD (VERR_PDM_MEDIA_LOCKED) where I had originally loaded another version of the guest additions from Oracle.
It turned out that the guest additions from Oracle were 4.3.16 (see this via modinfo vboxguest) and the versions from apt-get were 4.3.10. However in order to re-install the later version from the .iso file I had to find a way around the CD mount problem.
What finally worked for me was to make sure that all CD's were unmounted from all of my VM's using the 'Devices -> CD/DVD Devices -> remove disk' selection and then to mount the .iso file via the VirtualBox Manager via the Settings -> Storage -> IDE Controller "CD icon". When I selected the .iso file from the VirtualBox Manger its installation window popped up in my VM, but trying to access this file from the VM always failed.
Once this installation finished I power cycled the VM and the guest additions worked again.
Cut and Paste still seems to have an issue that I had worked around before. The work around is to install parcellite (Ubuntu software center or apt-get). This is a clipboard manager that creates an icon in the top right where you can access the clipboard for cut and paste. Using the left and right mouse buttons to select text in an xterm window cuts to a different buffer than the clipboard (I read online) which is why it does not seem to work between machines.
So to cut and paste to Windows from a Linux xterm I do a multi step process:
- first select the text using left and right mouse clicks,
- then open parcellite and select History, which opens an Editing Clipboard window.
- Use the mouse middle mouse button to paste into this clipboard.
- Then select the text (again!) using the mouse, after doing the right click here you get a pop-up selection where you select 'Copy'.
- Now when you paste into a Windows area the text you 'Copy' selected appears.
Hope this helps! - Jon Shapiro

- 61
- 1
-
1I didnt have any issue with resizing .It was only with the copy/paste feature. Thanks for the tip i will definitely try – Shenal Silva Oct 08 '14 at 17:54
killall VBoxClient
andVBoxClient-all
(orVBoxClient --clipboard
). See here for more info: https://askubuntu.com/a/179830/323149 – Aralox Apr 27 '17 at 04:33