LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2004, 08:59 PM   #1
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Rep: Reputation: 30
need app to play sound remotely


I have a fileserver that I hooked up to my stereo.

I can ssh in and play mp3's on the stereo using mpg321.

I would like an app with a simple GUI on my win XP laptop to control the music being played on the stereo.

Any suggestions?
 
Old 03-20-2004, 06:27 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
If you have eSound running and accepting TCP/IP connections on the remote box you can launch XMMS on your local computer and configure it to use eSound on the remote host as output. But that's only if you use Linux on the local computer.

One solution, although not quite as smooth as I imagine you would like, is if you install Cygwin and its XFree86 components you can launch XFree86 on top of Windows, ssh using the -X switch to the Linux box from an xshell (xterm, rxvt or whatever) and just launch XMMS. You will need to have X forwarding enabled in your sshd_conf on your Linux box.


Håkan
 
Old 03-20-2004, 02:52 PM   #3
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks for the help. You led me down the right path.

The goal was to get it setup so my wife could use it.

For posterity, I ended up running the eSound daemon on my remote linux box, and downloading a winAmp eSound plugin for my XP laptop. Appears to be working fine.

It was kinda hard to find the plugin, so here's the URL:

Winamp 3 eSound plugin
 
Old 03-22-2004, 04:33 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Neat, thanks a lot. I had no idea there was an eSound output plugin for Winamp.


Håkan
 
Old 10-24-2004, 02:02 AM   #5
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Original Poster
Rep: Reputation: 30
Need to revisit this old thread....

While this has been a fairly reliable solution, it does have its drawbacks.
What I have been doing is streaming an MP3 to my laptop, decoding, and then sending the audio stream back across my wireless network. (laptop has only a 802.11b card)
The music plays fine, but the laptop and network are both swamped and cannot be used for other tasks simultaneously.

It seems kinda pointless to bring all that data to the laptop, and then decoded back to the same machine. I want to tell the remote box what to play (winamp style) and let it do all the crunching.

I have been working on the solution proposed above. I have cygwin running and X11 forwarding enabled.
I can even pop up the xmms window on my XP laptop.

However I cannot play sound out of the remote machine.

I get the following error message when i try and play an mp3 on xmms:
"Failed to open audio device (/dev/dsp): Permission denied"


Any thoughts on what the problem may be.
 
Old 10-24-2004, 02:27 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
First as root, cat a file into the /dev/dsp. If you here a burst of noise, then try the same thing as a normal user. If you get a permission denied message, then su to root again and change the permissions on /dev/dsp. chmod 0766 /dev/dsp.

After I installed SuSE, I didn't have sound. But when I ran alsaconf, the sound was OK. I changed the permissions on the device special file and it worked.

I just looked at a directory listing (long) of /dev/dsp. Mine has group owndership of 'nogroup'. Perhaps if you made yourself a member of this group, that would work also.
 
Old 10-25-2004, 10:02 PM   #7
fatman
Member
 
Registered: Mar 2003
Location: PA
Distribution: Ubuntu (x2)
Posts: 158

Original Poster
Rep: Reputation: 30
Works.

Thank You.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't hear any sound when I play a cd or mp3...but tested with system tools->Sound Niceman2005 Linux - General 6 10-31-2005 09:51 AM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 03:41 PM
Getting sound when you login remotely with XDMCP yelo Linux - Networking 1 06-21-2004 10:25 AM
GNOME app to play MIDI files?? woodywellhung Linux - Software 11 05-02-2004 11:59 AM
redhat 9 app to play dvds? fractal_chaos Linux - Software 4 08-13-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration