Trying to solve another issue, I unistalled and reinstalled lightdm. After that, lightdm failed to start, and I could see this message in journalctl -xeu lightdm.service
:
Failed to load configuration from /etc/lightdm/lightdm.conf: Key file does not start with a group
The content of /etc/lightdm/lightdm.conf
BTW was
greeter-show-manual-login=true