Victor Toso <victortoso@xxxxxxxxxx> 于2021年1月20日周三 下午8:58写道:
On Wed, Jan 20, 2021 at 10:24:29AM +0800, lx wrote:
> Hi all:
> I test SPICE. I use Remote viewer on Windows10. And I install
> qemu-kvm/libvirt on Centos7, which run Windows10 in a virtual machine. I
> find I can't
> use Clipboard between my local Windows10 and Windows10 which in a virtual
> machine. I'm a newbie in SPICE, How to debug this problem? Which log I
> should
> read?
> Thank you
>
>
> Additionally info:
> libvirt-5.2.0, qemu-3.1.0, spice-0.14.0, spice-protocol-0.12.15,
> usbredir-0.8.0,spice-guest-tools-latest.exe
Can you confirm that you have installed
spice-guest-tools-latest.exe in your Windows10 Virtual Machine?
I check spice-guest-tools in the control panel.
Configuration wise, it should work with defaults considering that
you are have installed the spice guest agent.
> virtual Machine Viewer 9.0-256
could you trying running remote-viewer.exe from the cmd with
--spice-debug? (you might need to set environment variable
G_MESSAGES_DEBUG to all)
Cheers,
Victor
I run the virtViewer in this way:
#############################################################
C:\Program Files\VirtViewer v9.0-256\bin>set G_MESSAGES_DEBUG=all
C:\Program Files\VirtViewer v9.0-256\bin>remote-viewer.exe --spice-debug
C:\Program Files\VirtViewer v9.0-256\bin>remote-viewer.exe --spice-debug
#############################################################
But I can't find some useful information.
#############################################################
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.514: ../src/decode-glz.c:349 decode_header: 233x305, id 80, ref 23
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.530: ../src/decode-glz.c:349 decode_header: 233x305, id 81, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.546: ../src/decode-glz.c:349 decode_header: 233x305, id 82, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.562: ../src/decode-glz.c:349 decode_header: 233x305, id 83, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.580: ../src/decode-glz.c:349 decode_header: 233x305, id 84, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.596: ../src/decode-glz.c:349 decode_header: 233x305, id 85, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.694: ../src/decode-glz.c:349 decode_header: 227x22, id 86, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.816: ../src/decode-glz.c:349 decode_header: 227x22, id 87, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.850: ../src/decode-glz.c:349 decode_header: 227x22, id 88, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.851: ../src/decode-glz.c:95 glz_decoder_window_resize: array resize 64 -> 128
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:56.069: ../src/decode-glz.c:349 decode_header: 227x44, id 89, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.195: ../src/channel-cursor.c:386 cursor-4:0: set_cursor: flags 0, size 256
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.196: ../src/channel-cursor.c:392 cursor-4:0: set_cursor: type mono(1), 0, 32x32
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.227: ../src/decode-glz.c:349 decode_header: 238x310, id 90, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.305: ../src/decode-glz.c:349 decode_header: 227x22, id 91, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.306: ../src/decode-glz.c:349 decode_header: 17x107, id 92, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.322: ../src/decode-glz.c:349 decode_header: 227x22, id 93, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.323: ../src/decode-glz.c:349 decode_header: 17x22, id 94, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.324: ../src/decode-glz.c:349 decode_header: 17x565, id 95, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.336: ../src/decode-glz.c:349 decode_header: 1127x17, id 96, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.339: ../src/decode-glz.c:349 decode_header: 227x22, id 97, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.362: ../src/decode-glz.c:349 decode_header: 227x22, id 98, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.363: ../src/decode-glz.c:349 decode_header: 227x22, id 99, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.406: ../src/decode-glz.c:349 decode_header: 227x22, id 100, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.407: ../src/decode-glz.c:349 decode_header: 227x22, id 101, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.419: ../src/decode-glz.c:349 decode_header: 227x22, id 102, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.453: ../src/decode-glz.c:349 decode_header: 227x22, id 103, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.454: ../src/decode-glz.c:349 decode_header: 227x22, id 104, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.541: ../src/decode-glz.c:349 decode_header: 227x22, id 105, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.542: ../src/decode-glz.c:349 decode_header: 227x22, id 106, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.578: ../src/decode-glz.c:349 decode_header: 1x21, id 107, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.797: ../src/channel-cursor.c:386 cursor-4:0: set_cursor: flags 0, size 4096
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.798: ../src/channel-cursor.c:392 cursor-4:0: set_cursor: type alpha(0), 0, 32x32
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:57.838: Allocated 1920x1080
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:57.839: Child allocate 1920x1080
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.871: ../src/decode-glz.c:349 decode_header: 17x694, id 108, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.872: ../src/decode-glz.c:349 decode_header: 1127x17, id 109, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.075: ../src/decode-glz.c:349 decode_header: 1x21, id 110, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.286: ../src/usb-device-manager.c:1855 Auto-connect disabled, no hider setup needed
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:58.288: Allocated 1920x1080
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:58.289: Child allocate 1920x1080
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.654: ../src/decode-glz.c:349 decode_header: 1x21, id 111, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:59.147: ../src/decode-glz.c:349 decode_header: 1x21, id 112, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:59.648: ../src/decode-glz.c:349 decode_header: 1x21, id 113, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.194: ../src/decode-glz.c:349 decode_header: 1x21, id 114, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.341: ../src/decode-glz.c:349 decode_header: 73x40, id 115, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.740: ../src/decode-glz.c:349 decode_header: 1x21, id 116, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:01.274: ../src/decode-glz.c:349 decode_header: 1x21, id 117, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:01.802: ../src/decode-glz.c:349 decode_header: 1x21, id 118, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.530: ../src/decode-glz.c:349 decode_header: 233x305, id 81, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.546: ../src/decode-glz.c:349 decode_header: 233x305, id 82, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.562: ../src/decode-glz.c:349 decode_header: 233x305, id 83, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.580: ../src/decode-glz.c:349 decode_header: 233x305, id 84, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.596: ../src/decode-glz.c:349 decode_header: 233x305, id 85, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.694: ../src/decode-glz.c:349 decode_header: 227x22, id 86, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.816: ../src/decode-glz.c:349 decode_header: 227x22, id 87, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.850: ../src/decode-glz.c:349 decode_header: 227x22, id 88, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:55.851: ../src/decode-glz.c:95 glz_decoder_window_resize: array resize 64 -> 128
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:56.069: ../src/decode-glz.c:349 decode_header: 227x44, id 89, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.195: ../src/channel-cursor.c:386 cursor-4:0: set_cursor: flags 0, size 256
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.196: ../src/channel-cursor.c:392 cursor-4:0: set_cursor: type mono(1), 0, 32x32
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.227: ../src/decode-glz.c:349 decode_header: 238x310, id 90, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.305: ../src/decode-glz.c:349 decode_header: 227x22, id 91, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.306: ../src/decode-glz.c:349 decode_header: 17x107, id 92, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.322: ../src/decode-glz.c:349 decode_header: 227x22, id 93, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.323: ../src/decode-glz.c:349 decode_header: 17x22, id 94, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.324: ../src/decode-glz.c:349 decode_header: 17x565, id 95, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.336: ../src/decode-glz.c:349 decode_header: 1127x17, id 96, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.339: ../src/decode-glz.c:349 decode_header: 227x22, id 97, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.362: ../src/decode-glz.c:349 decode_header: 227x22, id 98, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.363: ../src/decode-glz.c:349 decode_header: 227x22, id 99, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.406: ../src/decode-glz.c:349 decode_header: 227x22, id 100, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.407: ../src/decode-glz.c:349 decode_header: 227x22, id 101, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.419: ../src/decode-glz.c:349 decode_header: 227x22, id 102, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.453: ../src/decode-glz.c:349 decode_header: 227x22, id 103, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.454: ../src/decode-glz.c:349 decode_header: 227x22, id 104, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.541: ../src/decode-glz.c:349 decode_header: 227x22, id 105, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.542: ../src/decode-glz.c:349 decode_header: 227x22, id 106, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.578: ../src/decode-glz.c:349 decode_header: 1x21, id 107, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.797: ../src/channel-cursor.c:386 cursor-4:0: set_cursor: flags 0, size 4096
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.798: ../src/channel-cursor.c:392 cursor-4:0: set_cursor: type alpha(0), 0, 32x32
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:57.838: Allocated 1920x1080
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:57.839: Child allocate 1920x1080
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.871: ../src/decode-glz.c:349 decode_header: 17x694, id 108, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:57.872: ../src/decode-glz.c:349 decode_header: 1127x17, id 109, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.075: ../src/decode-glz.c:349 decode_header: 1x21, id 110, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.286: ../src/usb-device-manager.c:1855 Auto-connect disabled, no hider setup needed
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:58.288: Allocated 1920x1080
(remote-viewer.exe:44260): virt-viewer-DEBUG: 09:51:58.289: Child allocate 1920x1080
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:58.654: ../src/decode-glz.c:349 decode_header: 1x21, id 111, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:59.147: ../src/decode-glz.c:349 decode_header: 1x21, id 112, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:51:59.648: ../src/decode-glz.c:349 decode_header: 1x21, id 113, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.194: ../src/decode-glz.c:349 decode_header: 1x21, id 114, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.341: ../src/decode-glz.c:349 decode_header: 73x40, id 115, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:00.740: ../src/decode-glz.c:349 decode_header: 1x21, id 116, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:01.274: ../src/decode-glz.c:349 decode_header: 1x21, id 117, ref 24
(remote-viewer.exe:44260): GSpice-DEBUG: 09:52:01.802: ../src/decode-glz.c:349 decode_header: 1x21, id 118, ref 24
#############################################################
How to fix this problem?
Thank you.
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel