Closed DaveRicks54 closed 3 weeks ago
Hi, thanks :). I think the fact that it's desktop may have something to do with it. I don't have one set up right now so I can't try it out, but maybe there's some way other than crontab to set startup apps in desktop context? If you can't find one, then give Lite edition a try, and let me know if that worked, thanks.
@DaveRicks54 did you manage to solve your issue?
Hey all, I had this exact issue while running rpi OS desktop. Switched to OS lite and it instantly worked. During my testing in rpi desktop os I couldn't get auto start to work at all. I tried crontab, systemd, rc.local etc but nothing worked.
Thanks for confirming this @beattiebeatdown.
Closing due to inactivity and proposed solution.
Hi, first of all this a great project and is great. I am however struggling to get it to work in a crontab on start up and get an error message in the log file. "Error: XDG_RUNTIME_DIR is invalid or not set in the environment."
When running the line in terminal is works fine but when I load it to the crontab file it doesn't work on reboot and doesn't work once I try it manually almost like it already trying to run in the background.
FYI I am running it on raspberry PI desktop edition so if I need to run this on raspberry PI lite as there's a conflict with the desktop then I'll be happy to try it.
Thank you