this post was submitted on 07 Dec 2023
9 points (100.0% liked)

Linux

2440 readers
25 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
 

My friends, y'all convinced me and I decided to ditch windows on this old PC. I had a task scheduler task that launched chrome on kiosk mode and navigated to this website on startup. Worked great, but windows made the whole thing chug and crashed constantly.

installed Linux Lite and the computer runs GREAT because it doesn't have all the windows bloat from the start, but I cannot for the life of me figure out how to do the same thing on Linux Lite.

I tried creating an rc.local file pointing to a .sh file with the command google-chrome --kiosk . this command works from the terminal.

ive also tried the crontab -e and adding @reboot google-chrome --kiosk as above... but again nothing happens when I reboot.

what am I doing wrong? HELP.

you are viewing a single comment's thread
view the rest of the comments
[–] Chais 7 points 1 year ago* (last edited 1 year ago)

The crontab starts Chrome in an environment without graphical frontend, so Chrome will refuse to start.
You'll have to go through the DE's autostart.