[FreeNX-kNX] FreeNX & Pulse Audio?

chris at ccburton.com chris at ccburton.com
Fri Jan 25 19:25:47 UTC 2013


freenx-knx-bounces at kde.org wrote on 24/01/2013 17:58:17:

> I believe the newest versions of the commercial NoMachine system use
> PulseAudio to forward sound from Linux servers over to pretty much 
> any client.

Nomachine don't seem to be developing nxclient further
- hence the font issue and the screen resize in windows etc etc


>  I was wondering if there are any efforts underway to do
> the same for FreeNX,

no, but no one asked.

> and how much effort it would be to replace the 
> ESD sound infrastructure with Pulse?

Well virtualy no effort
but
we need to know what the Pulseaudio aware client sets
as its session parameters

        eg  --media="1" --mediahelper="pulse"
and
Fritz will need to add it to his client.


You can try it now.

Enable multimedia support in nxclient and
connect to your FreeNX machine . . . 

That gives you an (typicaly 800x) port on the FreeNX server and
an ENVAR to tell you what it is.

This port is aimed at 6000 on the nxclient machine
so
you need to squirt audio in from the FreeNX server
and
redirect it from the nxclient
to
your workstation PulseAudio Unix-socket with eg. socat




On your nxclient machine run

socat TCP-LISTEN:6000,fork UNIX-CONNECT:`ls ~/.pulse/*/native`



In your FreeNX session launch a terminal session
and enter :


export PULSE_SERVER=$ESPEAKER
paplay /usr/share/sounds/linphone/rings/bigben.wav




> 
> -Nick
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20130125/dff34da5/attachment.html>


More information about the FreeNX-kNX mailing list