Is it possible to export display to multiple hosts ?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
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.
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).
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.
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.