LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is it possible to export display to multiple hosts ? (https://www.linuxquestions.org/questions/linux-software-2/is-it-possible-to-export-display-to-multiple-hosts-557377/)

Linux.tar.gz 05-29-2007 03:26 AM

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.

Junior Hacker 05-29-2007 08:58 PM

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?

Linux.tar.gz 05-30-2007 08:51 AM

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.

IsaacKuo 05-30-2007 09:21 AM

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).

Linux.tar.gz 05-30-2007 09:38 AM

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.

Linux.tar.gz 06-01-2007 07:42 AM

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.

maroonbaboon 06-04-2007 04:45 AM

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.

Linux.tar.gz 06-04-2007 05:13 AM

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.

maroonbaboon 06-04-2007 06:12 AM

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

If you have the bandwidth you could try xmx.

Linux.tar.gz 06-06-2007 07:30 AM

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


All times are GMT -5. The time now is 04:14 PM.