Sorry, i have Raspberry pi os (64-bit) bookworm with pi desktop.
I tried both from command line and desktop booting. With autologin.
The name file is video.service:
In WantedBy I also tried graphical.target, and the same.
I added an image with the result of service status.
I tried both from command line and desktop booting. With autologin.
The name file is video.service:
Code:
[Unit]Description=Reproducir video al inicio[Service]ExecStart=/usr/bin/cvlc --fullscreen --play-and-exit /home/fracs/vid.movUser=fracsEnvironment="DISPLAY=:0"Restart=always[Install]WantedBy=multi-user.target
I added an image with the result of service status.
Statistics: Posted by fracs — Sun Jul 14, 2024 1:55 pm