Clipboard issue: Host - Debian 11, VM - Debian 12

Discussions about using Linux guests in VirtualBox.
Post Reply
CatJump
Posts: 3
Joined: 24. Mar 2020, 20:07

Clipboard issue: Host - Debian 11, VM - Debian 12

Post by CatJump »

After some regular update, I was faced with the fact that the clipboard began to fall off with the following error on the VM:

Code: Select all

Converting VBox formats 'UNICODETEXT' to 'INVALID' for X11 (idxFmtX11=0, fmtX11=0, 12:36:40.046885 SHCLX11   Requesting data in format 0x1 from host failed with VERR_NO_DATA
503:38:32.205001 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
503:38:32.205418 VMMDev: Guest Log: 12:36:40.047163 SHCLX11   Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'STRING' for X11 (idxFmtX11=4, fmtX11=2, a12:36:40.054703 SHCLX11   Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'INVALID' for X11 (idxFmtX11=0, fmtX11=0, 12:36:40.062601 SHCLX11   Requesting data in format 0x1 from host failed with VERR_NO_DATA
503:38:32.206438 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
503:38:32.206751 VMMDev: Guest Log: 12:36:40.062921 SHCLX11   Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'text/plain;charset=utf-8' for X11 (idxFmt12:36:40.063994 SHCLX11   Requesting data in format 0x1 from host failed with VERR_NO_DATA
503:38:32.208391 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
503:38:32.208690 VMMDev: Guest Log: 12:36:40.064250 SHCLX11   Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX1112:36:40.064826 SHCLX11   Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'INVALID' for X11 (idxFmtX11=0, fmtX11=0, 12:36:40.065947 SHCLX11   Requesting data in format 0x1 from host failed with VERR_NO_DATA
503:38:32.350241 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
It only helps to manually terminate the process "VBoxClient --clipboard" and then run it. After that, the clipboard works again for a while and after a while the error repeats. Does anyone have any ideas about the causes of this problem?

I tried reinstalling VirtualBox - the problem remained.
MoinDix
Posts: 7
Joined: 3. Mar 2021, 15:18

Re: Clipboard issue: Host - Debian 11, VM - Debian 12

Post by MoinDix »

Hi,

having the same issue, what ever I do, copy from Host to Guest does not work.

My setup:

AMD hardware
Host: Windows 11
Vbox version 7.014 r 161095

Guest: Debian 12
Guest add-on installed.
KDE with xwayland 22.1.9-1

Hope someone shed some light on this

Wim
MoinDix
Posts: 7
Joined: 3. Mar 2021, 15:18

Re: Clipboard issue: Host - Debian 11, VM - Debian 12

Post by MoinDix »

OK ... found a workaround

So as mentioned I'm using Debian 12 with KDE

I just read that Wayland uses a different clipboard than X11.

I logged out, and in the lower left corner of the login screen it mentions 'Desktop Session Plasma (Wayland)' , click on it and change it to X11.

Login in again .. and ... shared clipboard works !

Wim
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 issue: Host - Debian 11, VM - Debian 12

Post by scottgus1 »

MoinDix wrote: 25. Jan 2024, 11:20 I just read that Wayland uses a different clipboard than X11.
For the time being, yes. I'm sure the devs are working on Wayland support.
Post Reply