Kali Linux 2020.1 – VirtualBox Shared Clipboard Stopped Working: FIXED

If you have recently upgraded your Kali Linux and/or VirtualBox itself, you probably run into the issue that your Shared Clipboard stopped working. This happened to me inconveniently often in the last 2 months or so, so I decided to do some research and find a fix – and I did. If your VirtualBox Shared Clipboard Stopped Working in Kali Linux 2020.1 (or any other Debian based distribution), this is the solution.

I don’t get why VirtualBox keeps messing this up, but I am appreciative of their free software. Let’s dive right in.

I write this tutorial with VirtualBox Version 6.1.4 r136177 (Qt5.6.2)

1 – Downgrade VirtualBox Extension Pack

The good thing is, we don’t need to downgrade VirtualBox itself, but only the VirtualBox Extension Pack. I remembered which version was the last working for me and downgraded to that. You can find all old VirtualBox versions here, but we particularly need to download this one. Just download and install it, make sure you have no Virtual Machine running while doing that. It only takes a second.

2 – Downgrade VirtualBox Guest Additions on Kali Linux

Alright, fire up Kali Linux or any other Linux Distro you want to fix. Open a Terminal and follow me through.

sudo apt remove -y virtualbox-guest-x11 virtualbox-guest-dkms virtualbox-guest-utils

sudo reboot now

virtualbox shared clipboard stopped working-1

Back up, start a terminal again.

cd downloads

wget https://download.virtualbox.org/virtualbox/6.1.2/VBoxGuestAdditions_6.1.2.iso
sudo mkdir /media/iso
sudo mount VBoxGuestAdditions_6.1.2.iso /media/iso -o loop
sudo /media/iso/VBoxLinuxAdditions.run

sudo reboot now

virtualbox shared clipboard stopped working-3

After going through this, your shared clipboard should be working again! Now to prevent this happening again the next time we run apt upgrade, we can exclude the Guest Additions from the Upgrade process.

3 – Excluding VirtualBox Guest Additions from APT Upgrade

Open a terminal again.

sudo apt-mark hold virtualbox-guest-x11 virtualbox-guest-dkms virtualbox-guest-utils

virtualbox shared clipboard stopped working-4.pngTo reverse this, once VirtualBox fixed their sh**.

sudo apt-mark unhold virtualbox-guest-x11 virtualbox-guest-dkms virtualbox-guest-utils

Conclusion

There you have it. If your VirtualBox Shared Clipboard Stopped Working, you now know where to find a solution 🙂

10 thoughts on “Kali Linux 2020.1 – VirtualBox Shared Clipboard Stopped Working: FIXED

  • April 26, 2020 at 9:36 pm
    Permalink

    Excellent work mate, it really saved me quite a few hours. Much appreciated.

    Reply
    • April 29, 2020 at 7:43 am
      Permalink

      Glad it worked!

      Reply
  • April 24, 2020 at 12:03 am
    Permalink

    I wish I had come across this 5 hours earlier the time I actually did. Not only fixed my shared clipboard, but also fixes the Auto -resize Guest Display issue with VBox 6.1.6

    Thank you so much, the auto-resize issue was driving me crazy.

    Reply
  • April 10, 2020 at 9:34 pm
    Permalink

    Thank you so much! You are a life saver! Really appreciate it.

    Reply
  • April 8, 2020 at 8:55 pm
    Permalink

    Thanks for the solution mate! It works like charm. However I began from the step where we download the old guest addition image in the VM. I found that vbox 6.1.4 extension pack works fine with the older guest addition image 6.1.2 (Tested it on a different VM – Windows Guest). So I replicated the scenario using the steps you provided and it works perfectly fine. No need to downgrade the Vbox Extension Pack to 6.1.2 (Unless some other functionality is broken because of this inter-version usage, I haven’t noticed anything unusual for now…). Thanks again! Stay Safe

    Reply
  • March 31, 2020 at 8:30 pm
    Permalink

    Thank you sooooooo much, after one week searching I finally found your tutorial.
    Thanks.
    I can’t thank you enough.

    Reply
  • March 31, 2020 at 4:52 pm
    Permalink

    Excellent! Thank you so much, took me a couple of hours to find this post. Works perfectly.

    Barrie

    Reply
  • March 26, 2020 at 11:46 pm
    Permalink

    Excellent Job, Thank you

    Sid

    Reply

Tell us what you think!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: