Red Hat Bugzilla – Bug 1264711
Automatic Login doesn't work with multi-user target
Last modified: 2015-09-22 15:22:14 EDT
Description of problem:
Automatic Login does not work with multi-user.target
Version-Release number of selected component (if applicable):
Steps to Reproduce:
systemctl set-default muti-user.target
Contents of /etc/gdm/custom.conf
AutomaticLoginEnable = true
AutomaticLogin = root
console comes to login prompt
It should automatically login as root
This feature works in Redhat 6.5
multi-user.target is the equivalent of "runlevel 3" in rhel 6.
AutomaticLogin only works from graphical.target ("runlevel 5" in rhel 6).
I hope that clears things up. If you have any further questions feel free to contact a support representative at https://access.redhat.com/support/
Automatic Login works for runlevel 3 in RHEL6 . I am using that in my
ISO . I create the ISO using kickstart file . But the same thing is not working in RHEl 7 . It is a bug.
runlevel 3 and multi-user.target are for booting to gettys (text login on prompts) on the console virtual terminals.
If GDM managed to get started in runlevel 3 to initiate an autologin session in RHEL 6 that's unexpected behavior. GDM isn't supposed to run in runlevel 3.
You can change RHEL 7 to support autologin by booting to graphical.target using the command:
# systemctl set-default graphical.target
Note this ticket is now closed. If you'd like to discuss this topic or any other topic further, please open a support case at https://access.redhat.com/support/ . You can reference this bugzilla bug number in your problem report.