[Bug]: Linux X11 to Windows 10 guest clipboard fails – VERR_TIMEOUT (7.2.20 and 7.2.22)

Abierto
#957 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 6 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
c, linux

Línea de trabajo

Start with the shared clipboard implementation for the Linux X11 host and Windows guest, then inspect the VBox.log entries for VERR_TIMEOUT, VERR_SHCLPB_NO_DATA, and VERR_TRY_AGAIN. Use the supplied reproduction steps to trace host-to-guest text transfer while checking that guest-to-host transfer still works. Done means newly copied Linux text reaches Windows reliably under the reported setup.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Version

7.2.22

Host OS Type

Linux

Host OS name + version

Linux Mint 22.3 Zena, X11, kernel 7.0.0-42-generic (previously 7.0.0-38-generic)

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

Windows 10 22H2 x64, build 19045.6466

Component

Guest Additions/Shared Clipboard

What happened?

Shared clipboard synchronization from a Linux Mint 22.3 X11 host to a Windows 10 guest does not work reliably.

Expected behavior: Text copied on the Linux host should become available in the Windows guest when bidirectional clipboard sharing is enabled.

Actual behavior: Windows retains previously copied Windows clipboard content and does not receive newly copied Linux text. The reverse direction (Windows to Linux) generally works.

The issue occurs with both VirtualBox 7.2.20 and 7.2.22, including matching Guest Additions and Extension Pack versions.

Steps to reproduce:

  1. Start a Windows 10 VM with bidirectional clipboard enabled.
  2. On the Linux host, run:
    printf 'X300_TEST_PRENOSU_12345' | xclip -selection clipboard
  3. Verify that the text is present in the Linux clipboard.
  4. In Windows, run:
    powershell -NoProfile -Command "Get-Clipboard -Raw"

Result: Windows returns old clipboard content instead of X300_TEST_PRENOSU_12345.

The VBox.log file repeatedly contains:

  • VERR_TIMEOUT
  • VERR_SHCLPB_NO_DATA
  • VERR_TRY_AGAIN

Restarting VBoxTray.exe, switching clipboard modes, and restarting the VM have not reliably resolved the issue.

The Linux clipboard itself works normally, with a measured local read time of approximately 7 ms.

A full VBox.log captured during the failure can be provided.

How can we reproduce this?
  1. Start VirtualBox 7.2.22 on Linux Mint 22.3 with an X11 session.

  2. Start a Windows 10 x64 guest with Guest Additions 7.2.22.

  3. Set Shared Clipboard to Bidirectional.

  4. Copy some text inside Windows and verify that it can be pasted into Linux.

  5. On the Linux host, execute:

    printf 'X300_TEST_PRENOSU_12345' | xclip -selection clipboard

  6. Verify the Linux clipboard using:

    xclip -selection clipboard -o

  7. In the Windows guest, execute:

    powershell -NoProfile -Command "Get-Clipboard -Raw"

Expected: Windows returns X300_TEST_PRENOSU_12345.

Actual: Windows returns the previous Windows clipboard content. The new text from Linux is not transferred.

The issue also occurs when copying text from a regular Linux text editor. Restarting VBoxTray.exe does not reliably resolve the problem.

X300_VirtualBox_anonymizovane_logy_20261105.zip

Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
Lenguaje dominante
C
Estrellas
1.4k
Forks
219
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de VirtualBox/virtualbox

Todos los issues de VirtualBox/virtualbox

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.