Where is the configuration option for sharing clipboards (copy & paste) between the host OS and the guest OS?
9 Answers
With Guest Additions installed, the clipboard of your guest OS can be shared with your host OS.

Highlight the Guest VBox in the VirtualBox console, open General -> Advanced. Here you can choose between various Shared Clipboard settings: Disabled, Guest to Host, Host to Guest or Bidirectional
- 12,190
Windows 7 64-bit host, Ubuntu 12.10 64-bit guest.
I enabled clipboard and drag and drop before installing Guest Additions. After installing Guest additions clipboard and drag n drop did not work. I disabled clipboard and drag n drop, uninstalled guest additions, rebooted, reinstalled guest additions - still failed.
To fix I did this:
Uninstalled guest additions and disabled clipboard and drag and drop. Then from the terminal I used
$ apt-get install make gcc linux-headers-$(uname -r)
Reinstall (should be error free), reboot, enable clipboard and drag and drop. Voilà!
-
3
-
1
-
-
Indeed, this is the solution that works for those who found this thread after already installing the guest additions and enabling the clipboard sharing. As a side note, you may also need to install dkms, and you don't need to reboot - just restart the window manager. – Valmiky Arquissandas Apr 01 '16 at 13:58
-
When you said uninstall guest additions, what guest additions do you install? Download from virtual box for the same version and run the script
xxx.run, or install by usingapt-get install virtualbox-xxxpackages? Does that matter? – Robin Hsu Apr 24 '18 at 09:24 -
That
linux-headers-$(uname -r)may have worked once upon a time but all it's accomplished in the four times I've tried to make this solution work is to cause apt to spit up an error that there is no such package. – John Smith Nov 08 '23 at 07:40
In VirtualBox Windows versions 5.1.8 until 5.2.6 (maybe older or future versions as well) it is accessible in two ways:
- General settings
- Active guest account window
If someone knows what other versions work as well, please add them as comments.
1st Version: General settings
Machine>Settings:
General>Advanced>Shared Clipboard
2nd Version: Active guest account window
Devices>Shared Clipboard>Desired option
Available options:
1. Shared Clipboard>Disabled
2. Shared Clipboard>Host to Guest
3. Shared Clipboard>Guest to Host
4. Shared Clipboard>Bidirectional
- 265
Install Guest Additions for Windows XP. That will allow you to integrate the guest operating system with the host.
Some features:
- Shared Folders - Meaning you can create folders that are accessible by both the guest and host systems.
- Accelerated Video
- Mouse Integration - You no longer need to capture the mouse. Focus follow your mouse.
- Shared Clipboard
To install the Guest Additions, refer to the User Manual, Chapter 4.
- 19,091
-
The instructions in http://www.virtualbox.org/manual/UserManual.html#id2507352 will indeed get guest additions installed, but this does not allow the shared clipboard to be enabled. I've done this numerous times now, always with the result that the guest additions appear to add exactly zero functionality to my VM. – John Smith Nov 08 '23 at 07:42
I had the same problem with clipboard not working on my host windows 10 , and ubuntu 16.06 guest. I tried all of the above to no avail. Finally, from the virtual box website I tried this command
If you suspect that something has gone wrong, check that your guest is set up correctly and try executing the command
sudo rcvboxadd setup
https://www.virtualbox.org/manual/ch04.html#idm1948
Then after a reboot of the guest machine shared clipboard copy and paste finally worked correctly
- 31
-
-
Worked for me using VirtualBox on macOS 10.14.2 using Ubuntu 18.04, may ask to install
gcc make perl, do that and restart. – David Jan 19 '19 at 15:08
At the Virtual Box base windows , just go to settings of your machine and in General you can change the settings.
In order to share your Host clipboard you will need the Guest Additions installed first.
As for the options for the clipboard, Right click the Guest VM within Virtual Box, Select Settings, In the General section select the Advanced tab.
- 1,878
I struggled with this topic many years. Activating bidirectional drag'n'drop and installing the guest additions did not solve this issue, it was simply not working.
Finally, I figured out that I also have to install the "VM VirtualBox Extension Pack". It can be downloaded from the official virtualbox website.
This solved my problem.
- 111
For my Kali linux VM it works immediately after setting the "Devices" > "Shared clipboard" > "Bidirectional"
- 101




Guest Additionsand setting theShared ClipboardtoBidirectionalto work. – legends2k Oct 05 '12 at 02:02Bidirectional, restarted the VM, but couldn't get it to work – amphibient Aug 19 '13 at 20:31sudo apt-get install virtualbox-guest-dkmscan help you (I took it here - http://askubuntu.com/a/578301) – Dmitry Aug 14 '15 at 14:08