[Solved] Cannot share clipboard Windows 10 host Ubuntu client

Discussions related to using VirtualBox on Windows hosts.

[Solved] Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 30. Nov 2018, 04:21

I have installed the extension pack and I have enabled the Clipboard sharing as bidirectional.
It refuses to work, even after restart.

Log is attached

Regards and thank you for all the help!
Bernt
Attachments
UbuntuVM-2018-11-30-13-16-31.zip
(29.28 KiB) Downloaded 2 times
Last edited by socratis on 3. Dec 2018, 07:51, edited 1 time in total.
Reason: Marked as [Solved].
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby socratis » 30. Nov 2018, 04:38

00:00:21.837201 VMMDev: Guest Additions information report: Version 5.2.8 r120774 '5.2.8_KernelUbuntu'
Yes, but you need to update the Guest Additions for the Clipboard to work. And yours are not only old, they're the forked one the come with Ubuntu.

berntd wrote:I have installed the extension pack
Does that mean that you fixed your "Cannot install Virtual box extensions on Win10 host" problem after all?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21353
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 30. Nov 2018, 04:41

Unclear how to proceed. I just downloaded the latest from the Oracle site and that is how it came out.

How do I update the extensions?
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 30. Nov 2018, 04:43

socratis wrote:Does that mean that you fixed your "Cannot install Virtual box extensions on Win10 host" problem after all?

It was a problem. I had to eventually log out and log into the computer with the admin account and installed it from there. However, this can still be a problem as I am now running it in my normal user login. I am not sure.
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby socratis » 30. Nov 2018, 04:46

You've got to be careful with the terminology. There are two distinct things:
  • The Extension Pack (ExtPack) gets installed on the host and it has to match the VirtualBox version. It provides functionality such as USB2-3, Webcam, VRDP, PXE, PCI passthrough on Linux hosts, VDI Encryption. You have to download it and install it separately from the main VirtualBox program, due to its license.
  • The Guest Additions (GAs) get installed on the guest and it would be good to match the VirtualBox version, for anything other than enhanced graphics support. It provides functionality such as shared folders, shared clipboard, drag and drop, pointer sharing (for PS/2 mice), enhanced graphics support. You do not have to download it separately from the main VirtualBox program, since it comes bundled with it.
Now, you need to install the Guest Additions on your Ubuntu guest. With the VM window having the focus, go to the menu "Devices" » "Insert GAs CD Image...". Then in Ubuntu follow the instructions. For more information, see ch. "4.2.2. Guest Additions for Linux" of the User Manual.

I had to eventually log out and log into the computer with the admin account and installed it from there.
OK, would you update the original thread with the solution then?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21353
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 30. Nov 2018, 06:56

I see. I did confuse the terminology as I only ever do this once in a blue moon. Once it words, I tend to forget after a while.

I have now installed the guest additions from the client as you suggested.

After doing it, it still does not work with sharing the clipboard though.

You mentioned that I need to update the guest additions?

Log attached again
Attachments
UbuntuVM-2018-11-30-15-50-24.zip
(20.24 KiB) Downloaded 1 time
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby socratis » 30. Nov 2018, 07:06

berntd wrote:I have now installed the guest additions from the client as you suggested.

No, you didn't.
00:00:21.880975 VMMDev: Guest Additions information report: Version 5.2.8 r120774 '5.2.8_KernelUbuntu'

Please try again. Read the user manual, ch. 4.2.2.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21353
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 3. Dec 2018, 02:27

I am struggling.

I read that manual chapter but none of it seems to directly match up with what I have in front of me.
It is now not clear to me what I should be doing.

On the desktop of the guest (Linux) there is VBox_GAs_5.2.22
I double click that to mount it and the I run the software.

that states that I already have a version installed and should not continue.
Later on it states that my system is not set up to compile kernel modules and it needs gcc installed.
( I cannot paste exact results here as the clipboard is not working)

None of the documentation mentions any complications like that and last Friday, this did run ok but you said that it did not.

Is there any other simple help I can look though to get this working?

Regards
Bernt
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby socratis » 3. Dec 2018, 02:41

berntd wrote:that states that I already have a version installed and should not continue.

Well, technically you need to uninstall the custom GAs first, but I don't believe you're at that level. You could search on the web on how to uninstall packages from Ubuntu. But, I would ignore that warning and go ahead and install the VirtualBox GAs, given that you take care of the following...

berntd wrote:my system is not set up to compile kernel modules and it needs gcc installed

Well then, you need to install gcc. And I bet that it doesn't only talk about "gcc", but "make" and "perl" as well, right? Generally speaking, this is a guest issue, something that you should be searching for help in Ubuntu forums, but the simplest thing to do (if memory serves me right) is to execute the command:

    sudo apt-get install gcc make perl

berntd wrote:None of the documentation mentions any complications like that

Of course it won't! You wouldn't expect your PC's manufacturer to include instructions on how to install the operating system of your choice, would you? Same with VirtualBox. This is a guest issue, not a VirtualBox one. What if your OS already included those packages?

So, install the requested packages and re-try the GAs installation...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21353
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby berntd » 3. Dec 2018, 06:46

At this pint in time:

THANK YOU.
It seems to work at least for the clipboard!

Cheers
Bernt
berntd
 
Posts: 12
Joined: 17. Jan 2018, 02:00

Re: Cannot share clipboard Windows 10 host Ubuntu client

Postby socratis » 3. Dec 2018, 07:51

Glad you finally got it going. Marking as [Solved].
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 21353
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: incheye and 44 guests