RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1264711 - Automatic Login doesn't work with multi-user target
Summary: Automatic Login doesn't work with multi-user target
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gdm
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-20 23:20 UTC by sadasivan shaiju
Modified: 2015-09-22 19:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-21 19:29:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sadasivan shaiju 2015-09-20 23:20:22 UTC
Description of problem:

Automatic Login  does not  work  with multi-user.target

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  
systemctl set-default muti-user.target
2.
Contents of  /etc/gdm/custom.conf
[daemon]
AutomaticLoginEnable = true
AutomaticLogin = root

3.

Actual results:

console  comes to login prompt

Expected results:

It should  automatically login  as  root

Additional info:

This  feature works in Redhat 6.5

Comment 1 Ray Strode [halfline] 2015-09-21 19:29:57 UTC
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/

Comment 2 sadasivan shaiju 2015-09-21 20:51:07 UTC
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.

Comment 3 Ray Strode [halfline] 2015-09-22 19:20:49 UTC
Hi,

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.

Thanks!


Note You need to log in before you can comment on or make changes to this bug.