NX4 no audio windows client linux server

Forum / NoMachine for Linux / NX4 no audio windows client linux server

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6794
    dan_van
    Participant

    Hello, I’ve not been able to get any audio on my Linux Fedora 21 to be exposed to a windows NX4 client. I’ve verified that audio can be played from local headphones on both the linux server, and the windows client.

    After failing to find any errors in log files, and checking config, I finally installed pulse-audio on my windows machine to.
    Setting PULSE_SERVER=<windows ip> in a console, and running “play <myAudioFile>” successfully streams the audio to the windows machine.

    When the “mute audio on the server” is ticked, the volume mixer on the linux desktop has the “NoMachine” device volume reduced to zero.

    I am now at a loss as to how to further diagnose why NoMachine is not forwarding audio, what should I do next?

    Many thanks
    Dan

    Server (I’m running KDE):

    
    uname -a
    Linux <MY_LINUX_HOST> 3.17.7-300.fc21.x86_64 #1 SMP Wed Dec 17 03:08:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    
    /usr/NX/bin/nxserver --version
    NoMachine - Version 4.4.6
    
    sudo /usr/NX/bin/nxserver --resourcelist |grep audio                                                                                                                              
    service    audio                      yes   
    

    Client (win 7):

    
    NoMachine 4.4.6
    
    #6824
    Peter76
    Participant

    Hi,

    Please install pavucontrol on your Linux Fedora:

    sudo yum install pavucontrol

    then launch it. You will be able to change additional audio settings after connection (also NoMachine). Let us know if the problem persists.

    #7284
    dan_van
    Participant

    Hello, thank you for responding.

    Ok, I think I’ve found something that looks like an error:

    in /var/log/messages

    
    May 22 09:43:53 loowdanvan3 rtkit-daemon[752]: Successfully made thread 2200 of process 2200 (/usr/bin/pulseaudio) owned by '982' high priority at nice level -11.
    May 22 09:43:53 loowdanvan3 dbus[762]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.112" (uid=982 pid=2200 comm="/usr/bin/pulseaudio --start --log-target=syslog ") interface="org.freedesktop.DBus.ObjectManager" me
    mber="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1686 comm="/usr/libexec/bluetooth/bluetoothd ")
    May 22 09:43:53 loowdanvan3 pulseaudio[2200]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    May 22 09:43:53 loowdanvan3 pulseaudio[2200]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    May 22 09:43:53 loowdanvan3 pulseaudio[2200]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.112" (uid=982 pid=2200 comm="/usr/
    bin/pulseaudio --start --log-target=syslog ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1686 comm="/usr/libexec/bluetooth/bluetoothd ")
    May 22 09:43:54 loowdanvan3 pulseaudio[2104]: [pulseaudio] socket-server.c: bind(): Address already in use
    May 22 09:43:54 loowdanvan3 pulseaudio[2104]: [pulseaudio] module.c: Failed to load module "module-cli-protocol-unix" (argument: "socket=/usr/NX/var/log/nxnode/C-loowdanvan3.intra.gsacapital.com-1001-3B44DB968ADEA12FFE7A488260948A25/audio/cli.socke
    t"): initialization failed.
    May 22 09:44:32 loowdanvan3 gnome-session[4352]: WARNING: Could not parse desktop file xsettings-kde.desktop or it references a not found TryExec binary
    May 22 09:44:32 loowdanvan3 rtkit-daemon[752]: Successfully made thread 4419 of process 4419 (/usr/bin/pulseaudio) owned by '10025' high priority at nice level -11.
    May 22 09:44:32 loowdanvan3 dbus[762]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
    May 22 09:44:32 loowdanvan3 NetworkManager[812]: Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Could not connect: Connection refused'.
    May 22 09:44:32 loowdanvan3 NetworkManager[812]: Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Could not connect: Connection refused'.
    May 22 09:44:32 loowdanvan3 NetworkManager[812]: Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Could not connect: Connection refused'.
    May 22 09:44:32 loowdanvan3 dbus[762]: [system] Successfully activated service 'org.freedesktop.hostname1'
    May 22 09:44:33 loowdanvan3 rtkit-daemon[752]: Successfully made thread 4442 of process 4419 (/usr/bin/pulseaudio) owned by '10025' RT at priority 5.
    May 22 09:44:33 loowdanvan3 rtkit-daemon[752]: Successfully made thread 4443 of process 4419 (/usr/bin/pulseaudio) owned by '10025' RT at priority 5.
    May 22 09:44:33 loowdanvan3 rtkit-daemon[752]: Successfully made thread 4444 of process 4419 (/usr/bin/pulseaudio) owned by '10025' RT at priority 5.
    May 22 09:44:33 loowdanvan3 rtkit-daemon[752]: Successfully made thread 4446 of process 4446 (/usr/bin/pulseaudio) owned by '10025' high priority at nice level -11.
    May 22 09:44:33 loowdanvan3 pulseaudio[4446]: [pulseaudio] pid.c: Daemon already running.
    

    Does this look like a failure?
    Thanks

    #7289
    Peter76
    Participant

    Hello,

    Problem is fixed in the version NoMachine 4.5.0. Please install this newest version.

    #7295
    dan_van
    Participant

    Confirmed fixed with 4.5.0
    Many thanks

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

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