I need a Raspberry PI to login on boot and execute a bunch of scripts. The bunch of scripts part is working fine.
For the auto-login, it isn't as cooperative. I work on a RPI that has had quite some modifications yet. It is on Raspbian installed with NOOBS. As I started working on it, it already started with a login GUI, getting me to the desktop.
Here is what I tried so far to skip the login screen :
sudo raspi-config
And desktop log in as user 'pi' at the graphical desktop. Reboot to see the changes.. Nothing.
Then I tried the several /etc/inittab lines :
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1
1:2345:respawn:/bin/login -f pi tty1 / dev/tty1 2>&1
And the variants with different space placements. I forgot some unfortunately.
Finally, I tried putting these in /etc/lightdm/lightdm.conf
autologin-user=identifiant
autologin-user-timeout=0
pam-service=lightdm-autologin
Nothing worked. So I'm starting to lose hope. I can't know what has been done before on this RPI to get it not working.
If you have any idea where to search, or any alternative solution, I'll take it.
Thanks.