I am setting up a "kiosk" mode display but Im having a hard time getting chromium to show properly on raspbian login. If I comment the line out, and manually start chromium, it will show. If I start using various different startup arguments in /etc/xdg/lxsession/LXDE-pi/autostart
chromium starts but no window shows. How do I know? ps aux | grep chromium
shows it's started up. If I try to open a browser after that, it will just say "opening in existing browser session" which is obviously also a problem because the existing browser session isn't showing.
I am guessing that it has something to do with the "restore pages" dialogue box, because if I start chromium manually, without any autostart scripts, it will ask me if i want to restore pages. But, I'd assumed --disable-restore-session-state
flag would have taken care of that. I did find another threat that mentioned I should flag the opening address with --app but that also didn't work. Here are variations of what I've tried in my autostart script...
@chromium-browser --start-fullscreen --ignore-certificate-errors --disable-restore-session-state -http://127.0.0.1
@chromium-browser --start-fullscreen --ignore-certificate-errors --disable-restore-session-state ---app=http://127.0.0.1
@chromium-browser --kiosk --app=http://127.0.0.1
@chromium-browser --kiosk http://127.0.0.1