Fedora Linux Support Community & Resources Center
  #1  
Old 29th July 2010, 02:07 PM
mailsatish Offline
Registered User
 
Join Date: Jul 2010
Posts: 10
windows_vistafirefox
play video while bootup

Hi friends,

I want to play a video thru VLC player as soon as when system boots up. is it possible using crontab or any other way to go about it??? Also I want to play a file by telneting to a remote server (eg: the file is present is /media/disk/movie.mpg). is it possible to write a script and execute them using crontab.
Reply With Quote
  #2  
Old 29th July 2010, 03:14 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,865
linuxfedorafirefox
Re: play video while bootup

I don't think so.

The only place the display would be available is during progress splash screen.
But the network isn't available at that time... Plus, the display isn't the X server,
which means VLC can't do anything.

After the boot screen terminate, gdm/xdm/kdm is running which slaves the X
display for logins, which makes it unavailable for other uses.
Reply With Quote
  #3  
Old 29th July 2010, 03:23 PM
mailsatish Offline
Registered User
 
Join Date: Jul 2010
Posts: 10
windows_vistafirefox
Re: play video while bootup

isn't there any way to go abt it. to play movie during startup.... i just wanted to telnet to a remote server and play a media file in that server when system boots up....
Reply With Quote
  #4  
Old 29th July 2010, 03:26 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,865
linuxfedorafirefox
Re: play video while bootup

Not on one system.

You can do that on your workstation while a remote server is booting...

But you can't boot and expect the network to be working before the boot is finished
or nearly finished...
Reply With Quote
  #5  
Old 29th July 2010, 03:58 PM
mailsatish Offline
Registered User
 
Join Date: Jul 2010
Posts: 10
windows_vistafirefox
Re: play video while bootup

ya thats fine.. i want the file to be played after the remote machine gets booted.... shall i write all those commands in a script and execute them using crontab from my sys... can u give an ex on how to invoke commands on remote machine by telneting.. the same procedure as we do in local sys...
Reply With Quote
  #6  
Old 29th July 2010, 04:03 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,865
linuxfedorafirefox
Re: play video while bootup

Ah - that is a bit different that what you described.

The best way to do that is to have a local daemon running to receive a message
after the remote has booted. Then you can have a local application connect
to the local daemon so the daemon can inform the application which system
has booted (and perhaps some status..) then the application can either do
its' own video, or use VLC to play the video appropriate to the message.

You might even be able to use the dbus network connections to simplify this as
that might handle the necessary authentication and identification for you. The
daemon side would then already exist.

The problem with having the remote server login and display something is that
the remote authentication to the local system does not include X display
authentication. Which user on the local system has the display, what if it
isn't logged in...or otherwise occupied.

Now if all you want is to monitor and know when the remote system is available
look at nagios (http://www.nagios.org/) - it has several ways to tell when a remote
system is up/down, all accessible via a browser.

Last edited by jpollard; 29th July 2010 at 04:07 PM.
Reply With Quote
Reply

Tags
bootup, play, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 04:50 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Mostoles Instagram Photos - Reinbek Photos - Poso Travel Photos on Instagram