I have a RPI 3 with Raspbian Jessie, set up to boot in cli mode, autologin with user pi. I have installed matchbox window manager because it's lighter than lxde and I use only chromium and omxplayer. I added to .bashrc:
if [ -z "${SSH_TTY}" ]; then
xinit ~/startup.sh
fi
startup.sh:
xset -dpms
xset s off
xset s noblank
unclutter -idle 0 &
matchbox-window-manager -use_cursor no -use_titlebar no &
/var/test/player.py
player.py:
...
os.system("omxplayer /var/test/video.mp4")
...
All scripts running fine, omxplayer starts, but i don't have video to my screen, the player runs somwhere in the background.
Any ideas on what I'm doing wrong?
Later Edit: If I remove "xinit" from "xinit ~/startup.sh" it works. But I don't what that, I use xinit to open also a chromium instance. Somewhere within x server and omxplayer is something strange...