I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
sean
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
Hi Sean,
You can network your sound with pulseaudio.
Mike Wright
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
I put these notes together 4 years ago: http://hostisimo.com/pulse/index.html. Even though the end point was a Xen VM it should still work for your use case because Xen is fully virtualized which for all intents and purposes is a bare-metal "remote".
On Thu, 2020-02-13 at 19:32 -0800, Mike Wright wrote:
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
I put these notes together 4 years ago: http://hostisimo.com/pulse/index.html.
That URL gives me a 404.
poc
On 2/13/20 10:32 PM, Mike Wright wrote:
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
I put these notes together 4 years ago: http://hostisimo.com/pulse/index.html.%C2%A0 Even though the end point was a Xen VM it should still work for your use case because Xen is fully virtualized which for all intents and purposes is a bare-metal "remote". _______________________________________________
To be more precise, the music source is a stream from www.wnyc.org. If I ssh in and start firefox, the music tries to play on my machine, not the remote.
To access the stream I need a browser, correct? So maybe a better question is how to tell the remote firefox to direct audio to its own machine even though the window is on my machine.
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
I put these notes together 4 years ago: http://hostisimo.com/pulse/index.html. Even though the end point was a Xen VM it should still work for your use case because Xen is fully virtualized which for all intents and purposes is a bare-metal "remote".
Missed a path component :/
https://hostisimo.com/moreLinuxAdventures/pulse
note: the https certificate is expired. Recent upgrade killed the updater. Because I rewrite http to https I also used the wrong protocol. Just had minor surgery and I guess the fog hasn't lifted yet ;) (ps. How could anybody enjoy fentanyl?)
On 2/13/20 6:54 PM, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
I was going to suggest using the system-wide pulseaudio server, but that service appears to have been removed. (You could still run it yourself if you wanted.) However, the better alternative might be to remove the pulseaudio-module-x11 package from the remote computer. Hopefully that will cause the client to fall back to starting a new local pulseaudio server instead of trying to find it over the X connection.
On 2020-02-14 20:21, sean darcy wrote:
To access the stream I need a browser, correct?
No, you could install "gradio" and then search for wnyc.
It may be necessary to install additional codec. Potentially some from rpmfusion.
On 2020-02-14 10:54, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
Well, I suppose I'll be showing my age. But these days I've taken the path of least resistance for some things.
I have my music library on a NAS, I have Amazon Prime which includes a wide selection of music, and I also have a few radio stations that I listen to. All are accessed via apps on my Android devices.
I find it more straight forward to simply connect the devices to a pair of bluetooth speakers and say "OK Google, play wnyc". :-) :-)
On 2/15/20 8:01 AM, Ed Greshko wrote:
On 2020-02-14 10:54, sean darcy wrote:
I've got an old laptop on fc31. I'd like to ssh in and stream music that plays on the remote. I can ssh in to the remote and bring up firefox, but it tries to play music on the ssh client, not the remote.
Any suggestions appreciated.
Well, I suppose I'll be showing my age. But these days I've taken the path of least resistance for some things.
I have my music library on a NAS, I have Amazon Prime which includes a wide selection of music, and I also have a few radio stations that I listen to. All are accessed via apps on my Android devices.
I find it more straight forward to simply connect the devices to a pair of bluetooth speakers and say "OK Google, play wnyc". :-) :-)
You're absolutely correct. After spending wasted hours trying to get pulseaudio to work (pa is really poor at even common use cases), I got an old cell phone, and used that to stream to the speakers.
sean