No sound in snap apps in virtual desktop session on Debian

Forum / NoMachine for Linux / No sound in snap apps in virtual desktop session on Debian

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46489
    dionis
    Participant

    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.

    #46510
    sil04
    Participant

    > 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/TR05U10872

    #46513
    dionis
    Participant

    No. Firefox-esr installed using apt.

    Thanks for the info.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic was marked as solved, you can't post.