You are not logged in.
I have been using scripts to use qemu for years. A virtual machine consists of an individual configuration script and a single starter script.
Until recently everything ran without problems, but since the last qemu updates viewer no longer get a connection established via spice sockets. I am completely at a loss, neither in the wiki nor in RedHat or general searches do I find anything. Does anyone know of any changes to spice / qemu?
# Snipplets
...
QEMUSESSION_NAME=${QEMUIMGNAME}_$(date +"%Y%m%d%H%M%S")
SPICE_SOCKET=${QEMUIMGDIR}/${QEMUSESSION_NAME}_spice.socket
...
OPTS="$OPTS -device virtio-vga,virgl=on -spice gl=on,unix,addr=${SPICE_SOCKET}"
...
bash -c "exec -a qemu-${QEMUSESSION_NAME} qemu-system-${QEMUSYSTEM} ${OPTS} &" > /dev/null 2>&1
...
bash -c "exec -a viewer-${QEMUSESSION_NAME} remote-viewer --title ${QEMUIMGNAME} spice+unix://${SPICE_SOCKET} &" > /dev/null 2>&1
This did the job. But these days, the scripts lead to
"Could not connect to the spice+unix ... graphics server"
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.466: ../spice-gtk-0.42/src/spice-session.c:288 New session (compiled from package spice-gtk 0.42)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.466: ../spice-gtk-0.42/src/spice-session.c:292 Supported channels: main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.466: ../spice-gtk-0.42/src/usb-device-manager.c:393 auto-connect filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.466: ../spice-gtk-0.42/src/usb-backend.c:440 spice_usb_backend_new >>
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:462 spice_usb_backend_new <<
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab1421370, usblib dev 0x556ab142ee70
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab1420f30, usblib dev 0x556ab13c4ad0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab1420ff0, usblib dev 0x556ab13c4a20
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab14232f0, usblib dev 0x556ab142eb30
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f66d0, usblib dev 0x556ab13c45c0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f6680, usblib dev 0x556ab13c3d20
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13ee690, usblib dev 0x556ab142d5e0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13ee640, usblib dev 0x556ab142ecb0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f0720, usblib dev 0x556ab13c39c0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f0670, usblib dev 0x556ab142df30
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13ee340, usblib dev 0x556ab142d680
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f2800, usblib dev 0x556ab142fb30
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:158 created dev 0x556ab13f2750, usblib dev 0x556ab142fa20
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/usb-backend.c:469 handle_libusb_events >>
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.481: ../spice-gtk-0.42/src/spice-session.c:1835 no migration in progress
Spice-INFO: 16:09:01.482: ../spice-gtk-0.42/src/channel-main.c:342:spice_main_set_property: SpiceMainChannel::color-depth has been deprecated. Property is ignored
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.482: ../spice-gtk-0.42/src/spice-channel.c:142 main-1:0: spice_channel_constructed
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.482: ../spice-gtk-0.42/src/spice-session.c:2330 main-1:0: new main channel, switching
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.482: ../spice-gtk-0.42/src/spice-gtk-session.c:1565 Changing main channel from (nil) to 0x556ab1405fc0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 0b05:183c (0x556ab1421370)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 1b1c:1b7f (0x556ab1420f30)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 28de:1142 (0x556ab1420ff0)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 045e:07a5 (0x556ab14232f0)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 1b1c:1b2d (0x556ab13f66d0)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 1050:0407 (0x556ab13f6680)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 045e:02fe (0x556ab13ee690)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 046d:0893 (0x556ab13ee640)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 9886:0015 (0x556ab13f0720)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 0bc2:2322 (0x556ab13f0670)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 21c4:b060 (0x556ab13ee340)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 8087:0029 (0x556ab13f2800)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/usb-device-manager.c:800 device added 0765:5020 (0x556ab13f2750)
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/spice-channel.c:2763 main-1:0: Open coroutine starting 0x556ab1405fc0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/spice-channel.c:2587 main-1:0: Started background coroutine 0x556ab1405d90
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.507: ../spice-gtk-0.42/src/spice-session.c:2267 main-1:0: Using plain text, port 0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.511: ../spice-gtk-0.42/src/spice-session.c:2190 open unix path /mnt/data/qemu/haikuos/haikuos_20231021160901_spice.socket
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.511: ../spice-gtk-0.42/src/spice-session.c:2120 main-1:0: connecting 0x7f15abffff30...
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-session.c:2104 main-1:0: connect ready
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-session.c:2279 main-1:0: open host: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2617 main-1:0: Connect error
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2736 main-1:0: Coroutine exit main-1:0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2926 main-1:0: reset
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/channel-main.c:1590 agent connected: no
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2874 main-1:0: channel reset
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2475 main-1:0: Delayed unref channel 0x556ab1405fc0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-session.c:2027 session: disconnecting 0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-session.c:2370 main-1:0: the session lost the main channel
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2943 main-1:0: channel disconnect 0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:160 main-1:0: spice_channel_dispose 0x556ab1405fc0
(viewer-haikuos_20231021160901:242562): GSpice-DEBUG: 16:09:01.512: ../spice-gtk-0.42/src/spice-channel.c:2943 main-1:0: channel disconnect 12
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
... still searching ...
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline