Hi,
Audio does not work when spicy is opened using:
lxc console win11 --type vga
However audio works with this same instance if I open spicy from cli and use this same spice socket:
spicy --uri=spice+unix:///home/mika/snap/lxd/common/config/sockets/1062376126.spice
This is probably related to some privilege issue (e.g. cannot connect to dbus) when spicy is opened from lxd snap package.
Lxc console command outputs errors like:
(spicy:1633481): dbind-WARNING **: 23:05:45.126: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GSpice-Message: 23:05:45.182: main channel: opened
/dev/shm/jack_db-0/__db.001: No such file or directory
These errors are not shown if I open spicy from cli.
Instance configuration is:
lxc config show win11
architecture: x86_64
config:
limits.cpu: "4"
limits.memory: 8GiB
raw.qemu: -audio spice -device ich9-intel-hda -device hda-micro
volatile.cloud-init.instance-id: c77e9688-e8ce-4b50-9d1b-79b53998732c
volatile.eth0.host_name: tap7437aeb3
volatile.eth0.hwaddr: 00:16:3e:42:a1:ae
volatile.last_state.power: RUNNING
volatile.last_state.ready: "false"
volatile.uuid: 49c1e18e-208a-4115-bf58-1fa7e47a3cd0
volatile.uuid.generation: 49c1e18e-208a-4115-bf58-1fa7e47a3cd0
volatile.vsock_id: "2399700194"
devices:
install:
boot.priority: "10"
source: /home/mika/work/windows-lxd/win11.lxd.iso
type: disk
root:
path: /
pool: default
size: 50GiB
type: disk
vtpm:
path: /dev/tpm0
type: tpm
ephemeral: false
profiles:
- default
stateful: false
description: ""