LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-29-2007, 03:26 AM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Is it possible to export display to multiple hosts ?


Using the export DISPLAY command, i wonder if we can send a video to multiple computers.
I intend to send videos, but the streaming solutions i saw don't seems to fit my needs.
I need to stream to computers, without asking users to accept or not this video, and without any intervention from them. I mean i did a test with vlc, but when i launched the server, all users had to push "play".

Other thread here :
http://www.linuxquestions.org/questi...d.php?t=558972
I didn't intend to double post, but the title of this one wasn't well choosen.

Last edited by Linux.tar.gz; 06-04-2007 at 05:14 AM.
 
Old 05-29-2007, 08:58 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I'm sure something like that exist, I mean, where did the term "subliminal messages" come from?. You don't by any chance see any moral issues here?
 
Old 05-30-2007, 08:51 AM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Well, ~10 mn lengh subliminal messages are called "video" !

It seems the best solution fo me is indeed export, but i don't see how to export to multiple display...

To be more precise, this is exactly what i need to do :
A teacher got a master computer, and wants to show video (or audio) (and with pause, backward and forward) to all student PC at the same time, without requiring them any mouse click.

Last edited by Linux.tar.gz; 05-30-2007 at 09:04 AM.
 
Old 05-30-2007, 09:21 AM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
I don't think export DISPLAY has anything to do with a solution to your problem.

I'm guessing that you want to display some sort of video to a bunch of computers simultaneously, like for a group training session. Is that right?

I should think vlc will be able to do what you want, but you'll likely have to write some sort of bash script to start vlc on each computer (with the appropriate options to play the streamed video).
 
Old 05-30-2007, 09:38 AM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by IsaacKuo
I'm guessing that you want to display some sort of video to a bunch of computers simultaneously, like for a group training session. Is that right?
Indeed. For english lessons.

Quote:
Originally Posted by IsaacKuo
I should think vlc will be able to do what you want, but you'll likely have to write some sort of bash script to start vlc on each computer (with the appropriate options to play the streamed video).
Yes i already did that, but the problem was the clients aren't in "wait" or "listen" mode. So it required a mouse click to see the video, and if the click was late, then the beginning was skipped.
You gave me an idea about writing a script that can be launched with a distributed shell, but it's rather complex for an english teacher .
I think there's an easy way to do that. Let's continue searching.
 
Old 06-01-2007, 07:42 AM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
After re-trying vlc, i'm not happy with it. Is it possible to redirect an output port to multiple IP addresses ?
I mean, using export DISPLAY and send this export to all hosts, using iptables.
 
Old 06-04-2007, 04:45 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I just replied to the other thread, but I see this thread has got a lot further (generally NOT a good idea to start multiple threads on a single topic).

VLC will certainly stream to multiple clients. See

http://www.videolan.org/doc/streamin....html#id294657

You could probably start up the clients by remotely logging in to the other other machines. Something like

ssh user@hostname command

will log you in and run 'command' on the remote machine.

If you just change the DISPLAY variable then I think the network has to carry the decoded, uncompressed video to the remote machine. I'm not sure you would have the bandwidth to run anything other than a small lo-res video on multiple machines.
 
Old 06-04-2007, 05:13 AM   #8
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
It will be in a lan, and maybe 1 Gb ethernet connection.
I already used vlc (although only in vmware clients) but the "listen mode" is still not reached.
Thanks for the link anyway.
 
Old 06-04-2007, 06:12 AM   #9
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Maybe you can put VLC in 'listen mode' with the right command line arguments?

If you have the bandwidth you could try xmx.
 
Old 06-06-2007, 07:30 AM   #10
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
That's a pretty good tool ! Unfortunately, it doesn't forward sound.
I'm busy these days but i'll be back soon.
Thanks.
 
  


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
Export DISPLAY idk666 Linux - General 3 07-02-2009 11:58 AM
export DISPLAY binary_0011 Linux - Newbie 2 10-15-2006 10:09 AM
how to export the display bruse Linux - Networking 18 05-03-2005 09:13 PM
can't export my display to another systems jaybrus LinuxQuestions.org Member Intro 2 05-15-2004 04:29 AM
can't export my display to another systems jaybrus Linux - General 1 05-14-2004 03:25 PM

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

All times are GMT -5. The time now is 07:39 AM.

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