id = 1426 title = "On windows, display spice-app is not able to initialize, start spice-server and consequently can't use spice-client" state = "opened" created_at = "2023-01-09T08:39:09.603Z" closed_at = "n/a" labels = ["hostos: Windows", "kind::Feature Request", "spice"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1426" host-os = "Windows 22H2" host-arch = "x86_64" qemu-version = "QEMU emulator version 7.2.0 (v7.2.0-11948-ge6523b71fc-dirty)" guest-os = "NA" guest-arch = "NA" description = """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.""" reproduce = """1. just run command""" additional = """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."""