On Tue, 04 Nov 2025 11:11:37 +0100 [email protected] wrote:
> Package: virtualbox-guest-x11
> Version: 7.2.4-dfsg-1
> Severity: important
> 
> Hello,
> 
> Testing the guest additions in Wayland, I've noticed that VBoxClient 
> isn't loaded with the desktop. In X11, VBoxClient is initialized via 
> the file `/etc/X11/Xsession.d/98vboxadd-xclient`, but that's a folder 
> only X11 uses, so Wayland doesn't initialize VBoxClient after login.
> 
> Installing the utils from the "guest utils CD", I've noticed that it 
> solves it by installing the autostart file from 
> `/src/VBox/Additions/x11/Installer/vboxclient.desktop` into 
> `/etc/xdg/autostart`, which runs `Exec=/usr/bin/VBoxClient-all` 
> (VBoxClient-all is just a link to `98vboxadd-xclient`).
> 
> With the autostart approach, the guest additions work out of the box
> in both X11 and Wayland. Maybe the file `98vboxadd-xclient` should be 
> moved somewhere else to avoid loading it twice in X11 once the 
> autostart file is in place.

Note that this won't allow shared clipboard to work under Wayland,
because the command that does that (`/usr/bin/VBoxClient --wayland ||
true`) only runs if `/usr/bin/vboxwl --check` reports that Wayland is
in use, and `/usr/bin/vboxwl` is not shipped as part of
virtualbox-guest-x11. This probably has the same root cause and
solution as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968390.

--
Aaron

> Best regards,
> Daniel

Attachment: pgpxaKVebPY7R.pgp
Description: OpenPGP digital signature

Reply via email to