I am running VLC in server mode on a Debian 12 machine. Normally, VLC starts automatically at each boot thanks to my /home/user/.config/autostart/vlc.desktop
file:
[Desktop Entry]
Type=Application
Name=VLC Media Player
Comment=Read, capture, broadcast your multimedia streams
Icon=vlc
Terminal=false
Exec=/usr/bin/vlc --extraintf http --intf dummy --repeat --http-port 9999
Occasionally, VLC crashes, requiring me to restart it using the command /usr/bin/vlc --extraintf http --intf dummy --repeat --http-port 9999 &
after terminating the process with pkill vlc
I want to be able to do this process remotely with SSH. I attempted to do so with my Windows11 PC, but it doesn't work because the command /usr/bin/vlc --extraintf ...
needs to be executed directly on the machine itself.
How can I achieve this?