LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 04-07-2007, 11:40 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva 2008, Mandriva 2007.0 and .1
Posts: 594
Thanked: 1
Run application on *monitor* of remote machine via SSH?


[Log in to get rid of this advertisement]
I have machine set-up that is without keyboard and mouse, that is plugged in to my plasma TV via its VGA input.

I would like to SSH into the machine from my laptop and play a movie on the remote PC, but not the laptop. If I ssh in and use mplayer it plays the movie on my laptop of course!

Is there anyway to play the movie on this remote pc and show the film on the plasma rather than the laptop?

I do not want to run VNC on the machine driving the plasma, it's an old machine and the fewer apps running on it the better!

Many thanks.

Last edited by DiBosco; 04-07-2007 at 04:11 PM..
DiBosco is offline     Reply With Quote
Old 04-07-2007, 04:08 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Distribution: mandriva 2009.1, 2008.1, kubuntu 8, fedora 8
Posts: 2,819
Thanked: 38
for instance:
mplayer -v -display :0 myvideo.avi

will work if you have one video card. If you have more than one card, then something like this might be needed:

mplayer -v -adapter 0 -display :0 myvideo.avi

This command will start it fullscreen on the default display:

mplayer -fs -v -display :0 myvideo.avi

Last edited by jiml8; 04-07-2007 at 04:14 PM..
jiml8 is offline     Reply With Quote
Old 04-08-2007, 11:53 AM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva 2008, Mandriva 2007.0 and .1
Posts: 594
Thanked: 1

Original Poster
Hi Jim,

Thanks for that, but that still opens mplayer on my laptop. I want it to be displayed on the monitor on the machine which I have connected to over SSH. I probably didn't explain that very well.
DiBosco is offline     Reply With Quote
Old 04-09-2007, 02:27 AM   #4
cseanburns
Member
 
Registered: Nov 2003
Location: Columbia, MO
Distribution: Ubuntu, Debian
Posts: 104
Thanked: 0
Maybe you could give us more information:

1. What ssh command are you giving; is it as simple as 'ssh user@computer' or are you using options we should know about.
2. What command did you use to start the movie?
3. Where is the movie located: the laptop or the remote machine?
cseanburns is offline     Reply With Quote
Old 04-09-2007, 05:49 AM   #5
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mandriva 2008, Mandriva 2007.0 and .1
Posts: 594
Thanked: 1

Original Poster
Hmmm, that is very odd, I've just gone through it all step by step and done it here to confirm all the steps and now it works. I tried it over and over again with slightly different implementations and it resolutely refused to work. Now I did just as Jim said and it opens on the remote machine.

mplayer -v -display :0 filename.mpg

I definitely tried that yesterday and it wouldn't have it! This time it works on the remote screen.

Thanks very much for the help.
DiBosco is offline     Reply With Quote
Old 04-09-2007, 09:57 AM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Distribution: mandriva 2009.1, 2008.1, kubuntu 8, fedora 8
Posts: 2,819
Thanked: 38
I know I did it here before I told you it would work and it did exactly what was desired.
jiml8 is offline  
Tag This Post
Reply With Quote

Reply

Bookmarks


Thread Tools

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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 30 11-11-2009 11:50 PM
How to Display Running Application on Remote Machine with SHH anamericanjoe Linux - Software 3 09-14-2006 12:39 PM
Running X-application on a remote AND local machine LinuxFrosh Linux - Software 1 07-04-2006 11:24 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM
How do I setup xwindow to run a remote desktop on my local machine through ssh. green-ears Linux - Newbie 4 11-04-2003 06:47 PM


All times are GMT -5. The time now is 10:48 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration