[EMAIL PROTECTED] wrote on 12/06/2003 10:23:36: > On Thu, 2003-06-12 at 10:10, Kane Martin wrote: > > > I'm trying to launch mpg123 on a remote pc via a ssh terminal (my work pc > > has no speakers). I get the following message: > > "can't open /dev/dsp" > > is this because it's trying to play the audio through the remote terminal? > > how do I fire up mpg123 on a machine tat I am accessing via ssh? > > > I just tried the same thing: logged in to my other machine via ssh and > fired up mpg123 to play through its speakers. It worked as expected, no > trouble, no extra steps required. So I suspect your problem is simply > that sound is not properly configured on that other machine > > Hmm, accessing the machine directly (its just a laptop *underneath* another laptop on my desk!) and typing the same command, it starts playing mp3s. Some more info might help: the command is an alias "music" which in the .bash_profile translates to: alias music='mpg123 -z -b 2048 -@ .allsongs' however when run on ssh it starts up with the mpg123 preamble:
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Can't open /dev/dsp! also, the laptop in question uses mount -t smbfs to access *this* desktop machine. I know, it's convoluted, but i have no speakers or soundcard on my desktop machine, but it does have a large hard-drive partition! Any ideas? Cheers > -------------------------------------------------------------------- > "Grrr...Arrgh!" > -- Mutant > > -- 10:20:02 up 5 days, 19:05, 3 users, load average: 0.02, 0.08, 0.04-- > > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
