Bug 16314 - autologin on/off breaks X startup at boot time.
Summary: autologin on/off breaks X startup at boot time.
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: distribution   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-16 05:52 UTC by John Cagle
Modified: 2008-05-01 15:37 UTC (History)
0 users

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


Attachments (Terms of Use)

Description John Cagle 2000-08-16 05:52:00 UTC
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 17:25:43 UTC
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.