Bug 691142

Summary: Autologin fails on Fedora 15 Alpha
Product: [Fedora] Fedora Reporter: Richard Hitt <rbh00>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: jmccann, mclasen, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-15 05:42:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Fix autologin timeout problem none

Description Richard Hitt 2011-03-27 01:09:24 UTC
Created attachment 487975 [details]
Fix autologin timeout problem

Description of problem:
I'm testing Fedora 15 Alpha.  When I set my userid to autologin and do a reboot, ten seconds after the spinning wheel it comes up with a Fail box, telling me to Log Out.


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


How reproducible:
It fails every time.  On the other hand, if I set my userid to "Autologin OFF", I have no problems manually logging in.


Steps to Reproduce:
1. System -> System Settings -> User Accounts; perform Unlock; Click in the Automatic Login box until it says ON
2. Reboot
3. Observe the Fail box.
  
Actual results:
Autologin fails.

Expected results:
Autologin succeeds.

Additional info:
The problem is too short of a timeout.  The attached patch fixes the problem.
It changes the timeout to 60 seconds from 10 seconds.  In fact, from /var/log/messages, it took 23s to establish my autologin session.

Comment 1 Matthias Clasen 2011-04-15 05:42:32 UTC
I think this is fixed in current builds of gnome-session.

Comment 2 Richard Hitt 2011-04-15 08:17:56 UTC
Yes, it's fixed as far as I'm concerned.  My patch changed the original 10s timeout to 60s; your code changed the original 10s timeout to 30s.  I have not had an autologin failure with the 30s timeout value.  All my autologins take just about 25s, according to timestamps in /var/log/messages, which imo is too near to 30s for comfort; I'd still vote for 60s because why not?

But yeah, fixed, for me.