Hi,

I struggled with this for several days and tried everything, but nothing seems to work. I cannot successfully set shared clipboard between host and guest machines when both run Wayland desktop.

My current setup:

Host machine: Debian 12.9
Desktop environment: KDE Plasma on default Wayland and SDDM
Installed packages related to KVM: qemu-system, libvirt-daemon-system, virt-manager

Guest machine: Debian 12.9
Desktop environment: KDE Plasma on default Wayland and SDDM
During guest installation qemu-guest-agent package has been automatically installed.

After such fresh installation shared clipboard does not work between host and guest. So I cannot copy some text to clipboard on host machine and paste it on guest machine.

Then I applied the following procedure to have shared clipboard working between host(wayland) and guest(X11):

1. On guest machine installed spice-vdagent package

2. On guest machine edit file /etc/xdg/autostart/spice-vdagent.desktop and comment-out the line with "X-GNOME-Autostart-Phase=WindowManager"

3. Finally restart guest machine and login to X11 desktop session

Shared clipboard does not work when guest is on Wayland session while it works fine when guest is on X11 session.

It seems spice-vdagent supports X11 only...

Are there any other solutions I can try to make it working with both machines on Wayland sessions?

Best regards,
Rafal


Reply via email to