Bug 16314 - autologin on/off breaks X startup at boot time.
autologin on/off breaks X startup at boot time.
Status: CLOSED DEFERRED
Product: Red Hat Linux
Classification: Retired
Component: distribution (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-16 01:52 EDT by John Cagle
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-16 01:52:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description John Cagle 2000-08-16 01:52:00 EDT
If you enable autologin and then disable it (using the Gnome control panel)
you will end up with a file /etc/sysconfig/autologin with a line that says:
AUTOLOGIN=no

The presence of this file at boot time causes the /etc/X11/prefdm script
(started by
/etc/inittab) to execute /usr/sbin/autologin, which reads the
"AUTOLOGIN=no"
setting and doesn't do anything, except return 0 (zero) to prefdm.

Prefdm considers a zero return value to indicate success, and therefore it
just
exits without starting a display manager.  This causes an init error at
boot time
and X never gets started.

THE FIX: make autologin return non-zero if it finds "AUTOLOGIN=no"
in its config file.
Comment 1 Glen Foster 2000-08-16 13:25:43 EDT
Red Hat's fix for Winston is to exclude ALL of the autologin packages.  Marking
as deferred.

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