Bidirectional clipboard not working in VirtualBox
Solution 1
You need to add extension pack for you virtualbox
- Open https://download.virtualbox.org/virtualbox and open your Virtualbox version
- Download Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack.
- Open Virtualbox VM Manager
- In File->Preferences, Select Extension
- Now add extension by browsing to download location
Done.
Solution 2
This answer assumes:
- VBox extension pack is installed and current.
- VBox guest additions are installed and current.
There is a suggestion in the comments to downgrade the guest additions in order to get the shared clipboard working. Although that may work, I solved this by taking the opposite approach. Unfortunately, if you're dealing with a new version of Virtualbox, full guest support may not quite be available. You can actually download and install guest additions that are newer than the bundled or released version.
Head to VirtualBox test builds, and in the top table, you will find the latest version of the guest additions. Compare your revision with the version listed, if it's newer simply download and install it.
If all else fails, uninstall the guest additions and reinstall them.
Windows Guest: Control Panel
Linux Guest: sh ./VBoxLinuxAdditions.run uninstall
The guest additions are specifically what provide shared clipboard support. Take a look at the virtualbox documentation to learn what other functionality they provide.
Solution 3
I realized that VM doesn't recognize the clipboard data from some specific applications (like in my case Foxit PDF reader).
To workaround,
- I copy the data from the application to a default location like notepad or even in the start menu search bar.
- Then again I copy the text from that notepad/start-menu where I pasted it.
- Then when I go into my VM and pasting it works.
Related videos on Youtube
Bilesh Ganguly
A Project is beyond a mere collection of files containing code
Updated on September 18, 2022Comments
-
Bilesh Ganguly over 1 year
I'm using VirtualBox Version 5.2.6 r120293 (Qt5.6.1).
Guest OS: Windows 7 Ultimate (32-bit)
Host OS: CentOS 7I tried enabling bidirectional clipboard by going to Settings -> General -> Advanced and selecting Bidirectional form the dropdown menu for shared clipboard.
Then I restarted the machine. But it wasn't working.
I have already tried removing and adding the VM to the machine list. But the problem persists.
Any help would be appreciated.
-
n8te over 6 yearsHave you installed the Guest Additions on the Windows 7 guest?
-
Bilesh Ganguly over 6 years@n8te I don't think so. Can you guide me to it?
-
n8te over 6 yearsThe guest additions are required to be able to use the bidirectional clipboard so that should be the cause of your issue if you don't remember installing it. See here.
-
n8te over 6 yearsPossible duplicate of VirtualBox 4.3.12, Windows 7 as guest and host OS: host -> guest clipboard not working
-
Bilesh Ganguly over 6 years@n8te Guest additions weren't installed. So, I installed that and the bidirectional clipboard started working. Thank you for the help.
-
dajood about 4 yearsUnfortunately, I can't write an answer. But I've had the same issue with Guest Additions 6.1.4. The extension is buggy, so there is no (easy) solution, but as a workaround, just downgrade to the last version. In my case, it just worked after I've downloaded GA 6.1.2. Now I can work as I'm used to and wait for the bug to be fixed.
-
Adam about 4 yearsThis is a known issue with VirtualBox Guest Additions. Downgrade or get trunk release. Here you have test builds for 5.2: virtualbox.org/wiki/Testbuilds See: virtualbox.org/ticket/19336
-
samman almost 4 yearsUnfortunately I cannot write an answer (just made an account), but I resolved this issue on my system (windows 10 host, linux vm, using 6.1.12). The extension_pack was actually installed and setup on my system (maybe newer version do it automatically), however the GUEST Addtions was not, and needed to be added. In the same site/area you download the extension_pack, you can also download guestadditions.iso. Installation is easy, mount it on the optical drive (I did it from settings), open terminal: cd /media/(yourusername)/VBox_GAs_6.1.12, and then type: sh ./VBoxLinuxAdditions.run
-
greendino about 3 yearsanyone with 6.1.14? done all things. both answers also comment. none of em works. help
-
Slate almost 3 yearsDoes this answer your question? Why doesn't clipboard sharing work with Ubuntu 18.04 LTS inside VirtualBox 5.1.26?
-
-
Othman Benchekroun over 4 yearsIt didn't work for me !
-
Victor Barrantes about 4 yearsnone of the "solutions" provided here work for me . I have the Share clopboard bidireccional active, + guest additions CD installed + the Extension pack installed, still no clipboard exchange between a linux box (guest) an the Windows 10 (host)
-
koraxkorakos about 4 yearsdid not work for me either Windows 10 host, Debian 10 amd 64 client
-
Sean Aitken about 4 yearsSeems broken in 6.1.4... can't get it to work with Kali Linux rolling. Additions installed version 6.1.4 from APT repo. Something broke in the last few months.
-
olmerg about 4 yearsAlthough I have windows 10 for me work this answer superuser.com/questions/1318231/…
-
Amin Nadimi about 4 yearsNo its not broken! just download the proper version of VBoxGuestAdditions.iso from download.virtualbox.org/virtualbox and install on your vm.
-
devman about 4 years@AminNadimi same here. i have 6.1.4e136177 installed (which is the exact same number as my vbox). it worked before. it doesn't work any more. is there another version you can confirm working? or any other proven way to make it work again?
-
Amin Nadimi about 4 years@devman I have virtual box version 6.1.4 but installed this version of iso file, install it in your vm maybe this works for you either. After installation restart virtual box and also keep in mind that it will not share files in clip board! it only shares text as much as i saw.
-
Adam about 4 yearsThis is a known issue with VirtualBox Guest Additions. Downgrade or get trunk release. Here you have test builds for 5.2: virtualbox.org/wiki/Testbuilds See: virtualbox.org/ticket/19336
-
diynevala about 4 yearsYes, it was broken in 6.1.4. Today I installed 6.1.6 and also the guest additions and clipboard is working (after reboot)
-
Adam Howell almost 4 yearsI had the extension pack, but was missing the guest additions. Adding that resolved this issue for me.
-
Park JongBum over 3 yearsit works on VBox 6.1
-
Amil Waduwawara over 3 yearsI too started having the issue with Lubuntu 18.04 guest on a Ubuntu 20.04 host (both are 64-bit) with bundled Virtual Box 6.1.10. Just installed 6.1.14 along with Extension Pack and Guest Additions (the same versions 6.1.14), then the issue gone. Thanks a lot for the tips.
-
Chad over 3 yearsIt did not work for me until I also installed the VBox guest additions then restarted the VM
-
badbishop over 3 yearsHad the same issue with OpenSUSE Leap 15.2 after upgrading the virtualbox package. Had to re-install guest additions.
-
Jonathan E. Landrum over 3 yearsNOTE: After doing this and installing guest additions, you'll need to restart the VM
-
torno over 3 yearsgreat, thanks. 6.14 guestExt wasn`t working for me, but 6.17 testbuild did
-
greendino about 3 years@AminNadimi it's not working even after restarting. otherwise no complaint on this answer
-
greendino about 3 years@torno i had the same 6.14. it says i need to reinstall everything. really?
-
torno about 3 years@AbdullahSaid can`t remember reinstalling everything. just used 6.17 guestExt instead
-
Grant Bowman over 2 yearslifesaver! thanks