This worked for me:
added the following two lines to /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
autologin-user=<YOUR USER>
autologin-user-timeout=0
the complete file:
[Seat:*]
autologin-user=pi
autologin-user-timeout=0
user-session=xfce