troubleshooting Question

Need to run chromium browser on startup

Avatar of Zeke Rich
Zeke RichFlag for United States of America asked on
LinuxRaspberry Pi
3 Comments1 Solution155 ViewsLast Modified:
I just installed linux 2019-09-26-raspbian-buster-lite for Raspberry Pi (headless)

 I need to to run chromium browser on startup. I have installed:

xserver-xorg xinit
chromium-browser
unclutter //to hide the cursor/pointer

I have created a file on my home directory called: ~/.xinitrc
with:
#!/bin/sh
xset -dpms
xset s off
xset s noblank

unclutter &
chromium-browser /path/to/your/file.html --window-size=1920,1080 --start-fullscreen --kiosk --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null  --password-store=basic

I have added startx & to my rc.local

I cant get chromium to start on boot.
ASKER CERTIFIED SOLUTION
Zeke Rich
Owner

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros