Describe the bug
It is not possible to copy text in the guest OS and paste the text in the host OS when using the Java VNC viewer of TigerVNC to connect to the QEMU VNC Server. However, the native VNC viewer of TigerVNC works.
The host OS is Fedora 40.
The QEMU version is 8.2.7.
The guest OS is Windows 10 with spice-vdagent installed.
The qemu-vdagent channel is created for the guest to send the clipboard data.
To Reproduce
Steps to reproduce the behavior:
Create a VM using virt-manager. Use VNC as display, and configure qemu-vdagent channel for clipboard sharing.
Install Windows 10 in the VM.
Install spice-vdagent in the VM.
Use Java VNC viewer to connect to the guest, and try to copy some text in the guest, and then try to paste the text in the host OS. The text cannot be pasted.
Expected behavior
After copying the text in the guest, the text can be pasted in host OS.
Screenshots
If applicable, add screenshots to help explain your problem.
Client (please complete the following information):
Server (please complete the following information):
OS: Fedora KDE Plasma Desktop
VNC server: QEMU
VNC server version: 8.2.7
Server downloaded from: QEMU from Fedora 40's official repository.
Server was started using: The VM is started by libvirtd, and the server is built in the QEMU.
Additional context
The Java VNC viewer of TurboVNC also does not work, and the error message shown in TurboVNC is "ZlibInStream: inflate failed". I suspects that the problem is in the jzlib library because the native version of TigerVNC viewer works correctly.
Describe the bug It is not possible to copy text in the guest OS and paste the text in the host OS when using the Java VNC viewer of TigerVNC to connect to the QEMU VNC Server. However, the native VNC viewer of TigerVNC works.
The host OS is Fedora 40. The QEMU version is 8.2.7. The guest OS is Windows 10 with spice-vdagent installed. The qemu-vdagent channel is created for the guest to send the clipboard data.
To Reproduce Steps to reproduce the behavior:
Expected behavior After copying the text in the guest, the text can be pasted in host OS.
Screenshots If applicable, add screenshots to help explain your problem.
Client (please complete the following information):
Server (please complete the following information):
Additional context The Java VNC viewer of TurboVNC also does not work, and the error message shown in TurboVNC is "ZlibInStream: inflate failed". I suspects that the problem is in the jzlib library because the native version of TigerVNC viewer works correctly.