Page 1 of 1
How do I run vlc on linux startup?
Posted: 31 Aug 2006 16:50
by rkleemann
Hi,
I'm trying to setup an initscript to startup vlc for streaming. But when I run the script, vlc fails with a "cannot open DISPLAY". I assume this is because it doesn't have a controlling tty.
Anyone have an initscript that works?
Thanks
Ricardo
Posted: 01 Sep 2006 00:00
by dionoea
(basically disable interface, video output and audio output)
Posted: 01 Sep 2006 09:20
by Umberto
If you start vlc like that, what can you with it after it starts? you don't have control of it and you don't have output.
I did make a way to start vlc from boot, with an unix control socket to connect to, but my problem (see the memory leaking post) is that vlc does work as it should be, accept it's eating all the resources
Posted: 01 Sep 2006 10:25
by dionoea
You can start it with the http interface or telnet interface or rc interface (with the option to listen on a socket and not stdin) to control the process. You can also launch VLC with the -d switch to make it a daemon.
Posted: 04 Sep 2006 23:53
by somjuk
i'am using
screen to do it.
Code: Select all
screen -d -m /usr/bin/vlc .... option
Posted: 05 Sep 2006 07:16
by Umberto
You can start it with the http interface or telnet interface or rc interface (with the option to listen on a socket and not stdin) to control the process. You can also launch VLC with the -d switch to make it a daemon.
That doesn't work, in daemon mode, it won't make the control sockets anymore.
i'am using
screen to do it.
Code: Select all
screen -d -m /usr/bin/vlc .... option
That doesn't work either, it's the same as the daemon, it won't make the control sockets