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

Linux

2341 readers
49 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 1 year 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.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 11 months ago* (last edited 11 months 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.

[–] [email protected] 5 points 11 months ago

I would suggest you making systemd unit and make it start after graphical.target