[Resolved] Clipboard sharing won't work since upgrade

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

[Resolved] Clipboard sharing won't work since upgrade

Post by Gutchi »

Hello since i have upgraded to VirtualBox 6.1.4 r136177, the shared clipboard between my host (Linux Debian buster) and the Guest (also a Debian) won't work. It worked just before the upgrade and the option is still enabled.
In the VM logs i can see the Clipboard option is enabled:

Code: Select all

00:00:00.520369 Shared Clipboard: Service loaded
00:00:00.520376 Shared Clipboard: Mode: Bidirectional
00:00:00.520404 Shared Clipboard: Service running in normal mode
00:00:00.588523 Shared Folders service loaded
00:00:00.627808 SharedFolders host service: Adding host mapping
00:00:07.423977 HGCM: Restoring [VBoxSharedFolders]
00:00:07.424123 HGCM: Restoring [VBoxSharedClipboard]
Thank in advance
Last edited by Gutchi on 3. Mar 2020, 15:29, edited 1 time in total.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Clipboard sharing won't work since upgrade

Post by scottgus1 »

Now that you have your new topic going, you might notice that tinkster in the old thread posted a zipped guest vbox.log, using the forum's Upload Attachment tab...
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Clipboard sharing won't work since upgrade

Post by Gutchi »

Here it is
Attachments
VBox.log.zip
(29.17 KiB) Downloaded 12 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Clipboard sharing won't work since upgrade

Post by scottgus1 »

Your guest was save-stated before the log, and was save-stated to finish the log:
00:00:00.548086 Console: Machine state changed to 'Restoring'
.........
00:11:42.859016 Changing the VM state from 'SUSPENDED' to 'SAVING'
Also, there is no mention of Guest Additions in the log. Guest Additions are required for shared clipboard.

Ensure that the Guest Additions from the ISO that came with Virtualbox are installed in the guest OS. (See the guest's Virtualbox window Devices menu, Insert Guest Additions CD Image.)

Then start the guest so it fully boots, and shut it down using the guest's Shut Down command. Start the guest again from cold boot this time, not save-sate. Be sure Guest Additions are installed and try the shared clipboard. Then shut down the guest from within the guest OS.

Please zip and post the guest's vbox.log, using the forum's Upload Attachment tab.
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Clipboard sharing won't work since upgrade

Post by Gutchi »

weird, because they are already installed and the machine was shutdown/restart, i have the shared folder and the full screen run well, everything run well except the shared clipboard.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Clipboard sharing won't work since upgrade

Post by scottgus1 »

Maybe the wrong log was posted?
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Clipboard sharing won't work since upgrade

Post by Gutchi »

It was the right log file. Here is another one after i retry to reinstall the guest additions, and shutdow/restart the vm from cold boot.
Got a second problem, i haven't the right resolution in xfce display menu, it won't recognize the right resolution (2560*1440) and set automatically a lower one, so i have black borders on the up and down of the screen..
And the guest additions are well installed and running:

Code: Select all

lsmod | grep -i vbox
vboxsf                 94208  1
vboxguest             356352  7 vboxsf
vboxvideo              45056  2
ttm                   122880  1 vboxvideo
drm_kms_helper        212992  1 vboxvideo
drm                   548864  5 drm_kms_helper,vboxvideo,ttm
Attachments
VBox.log.zip
(19.86 KiB) Downloaded 10 times
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Clipboard sharing won't work since upgrade

Post by Gutchi »

No news? I doesn't still working.
Stephen.Persky
Posts: 3
Joined: 3. Mar 2020, 15:02

Re: Clipboard sharing won't work since upgrade

Post by Stephen.Persky »

I had this same problem with Ubuntu 18.0.4. When I installed the Guest Additions 6.1.4 the clipboard sharing stopped working. I downgraded to Guest Additions 6.1.0, rebuilt the kernel extensions and rebooted. Clipboard sharing is now working again. This is most certainly a bug in the latest Guest Additions.
Gutchi
Posts: 34
Joined: 4. Apr 2016, 14:50

Re: Clipboard sharing won't work since upgrade

Post by Gutchi »

Stephen.Persky wrote:I had this same problem with Ubuntu 18.0.4. When I installed the Guest Additions 6.1.4 the clipboard sharing stopped working. I downgraded to Guest Additions 6.1.0, rebuilt the kernel extensions and rebooted. Clipboard sharing is now working again. This is most certainly a bug in the latest Guest Additions.
Awesome! That's work!

Thanks you :)
Stephen.Persky
Posts: 3
Joined: 3. Mar 2020, 15:02

Re: [Resolved] Clipboard sharing won't work since upgrade

Post by Stephen.Persky »

Update - April 25, 2020 - I upgraded to Virtual Box 6.1.6 and loaded the Guest Additions 6.1.6 onto the same Ubuntu Guest that previously had issues. To refresh, that Ubunutu VM was not able to share the clipboard with my host OS (Windows 10) when I installed Guest Additions 6.1.4. I had rolled back to Guest Additions 6.1.0 to "resolve" the issue. Well, today I installed 6.1.6 and the clipboard sharing is working as designed. I have not tested my other VM's on other OS (Windows and OEL). But in general, it looks like this bug may be fixed.
Post Reply