[pulseaudio-discuss] pax11publish -e -S
Tanu Kaskinen
tanuk at iki.fi
Sat Oct 23 23:08:15 PDT 2010
On Sat, 2010-10-23 at 21:49 -0500, Matt Zagrabelny wrote:
> Greetings,
>
> I am having an issue regarding pax11publish. I followed a tcp howto
> for PA from the following site:
> http://wiki.archlinux.org/index.php/PulseAudio
>
> and am looking to have my localhost be the default PA server in my
> audio environment with the option to route audio through the speakers
> attached a computer called, zombie, on my network.
>
> If I set a server up in /etc/pulse/client.conf like so:
>
> default-server = zombie (zombie is the name of my system)
>
> and use pax11publish to toggle between the two systems, localhost and zombie:
>
> pax11publish -e -r (set audio to zombie)
> pax11publish -e -S localhost (set audio to localhost)
>
> Things work as expected.
>
> However, if I comment out the default-server line in the config file:
>
> ; default-server =
>
> and use the following pax11publish command:
>
> pax11publish -e -S zombie (set audio to zombie - DOESN'T WORK)
>
> it doesn't work to route audio to zombie.
>
> I have all the cookie magic and networking stuff working correctly (or
> so it seems from my first working example, above, I gave.)
>
> Is pax11publish not supposed to work this way?
AFAIK pax11publish is supposed to work that way. The only user error I
can see is "pax11publish -e -r", which doesn't make too much sense - the
"-e" and "-r" switches are conceptually mutually exclusive, but the
option parser implementation just overwrites the EXPORT mode with the
REMOVE mode when "-r" is encountered after "-e", which happens to do
what you want.
Does "xprop -root | grep PULSE_SERVER" print PULSE_SERVER(STRING) =
"foo" after you have run "pax11publish -e -S zombie"? If not, then the
problem is in your version of pax11publish (it works for me). If yes,
then the problem is probably in the libpulse code that decides where to
connect. If that's the case, what happens if you run "paplay
some-wav-file"? Does that connect to the local server, or does it fail
completely? Does it print error messages?
--
Tanu Kaskinen
More information about the pulseaudio-discuss
mailing list