Closed guysoft closed 1 month ago
Ok I see:
if [ -f /var/lib/userconf-pi/autologin ] || [ "$IMG_VER" == "2022-04-04" ]; then
SUDO_USER="$1" raspi-config nonint do_boot_behaviour B4
else
SUDO_USER="$1" raspi-config nonint do_boot_behaviour B3
fi
I guess I can touch that file
Might be related: https://github.com/RPi-Distro/pi-gen/issues/614
Hey, I have a distribution that uses autologin to a special gui session as default (fullapgeos). I can see that when flashed with a custom user using rpi-imager, firstrun.sh runs
cancel-rename
, which then runs:Is there a way that user changing the default user wont break the auto-login? The user does not select that in any place that I can see in the imager.
This is the pstree that help me catch this. (i stuck code in raspi-config to figure out what is triggering it on first boot):