Forum / NoMachine for Linux / No sound in snap apps in virtual desktop session on Debian
Tagged: Snap Sound
- This topic has 2 replies, 2 voices, and was last updated 2 years ago by
dionis.
-
AuthorPosts
-
December 27, 2023 at 16:57 #46489
dionisParticipantNoMachine 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.December 29, 2023 at 13:15 #46510
sil04Participant> Other apps e.x. firefox-esr have sound.
Are these apps Snap apps as well?
It looks like audio is not available because snap is sandboxing the app, which is also not setting Pulse ServerĀ environment variable. Our developers will look for a solution, the related Trouble Report is:
https://kb.nomachine.com/TR05U10872December 29, 2023 at 13:30 #46513
dionisParticipantNo. Firefox-esr installed using apt.
Thanks for the info.
-
AuthorPosts
This topic was marked as solved, you can't post.
