Hi Len,<div><br></div><div>Thanks for this suggestion here.  I also love your forwarded xfce4-panel!! </div><div><br></div><div>I did try the jack dbus script below but still not able to start pulse audio.  However it did occur to me that the 'user-configured' server below was actually at the source. </div>
<div><div><br class="Apple-interchange-newline">[bkelly@zbox ~]$ jackscript.sh </div><div>N: [pulseaudio] main.c: User-configured server at <font color="#ff0000">{a31addf0a924b9d66ec2b6a04a91805d}</font>unix:/tmp/pulse-5w2mDtsd3uF2/native, refusing to start/autospawn.</div>
<div>[bkelly@zbox ~]$ </div></div><div><br></div><div>So I simply stopped pulseaudio at the source/local machine before ssh -X remotehost, and presto! --  I could start pulseaudio, play sound at the destination while still forwarding the DISPLAY.  Finallly!!!!</div>
<div><br></div><div>It would be nice to know if there is some option/switch/config/method to control this , without having to shut down pulseaudio on the local machine, but I'm happy that at least I can accomplish what i need to.</div>
<div><br></div><div>Cheers!</div><div><br></div><div>Boyd</div><div><br></div><div><br></div><div><div><br></div><div><br></div>
<div><br></div><div><div>------</div><div># dbus-launch started, DBUS_SESSION_BUS_ADDRESS exported:</div><div>export `dbus-launch | grep ADDRESS`</div><div><br></div><div># dbus-launch started, DBUS_SESSION_BUS_PID exported</div>

<div>export `dbus-launch | grep PID`</div><div>#jackd -d alsa > ~/Desktop/jack.log 2>&1</div><div>/usr/bin/pulseaudio --start</div></div><div>-----</div><div><br></div><div><div>But the result is still:</div><div>
<br></div><div><br></div><div>That user configured server is still the local or source from where I am using ssh -X.  If I remove the X forwarding then I can still start pulseaudio. But then I can't forward the display.....  arrrg!</div>

<div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Mar 22, 2013 at 4:00 PM, Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On Fri, March 22, 2013 3:07 pm, Boyd Kelly wrote:<br>
<br>
> I would like to ssh into a box as a regular user, start pulseaudio, and<br>
> have my display forwarded back to the source, while playing audio at the<br>
> destination.   The only way I have been able to do this is by running<br>
> fluxbox at the destination.  I would rather just forward the application<br>
> display.<br>
><br>
> This post has shed some light on this, and now I understand that there is<br>
> an X display that pulse audio 'likes' when I run fluxbox and connect with<br>
> vnc.<br>
<br>
</div>Not quite. When a session starts, dbus is started too. dbus allows<br>
applications to talk to each other. Normally this is tied to the display,<br>
but it doesn't have to be. It does have to export some of it's values to<br>
the environment of any app that wants to use it. There are a few ways to<br>
do this. The easiest is to look at the script called jackstart:<br>
<br>
<br>
-------------------------8<------------------<br>
#! /bin/bash<br>
# file: /home/user/data/script/jackstart<br>
#<br>
# This is ridiculous:<br>
export DISPLAY=:0<br>
<br>
# dbus-launch started, DBUS_SESSION_BUS_ADDRESS exported:<br>
export `dbus-launch | grep ADDRESS`<br>
<br>
# dbus-launch started, DBUS_SESSION_BUS_PID exported<br>
export `dbus-launch | grep PID`<br>
jackd -d alsa > ~/Desktop/jack.log 2>&1<br>
-----------------------8<-------------------<br>
<br>
You don't want to use exactly this, but the two dbus lines would help.<br>
Then run pulseaudio --start<br>
<br>
I use xfce here, but you may be able to translate.<br>
<br>
I do:<br>
ssh -Y headless<br>
xfce4-panel<br>
<br>
open a terminal from the panel menu and do:<br>
pulseaudio start<br>
<br>
I use a user that I never use local and put only the main menu in it,<br>
shrink the panel and put it in the corner of the screen. Then I use that<br>
menu to start anything I need. That way all apps have the same<br>
environment. the panel app above happens to start dbus on it's own, so I<br>
don't have to.<br>
<br>
I haven't done the exact thing you want to do, so try and see. I have had<br>
pulseaudio and jackd talking to each other via dbus though.<br>
<span><font color="#888888"><br>
--<br>
Len Ovens<br>
<a href="http://www.OvenWerks.net" target="_blank">www.OvenWerks.net</a><br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" target="_blank">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="arial, helvetica, sans-serif"><a href="mailto:bkelly@coastsystems.net" target="_blank">Boyd Kelly</a></font><div><font face="arial, helvetica, sans-serif"><a href="http://www.coastsystems.net" target="_blank">Coast Business Technologies</a><br>


</font><div><font face="arial, helvetica, sans-serif">C: <a href="tel:604.837.0765" value="+16048370765" target="_blank">604.837.0765</a></font></div><div><font face="arial, helvetica, sans-serif">W: <a href="http://www.coastsystems.net" target="_blank">http://www.coastsystems.net</a></font></div>


<div><br></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div>
</div></div>
</div>