I have setup my Raspberry Pi 3 with Midori, X11-Server, Unclutter and Matchbox.
Created a small bash script that will run midori in full screen mode that is fairly like this one:
#!/bin/sh
unclutter &
matchbox-window-manager &
xinit midori -e Fullscreen -a http://localhost
Whenever this script is ran manually, i.e.
./midori-full-screen
The web page being loaded, works perfectly, but when this script is added to be executed under
/etc/rc.local
After it boots, it loads the page but no image appears.
Because Midori is loading in fullscreen mode I can't see any errors, but by sshing into to I'm able to confirm that Ngnix is running.
Any ideas why this happens? Maybe I'm missing some configuration or something that would make this work.
Notes:
- SSH Enabled with different password as suggested by Raspberry PI Docs
- Boot configured to load desktop
- No fancy scripting language, only HTML, CSS and Javascript.