daemon mode

*nix specific usage questions
sygi
New Cone
New Cone
Posts: 2
Joined: 27 May 2024 23:08

daemon mode

Postby sygi » 27 May 2024 23:13

I would like to start VLC in background: I want to start it at boot time and use the http interface to wake it up, while still having access to the regular gui interface.

I believe:

Code: Select all

vlc -d --http-password=pass --control=http --qt-start-minimized
would do what I wanted, however it doesn't work on my (fairly standard) raspberry pi (debian 12/bookworm): it still opens the "playlist" view at the start. I checked the same command works on Ubuntu 22.04. Any ideas what might be missing in my system that would prevent VLC from starting minimized?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: daemon mode

Postby Rémi Denis-Courmont » 28 May 2024 07:29

Daemon mode is only about starting VLC and not waiting for it to exit. You can do the same with nohup or start-stop-daemon.

If you want a headless VLC, then you rather need to use the -I switch to select a different interface.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sygi
New Cone
New Cone
Posts: 2
Joined: 27 May 2024 23:08

Re: daemon mode

Postby sygi » 28 May 2024 23:01

Yeah, I know. I don't want to change the main interface: I like the qt gui, but want it to start in the background, what -d + qt-start-minimized does on my other machine.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests