Hi
I’ve updated my Pi4B recently to Bookworm, and running wayfire desktop. No issues running WD after a few tweaks. WD and OS runs on an SSD
However every few days my Pi locks up - essentially all i get is a blank screen and a flashing cursor. It also means I can’t get my clientraw (etc) files out to my webserver.
I now have watchdog running - hopefully that will perform a restart when needed, but I can’t figure out how to auto start consolewd on reboot.
If starting manually I run a shell script (a_start.sh) that basically calls ./consolewd. Also included in the shell script is a line to run a_webcam which is my webcam setup / download / send file to server script.
I’ve tried editing the wayfire.ini file which seems to be the easiest way to autorun, by adding the following:
[autostart]
consolewd=/home/andrew/consolewdfiles/a_start.sh
but had no luck with this version. A previous version dumped the clientraw.txt files in another folder, which I corrected using the consolewd.ini file, but the actual file sent ended up being the same file all the time (ie no update) - weird!
I’ve tried a couple of other solutions - .desktop files and cron entries (using @reboot) but had no luck.
Everything works fine if I start it manually until the pi freezes so I don’t think this is a WD issue.
I’d prefer not to roll back to the X desktop, and ideally I’d like to understand why the Pi is freezing (which may include a clean OS reinstall). In the meantime though does anyone have a tried and tested way of doing an autostart on restart for consoleWD on Bookworm?
Thanks in advance