I've tried trawling through the RPI community threads for suggestions to start Chromium through a shell script.
I originally tried to do this with Crontab however because the cron user doesn't have the necessary environment variables I wanted to try with LXDE.
This thread is inaccurate for RPi4 as there is no lxsession in my .config
folder in PI home
https://www.raspberrypi.org/forums/viewtopic.php?t=219952
Here is an ls-la of .config:
drwx------ 17 pi pi 4096 Aug 19 17:43 chromium
drwx------ 2 pi pi 4096 Jun 20 18:45 dconf
drwx------ 2 pi pi 4096 Aug 16 15:02 gtk-2.0
drwx------ 2 pi pi 4096 Aug 16 15:23 leafpad
drwx------ 2 pi pi 4096 Aug 16 15:36 libfm
drwx------ 3 pi pi 4096 Jun 20 18:20 lxpanel
-rw-r--r-- 1 pi pi 164 Aug 16 14:58 lxtask.conf
drwx------ 2 pi pi 4096 Jun 20 18:24 lxterminal
drwx------ 3 pi pi 4096 Aug 16 15:02 pcmanfm
-rw------- 1 pi pi 633 Jun 20 18:20 user-dirs.dirs
-rw-r--r-- 1 pi pi 5 Jun 20 18:20 user-dirs.locale
Debian version is:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
So how can I get Chromium to autostart on boot?