Bug 691142 - Autologin fails on Fedora 15 Alpha
Summary: Autologin fails on Fedora 15 Alpha
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 15
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-27 01:09 UTC by Richard Hitt
Modified: 2011-04-15 08:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-15 05:42:32 UTC
Type: ---


Attachments (Terms of Use)
Fix autologin timeout problem (646 bytes, application/octet-stream)
2011-03-27 01:09 UTC, Richard Hitt
no flags Details

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.


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