[Bug]: Shared clipboard fails on RHEL 10 GNOME (XWayland) guest – X11 backend chosen but libXt/libXmu not installed

未关闭
#914 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
linux
领域
desktop

调研方向

The failure comes from the X11 clipboard backend (shclx11) when VBoxClient --clipboard -f -vvv runs under XWayland and fails to dlopen libXt.so.6. Start with the clipboard service code that selects the X11 backend and the dlopen call that logs the error, and check how the RHEL guest-additions package declares its X11 dependencies. Done means either a clean fallback or an actionable error when libXt/libXmu are missing, confirmed by the reproduction steps on a RHEL 10 GNOME guest.

由索引模型根据 Issue 内容生成。

描述

bug
Version

7.2.20

Host OS Type

Windows

Host OS name + version

Windows 11 Build 26100

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

Red Hat Enterprise Linux 10.2

Component

Guest Additions/Shared Clipboard

What happened?

Shared clipboard does not work in a RHEL 10 guest with a default GNOME (Wayland) desktop, although Guest Additions install successfully and Shared Clipboard is set to Bidirectional.

VBoxClient --clipboard -f -vvv fails with:

shclx11 rtldrNativeLoad: dlopen('libXt.so.6', RTLD_NOW | RTLD_LOCAL) failed: libXt.so.6: cannot open shared object file: No such file or directory
How can we reproduce this?
  1. Install RHEL 10.x with the default "Server with GUI" or "Workstation" environment (GNOME, Wayland only).
  2. Install Guest Additions 7.2.20 (with kernel-devel, gcc, make, perl etc. so the modules build).
  3. Set Devices → Shared Clipboard → Bidirectional, then reboot and log in to GNOME.
  4. Confirm rpm -q libXt libXmu reports both as not installed.
  5. Copy text on the Windows host and try to paste in the guest (and the reverse): nothing is transferred.
  6. Run VBoxClient --clipboard -f -vvv: session type is detected as XWayland, the X11 backend is chosen and fails to dlopen libXt.so.6.
Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
主要语言
C
星标
1.4k
派生
219
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

VirtualBox/virtualbox 的其他 Issue

查看 VirtualBox/virtualbox 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。