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

オープン
#914 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VirtualBox/virtualbox のほかの issue

VirtualBox/virtualbox の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。