NoMachine virtual desktop session has no sound in Snapcraft applications, e.g. Chromium.
Server OS: Latest fresh install of Debian 12
Server DE: Mate
NoMachine version: 8.10.1 from https://downloads.nomachine.com/download/?id=5
NoMachine configs are by default except for the following:
AudioInterface pulseaudio
CommandStartPulseAudio "/usr/bin/pulseaudio --high-priority=no"
Pulseaudio log when I started playback in Chromium:
systemd[1348]: Starting pulseaudio.service - Sound Service...
pulseaudio[8555]: bind(): Address already in use
pulseaudio[8555]: Failed to load module "module-native-protocol-unix" (argument: "socket=/home/user/.nx/nxdevice/D-1001-31F4B7370B85ADB583DDFCCC20828C82/audio/native.socket auth-cookie-enabled=1"): initialization failed.
pulseaudio[8555]: bind(): Address already in use
pulseaudio[8555]: Failed to load module "module-cli-protocol-unix" (argument: "socket=/home/user/.nx/nxdevice/D-1001-31F4B7370B85ADB583DDFCCC20828C82/audio/cli.socket"): initialization failed.
pulseaudio[8555]: No slave sinks specified.
pulseaudio[8555]: No remapping configured, proceeding nonetheless!
pulseaudio[8555]: Failed to open module module-esound-sink.so: module-esound-sink.so: cannot open shared object file: No such file or directory
pulseaudio[8555]: Failed to open module "module-esound-sink".
pulseaudio[8555]: No such sink.
pulseaudio[8555]: Failed to load module "module-loopback" (argument: "source=nx_audio_in.monitor sink=nxesd"): initialization failed.
systemd[1348]: Started pulseaudio.service - Sound Service.
Other apps e.x. firefox-esr have sound.
Also, the problem is reproduced on Ubuntu 20.04.