On windows, display spice-app is not able to initialize, start spice-server and consequently can't use spice-client
Host environment
- Operating system: Windows 22H2
- OS/kernel version: OS BUild 19045.2364
- Architecture: x86_64
- QEMU flavor: qemu-system-x86_64
- QEMU version: QEMU emulator version 7.2.0 (v7.2.0-11948-ge6523b71fc-dirty)
- QEMU command line:
qemu-system-x86_64 -cpu qemu64 -m 4096 -machine "type=q35,kernel-irqchip=off" -accel whpx -smp "sockets=1,cores=8,threads=1" -display "spice-app,gl=off" -vga virtio -spice unix=on,ipv4=off,ipv6=off,disable-ticketing=on
C:\vol\scoop_01\SCOOPG\apps\qemu\current\qemu-system-x86_64.exe: warning: Spice: C:/M/mingw-w64-spice/src/spice-0.15.1/server/reds.cpp:3442:do_spice_init: Failed to open SPICE sockets
C:\vol\scoop_01\SCOOPG\apps\qemu\current\qemu-system-x86_64.exe: failed to initialize spice server
Emulated/Virtualized environment
- Operating system: NA
- OS/kernel version: NA
- Architecture: NA
Description of problem
I want to try windows spice-client / virt-viewer.exe (v11.0.256) instead of gtk client.
Windows spice client virtviewer won't start like it does under Linux.
The error message indicaes that the spice-server itself failed to open spice sockets
The registry to handle spice://
URI handler is configured.
Steps to reproduce
- just run command
Additional information
URI handler in registry is configure using a regestry import file spiceproto.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\spice]
"URL Protocol"=""
[HKEY_CLASSES_ROOT\spice\DefaultIcon]
@="C:\\Program Files\\VirtViewer v11.0-256\\bin\\remote-viewer.exe,1"
[HKEY_CLASSES_ROOT\spice\Extensions]
[HKEY_CLASSES_ROOT\spice\shell]
[HKEY_CLASSES_ROOT\spice\shell\open]
[HKEY_CLASSES_ROOT\spice\shell\open\command]
@="\"C:\\Program Files\\VirtViewer v11.0-256\\bin\\remote-viewer.exe\" \"%1\""
[HKEY_CLASSES_ROOT\spice+unix]
"URL Protocol"=""
[HKEY_CLASSES_ROOT\spice+unix\DefaultIcon]
@="C:\\Program Files\\VirtViewer v11.0-256\\bin\\remote-viewer.exe,1"
[HKEY_CLASSES_ROOT\spice+unix\Extensions]
[HKEY_CLASSES_ROOT\spice+unix\shell]
[HKEY_CLASSES_ROOT\spice+unix\shell\open]
[HKEY_CLASSES_ROOT\spice+unix\shell\open\command]
@="\"C:\\Program Files\\VirtViewer v11.0-256\\bin\\remote-viewer.exe\" \"%1\""
This URI handler is working, and can be seen to work by typing spice://abcdefg
in firefox.
references
Edited by GK