Your message dated Wed, 9 Aug 2023 10:06:03 +0700
with message-id <[email protected]>
and subject line Bug#1004082: "qemu -display spice-app" fails due to missed
spice+unix scheme in remote-viewer.desktop
has caused the Debian Bug report #1004082,
regarding "qemu -display spice-app" fails due to missed spice+unix scheme in
remote-viewer.desktop
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1004082: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004082
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virt-viewer
Version: 7.0-2+b1
Severity: minor
Try the following command (optionally add something like
-cdrom ubuntu.iso):
qemu-system-x86_64 -display spice-app
Actual result:
qemu-system-x86_64: info: Launching display with URI:
spice+unix:///tmp/.XXGMF1/spice.sock
qemu-system-x86_64: Failed to launch spice+unix:///tmp/.XXGMF1/spice.sock URI:
The specified location is not supported
qemu-system-x86_64: You need a capable Spice client, such as virt-viewer 8.0
Expected result:
no such error, with additional arguments VM is started.
Actually virt-viewer-7.0 (buster-sid) supports spice+unix scheme
but it is not specified in remote-viewer.desktop.
Upstream commit fixing this issue is included since v8.0 tag:
https://gitlab.com/virt-viewer/virt-viewer/-/commit/c4f6142f15c4e51cbf427f5f1bf1fc6ac0e10d88
remote-viewer: add handling of spice+unix and spice+tls schemes
2018-07-27T15:12:00Z
Accordingly to https://virt-manager.org/download/
virt-viewer 11.0 is available since Friday November 18th, 2021
I hope, the best way to fix the issue is to package new version,
however I have not tried to build it, so some complications may exist.
Workaround:
Add to ~/.config/mimeapps.list
---- >8 ----
[Added Associations]
x-scheme-handler/spice+unix=remote-viewer.desktop
---- 8< ----
Besides qemu shortcut it will allow to launch handler using e.g.
xdg-open spice+unix:///path/to/socket
--- End Message ---
--- Begin Message ---
Version: 8.0-1
In Debian 12 bookworm the remote-viewer.desktop file contains spice+unix
in MimeType. Uploading newer version of the virt-viewer package was
enough to fix the inconvenience.
--- End Message ---