I enabled autologin but it doesn’t work with gdm. It does login automatic on start but after several seconds it will switch to tty1. Genally gdm will show up after several seconds but sometimes it will stuck on the tty and I have to reboot it. LighdDM works well for me. This is my configuration. Do I miss something? Thanks for any help!
services.xserver = {
enable = true;
desktopManager.gnome.enable = true;
displayManager = {
gdm.enable = true;
defaultSession = "gnome";
autoLogin = {
enable = true;
user = "xxx";
};
};
};