Read the statement by Michael Teeuw here.
Autostarts but doesn't run, will run on restart
-
@sdetweil said in Autostarts but doesn't run, will run on restart:
export wait_for_x=1
That isn’t the mm.sh that my system launches from, though… Mine is ~/mm.sh
Does the one you’re referencing get called from one of the other scripts?
-
@ember1205 whatever script…
if you used my setup script it uses the one already in installers
-
Ok… Modified the ~/mm.sh script
pm2 restart mm failed to start Chromium correctly - landed on the Chrome Desktop.
Purged the config directory and started mm without issue.Restarted the mirror and everything came up clean multiple times, but there is clearly still something weird happening with Chromium in that I have to continue wiping the config directory before it will start up correctly.
-
@ember1205 the new script wipes the config folder already
-
Whatever it’s doing, it isn’t doing it correctly. “pm2 restart mm” lands me on the Chrome Desktop every time. I have to wipe the config folder by hand.
-
Its trying to wipe a non-existent directory
0|mm | + rm -rf /home/pi/.config/chromium-browser
-
@ember1205 ah. I ‘assumed’ folder name matched executable…doah…
-
@sdetweil said in Autostarts but doesn't run, will run on restart:
cd ~ rm -rf .config/chromium rm -rf .config/electron
This was what you had mentioned earlier in the thread and worked, and it’s what I built my config wipe based on.
-
@ember1205 do the curl again
-
Seems to be working reliably. Even why I simply do a “shutdown now” without any of my shutdown process items, it starts up correctly.