[6.1.46] Shared Clipboard not works

Discussions about using Linux guests in VirtualBox.
Post Reply
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

[6.1.46] Shared Clipboard not works

Post by Sagypt »

Hi,

Shared Clipboard (Bidirectional) not works in VirtualBox 6.1.46 with Debian 12 VM.
No problems with Windows (any version), Ubuntu 22.04, Kali 2023.1 VMs

Host & Guest: Debian 12 - Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 GNU/Linux
Extension pack: 6.1.46
Guest Additions: 6.1.46

From attached log

Code: Select all

...
00:00:00.555092 Shared Clipboard: Service loaded
00:00:00.555100 Shared Clipboard: Mode: Bidirectional
00:00:00.555119 Shared Clipboard: Service running in normal mode
...
00:03:25.749233 Shared Clipboard: X11 event thread exiting
...
Can I provide some other useful information?


Update #1:

The same thing also happens with VirtualBox version 7.0.10

Update #2 - Workaround:

The shared clipboard is back to work by changing the desktop session from Plasma (Wayland) to Plasma (X11).
I use KDE Plasma version 5.27.5

Code: Select all

inxi -F
...
Graphics:
  Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
    loaded: vmware unloaded: fbdev,modesetting,vesa dri: swrast gpu: vmwgfx
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.5 Mesa 22.3.6 renderer: llvmpipe (LLVM 15.0.6 256 bits)

Thanks
Attachments
VBox.log.zip
(37.53 KiB) Downloaded 26 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: [6.1.46] Shared Clipboard not works

Post by scottgus1 »

Thanks for the info, Sagypt! FWIW it is known that Wayland sometimes gives Virtualbox trouble. There is an "Xwayland" add-in in Linux that might get around the glitches when Wayland is being used.
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

Re: [6.1.46] Shared Clipboard not works

Post by Sagypt »

Hi @scottgus1,

which add-in? This?

Code: Select all

dpkg -l | grep -i xwayland

ii  xwayland                                      2:22.1.9-1                           amd64        X server for running X clients under Wayland
it was already installed
Last edited by Sagypt on 24. Jul 2023, 16:39, 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: [6.1.46] Shared Clipboard not works

Post by scottgus1 »

Sagypt wrote: 24. Jul 2023, 16:30which addin?
scottgus1 wrote: 24. Jul 2023, 14:58 "Xwayland" add-in
https://www.google.com/search?q=get+xwa ... e&ie=UTF-8
Sagypt
Posts: 51
Joined: 16. Apr 2012, 15:46

Re: [6.1.46] Shared Clipboard not works

Post by Sagypt »

Thanks @scottgus1,

in the meantime I had gone to check the VM
Post Reply