It is been a few days since I converted my lxc+nvidia+desktop support to lxd.
I have ubuntu 20.04 desktop/server with gdm running on tty1 and tty2. Archlinux desktop container running simultaneously on tty8 and tty7. gdm is on tty8 and the gnome desktop is in tty7(it is actually variable it can be on any of the tty3-tty7. The two gdm managers seem to respect each other territory). Everything seems to work, except for pulseaudio. Using the pulseaudio proxy that was suggested on multiple posts does not work. I think because of dependence on dbus/gnome. It does not work because the container has its own desktop and does not share the host desktop.
Mounting the host /dev/dsp is working but not consistently. I have to kill and restart pulseaudio in the container and host multiple time, until it does work. I am not an expert on gnome/dbus/pulseaudio interaction. I think it is because of access to the sound devices.
Any ideas how to have a more consistent pulseaudio support.