LinuxQuestions.org
Review your favorite Linux distribution.
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 12-14-2005, 03:37 PM   #1
quarry_06
Member
 
Registered: Oct 2004
Posts: 77

Rep: Reputation: 15
play sound on remote computer through ssh?


hi
following setup:
Im sitting on my bed with my laptop.
my desktop as a few feet away, and I want to listen to music on my desktop. but I don't want to get up and login to gnome or whatever to play some of my mp3. but output of sound should be delivered to desktop speakers, not laptop.

I can ssh to my desktop. then i'd like to execute a command like "kaboodle mysong.mp3" and then start hearing it from my desktop speakers.

(other command than kaboodle is fine, is there a console command to play sound?)

thx alot

quarry
 
Old 12-15-2005, 10:09 AM   #2
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
Quote:
Originally Posted by quarry_06
hi
following setup:
Im sitting on my bed with my laptop.
my desktop as a few feet away, and I want to listen to music on my desktop. but I don't want to get up and login to gnome or whatever to play some of my mp3. but output of sound should be delivered to desktop speakers, not laptop.

I can ssh to my desktop. then i'd like to execute a command like "kaboodle mysong.mp3" and then start hearing it from my desktop speakers.

(other command than kaboodle is fine, is there a console command to play sound?)

thx alot

quarry
if you has mplayer you can use that. Or you may want to think about using something like MPD, where you can create playists and stuff and play them from a web browser. Its just what you need.
 
Old 10-11-2007, 11:29 PM   #3
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
I know this thread is way old, but I just thought I would throw herrie in as an ideal suggestion.

http://herrie.info/

It's a ncurses interface that supports XMMS style keyboard shortcuts, playlists, and it's really efficient. You could ssh into the box and play your music with ease.

1.8.3 doesn't support changing the volume (though the next version to be released will), but you can use screen to open another window to change the volume through the command line.
 
Old 10-11-2007, 11:33 PM   #4
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 287

Rep: Reputation: 31
Yes, this thread is really old.

I use mpg321 for this exact scenario.
 
Old 10-13-2007, 08:07 PM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
check out herrie. I think you would like it better. Also, it supports libao so you can change the sound driver to esd on the fly by using a different conf file and listen to music from your home computer at work. I use the esound mini server port if I am on a Windows box. It works great for me thus far.
 
Old 11-23-2007, 11:35 PM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
For those reading this that are interested in checking out herrie, I submitted a buildscript at http://slackbuilds.org/repository/12...imedia/herrie/
 
Old 01-18-2008, 03:33 AM   #7
thomax
LQ Newbie
 
Registered: Jul 2005
Location: Mechelen, Belgium
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by quarry_06 View Post
hi
following setup:
Im sitting on my bed with my laptop.
my desktop as a few feet away, and I want to listen to music on my desktop. but I don't want to get up and login to gnome or whatever to play some of my mp3. but output of sound should be delivered to desktop speakers, not laptop.

I can ssh to my desktop. then i'd like to execute a command like "kaboodle mysong.mp3" and then start hearing it from my desktop speakers.

(other command than kaboodle is fine, is there a console command to play sound?)

thx alot

quarry
open a terminal:

ssh -X <ip of host> -l username

now you are logged in on your desktop through ssh with X tunneling turned on.

now just enter kaboodle, if everything went ok a kaboodle window should pop up, you can now open a file, you will see the file structure of your desktop ;-), you can now play any song from your desktop, through your desktop speaker but with the kaboodle screen on your latop ;-)

Greetz

Thomax
 
Old 01-19-2010, 07:10 AM   #8
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
play sound on laptop to desktop

Now I have a labtop running Centos
a desktop running Windows XP
i want to play file on laptop, but desktop speakers should sound.

Any takers????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Playing sound on a remote computer over ssh Waldo Linux - Hardware 0 01-20-2005 07:28 AM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM
want to play sound from a remote server??? ankur_linuxfan Linux - Software 2 11-22-2004 06:08 PM
Opening remote files (during ssh session) with applications on local computer? The_Fed Linux - Newbie 3 05-10-2004 04:20 PM
Not able launch KDE_Fedora core on remote computer using ssh-X The_Fed Linux - Newbie 2 03-31-2004 10:58 AM


All times are GMT -5. The time now is 09:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration