I've got a Raspberry PI 3B+ configured to diskless boot with the PIServer PXE system. I have created a user 'map7' and would like it to autologin my thin clients into the GUI as that user.
/etc/lightdm/lightdm.conf in the chroot section and also tried the server section and both attempts don't autologin at all. I've tried raspi-config -> boot options -> desktop autologin which sets it up for the 'pi' user then I changed it to 'map7' and still no joy.
The chroot section is the image on the server in which the thin clients mount and use as their root file system. This is in
/var/lib/piserver/os/<image name>. The image name maybe Raspbian-2018-11-13 in my example. I use the
chroot command to enter into this directory and add my changes for the thin clients. I can add packages etc. The server section is the Raspbian Desktop (which includes scripts for setting up a PIServer and I run in a VM) in which I'm booted into.
I do have the thin clients booting with different users, but I want one of those users to be automatically logged in. I'm using the thin clients as media centers with remotes so they won't have a keyboard to login with.
How do I get 'thin clients' which are linked to PIServer using the Raspbian Normal image to autologin?
I've found that if I try and login really quick at the login screen on the thin client it rejects my username and password. I've tried many times so I know it's not me typing the password incorrect.
I started timing as soon as the dialog box appears, then I type my username and password and hit enter.
5 seconds after the login box appears fails. 10 seconds it accepts the password and continues on.
So there seems to be a timing issue here with thin clients and maybe setting up mount points before it can authorise itself.
Found that it isn't possible with write access to setup autologin for a PIServer thin client. It is however possible if you make it read only.