Clipboard is not shared with KDE virtual machines

Problem

If you run a virtual machine (VM) with the KDE desktop, your host clipboard will not be shared with VM guest. That means text you copy inside your host can’t be pasted into the VM, and text you copy inside the VM can’t be pasted into the host.

From Fedora 40, you can copy text into a KDE virtual machine, but still not from it.

Related Issues

Bugzilla report: #2016563

Workarounds

One possible workaround is to log out from the current KDE session, select “Desktop Session: Plasma (X11)” at the very bottom of the login screen, and then login again. With an X11 session, this bug will not occur.

Note: Since Fedora 40, Plasma X11 session is not installed by default. You can install it by installing package plasma-workspace-x11.

Note: An X11 session provides less security compared to a Wayland session. Using a Wayland session is recommended whenever possible.

4 Likes