5

I use VirtualBox 5.2.6 on Windows 10. There is an Ubuntu virtual machine, from which I would like to access to host's clipboard and files. I tried to use

Machine>Settings >> General>Advanced>Shared Clipboard

I also tried

Devices>Shared Clipboard>Bidirectional

I installed virtualbox-guest-dkms too, but has no effect.

A. STEFANI
  • 6,707
  • 1
  • 23
  • 48
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
  • Did you check if you are able to copy paste text? – Tarun Lalwani Mar 11 '18 at 15:01
  • @TarunLalwani : It isn't working too. – plaidshirt Mar 12 '18 at 07:18
  • 2
    Can you try installing `https://download.virtualbox.org/virtualbox/5.2.6/Oracle_VM_VirtualBox_Extension_Pack-5.2.6.vbox-extpack` and see if that helps? – Tarun Lalwani Mar 12 '18 at 07:20
  • 1
    Extension pack is "only" required to boot on lan, and have usb2 and usb3 support, please note that clipboard share is a native component in Vbox, assuming that guest addition is succesfully installed in VM – A. STEFANI Mar 16 '18 at 14:22
  • 1
    If you just tested in the terminal please notice that **Ctrl+c** is for break you should use *Ctrl+Shift+C* And **Ctrl+Shift+V** for copy and paste. for me it works well, I should mention that I have the **guest addition** installed. – Arash.Zandi Dec 30 '19 at 16:36

2 Answers2

14

You need first to install guest addition in your VM, you may take a look here if you need help.

A. STEFANI
  • 6,707
  • 1
  • 23
  • 48
2

I've been fighting with this issue. There's a lot of writting about this, some solutions work for some causes and others do the fix for others.

I just want to share how I fixed this at all. Hoping this will help at least for some cases. First of all, update your guest Ubuntu SO.

$ sudo apt update
$ sudo apt upgrade

Then, install guest addition as @A STEFANI stated. This will install the program VBoxClient-all in the guest machine.

After this, just kill the proccess VBoxClient and start it using VBoxClient-all.

$ sudo killall VBoxClient
$ VBoxClient-all 

No reboot is needed. Hope this helps.

viclisa
  • 41
  • 4