I had multiple systems with different types of Linux distributions [RHEL(6,7), SLES (sles11, sles12)] with automatic login after OS is started.
After updating staf from 3.4.24 to 3.4.26 I'm not able anymore to automatic login on any of SLES12 distribution systems. Also sometime I cannot login on my root account, only if I use sudo startx from another account.
This issue is not present on RHEL6,7 and SLES 11 systems.
Automatic logon is done via the following changes:
/etc/sysconfig/displaymanager
DISPLAYMANAGER_XSERVER="Xorg"
DISPLAYMANAGER="gdm"
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_STARTS_XSERVER="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
DISPLAYMANAGER_AUTOLOGIN="root"
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="yes"
DISPLAYMANAGER_AD_INTEGRATION="no"
DISPLAYMANAGER_SHUTDOWN="root"
/etc/gdm/custom.conf configuration:
[daemon]
AllowRoot = true
AutomaticLoginEnable = true
AutomaticLogin = root
If you need additional information tell me and I will provide to you as soon as possible.