I've setted up Rasp to start in Destktop mode and launch a video in loop mode. The script, called by:
is the seguent:
#!/bin/sh SERVICE='omxplayer' while true; do if ps ax | grep -v grep | grep $SERVICE > /dev/null then : else omxplayer -o hdmi /home/pi/movie.mov & fi done
The problem is that, on each video loop, run also an instance of dbus-daemon
dbus-daemon --fork --print-address 5 --print-pid 6 --session
In this way Rasp could crash.
What can I do to resolve this problem? Why is there this behaviour?