Bug 229475 - Timeout set with AutoLoginDelay in kdmrc is not respected.
Summary: Timeout set with AutoLoginDelay in kdmrc is not respected.
Status: RESOLVED FIXED
Alias: None
Product: kdm
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 02:06 UTC by Dwight Paige
Modified: 2010-09-27 01:46 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dwight Paige 2010-03-05 02:06:14 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    openSUSE RPMs

AutoLogin immediately works but when I set 'AutoLoginDelay=10' in
'/usr/share/kde4/config/kdm/kdmrc' upon logging in login screen freezes and no user can login. FWIW this is happening in open SusSE 11.2, Fedora 12, and Mandriva 2010.0 all X86_64 since KDE 4.4. 

Using openSuSE 11.2 as example:

Reproducible: Always

Steps to Reproduce:

1.Edit '/usr/share/kde4/config/kdm/kdmrc' to:
[X-:0-Core]
AutoLoginAgain=true
AutoLoginDelay=10
AutoLoginEnable=true
AutoLoginLocked=false
AutoLoginUser=<userx>
ClientLogFile=.xsession-errors
TerminateServer=true

2.logout/login or reboot

3.When login screen is reached user MUST very quickly hit enter [even though AutoLoginEnable=true] OR login screen freezes and no user can login.

Actual Results:  

As above.

Expected Results: 
 
Before KDE 4.4 AutoLogin worked fine with 10 second delay in KDE 4.3.x. Also same in openSuSE 11.2, Fedora 12, and Mandriva 2010.0 all x86_64.

Let me know of any additional info needed. Am willing to learn and test things.

http://pastebin.ca/1823346

http://pastebin.ca/1823348
Comment 1 Dwight Paige 2010-03-08 13:14:04 UTC
$ yum -vvv info kdm
Loaded plugins: fastestmirror, refresh-packagekit
Installed Packages
Name       : kdm
Arch       : x86_64
Version    : 4.4.1
Release    : 1.fc12
Size       : 4.9 M
Repo       : installed
From repo  : kde-testing
Summary    : The KDE login manager
URL        : http://www.kde.org/
License    : GPLv2
Description: KDM provides the graphical login screen, shown shortly after boot up,
           : log out, and when user switching.
Comment 2 Dwight Paige 2010-03-08 13:19:05 UTC
Opps! My mistake I was using openSuSE as an example...

# zypper -vvv if kdm
...
Information for package kdm:

Repository: @System
Name: kdm
Version: 4.4.1-417.5
Arch: x86_64
Vendor: obs://build.opensuse.org/KDE
Installed: Yes
Status: up-to-date
Installed Size: 5.0 MiB
Summary: KDE login and display manager
Description: 
This package contains kdm, the login and session manager for KDE.
Comment 3 Bas 2010-03-10 16:57:51 UTC
Same problem, noticed on 2 systems (using gentoo / kde 4.4.1 / x86_64). The password field is uneditable when the countdown is done.

Choosing 'remote login' unfreezes the field for me on one computer (and locks up the other).
Comment 4 Karl 2010-03-12 18:26:16 UTC
Also having autologin problems, the same config worked on kde 4.3.5.  I'm on gentoo x86 and x86_64.
Comment 5 Dwight Paige 2010-03-12 18:50:21 UTC
I can confirm this behavior:

"The password field is uneditable when the countdown is done."

I can also confirm that 'AutoLoginDelay=10 did work in KDE 4.3.5 in openSuSE 11.2, Fedora 12, and Mandriva 2010.0. It stopped working when KDE 4.4.0 was installed. My Mandriva is still KDE 4.4.0. openSuSE and Fedora are KDE 4.4.1.
Comment 6 Dwight Paige 2010-03-27 22:37:59 UTC
Humm... This bug seems to never have been assigned, or triaged or, whatever. 

Wonder if it's been looked at? 

Wonder did I do something wrong when I filed It? 

If a bug is deemed unimportant [understandable in this case] doesn't someone usually post that?

Do I need to provide more info? I am happy to do so.
Comment 7 Dwight Paige 2010-03-27 22:45:33 UTC
Is it permissible for me to change status to confirmed? I would think someone at KDE bugzilla would do that?
Comment 8 Jorge Manuel B. S. Vicetto 2010-03-29 04:34:02 UTC
AFAICS, there are two issues being reported here:

1. The timeout set with AutoLoginDelay in kdmrc is not respected - kdm just sits waiting and never performs the login

2. kdm shows the specified user and default password display of "****" on start, but the password field isn't selectable and thus it's not possible to type the user's password and or press enter to force the login.

I can confirm both on Gentoo with kdm-4.4.1 with the following entries in kdmrc:

AutoLoginEnable=true
AutoLoginAgain=true
AutoLoginDelay=5
AutoLoginUser=<user>
Comment 9 Dwight Paige 2010-04-04 21:22:48 UTC
(In reply to comment #8)
> AFAICS, there are two issues being reported here:
> 
> 1. The timeout set with AutoLoginDelay in kdmrc is not respected - kdm just
> sits waiting and never performs the login
> 
> 2. kdm shows the specified user and default password display of "****" on
> start, but the password field isn't selectable and thus it's not possible to
> type the user's password and or press enter to force the login.

I stole some wording from your post as I believe it is more accurate than my original language.

Also to update both problems noted in post #8 persist in KDE 4.4.2 in openSUSE 11.2, and Factory, Fedora 12 and 13, and Mandriva 2010.0 and Cooker.
Comment 10 Jorge Manuel B. S. Vicetto 2010-04-05 01:11:08 UTC
Both problems are still present in 4.4.2 in Gentoo as well.
Comment 11 peje66 2010-05-07 19:48:03 UTC
Still present in 4.4.3 in debian
Comment 12 Dwight Paige 2010-06-17 03:42:20 UTC
Still present in 4.4.4 in Sabayon 5.3 x86_64. Is this bug posted in the correct place. Have any KDE dev's responded? Has KDE.org triage reported? This bug has been repeatedly confirmed. It still exists in Fedora 13, Mandriva 2001.1, and openSuSE 11.3 all x86_64 as well as latest Sabayon stable [mentioned above]. What did I do wrong? I'm happy to correct if I did something wrong...
Comment 13 Dwight Paige 2010-06-17 03:43:47 UTC
Still present in 4.4.4 in Sabayon 5.3 x86_64. Is this bug posted in the correct place. Have any KDE dev's responded? Has KDE.org triage reported? This bug has been repeatedly confirmed. It still exists in Fedora 13, Mandriva 2001.1, and openSuSE 11.3 all x86_64 as well as latest Sabayon stable [mentioned above]. What did I do wrong? I'm happy to correct if I did something wrong...
Comment 14 Dwight Paige 2010-06-17 03:45:58 UTC
Inadvertent double post. Sorry.
Comment 15 Dwight Paige 2010-07-18 20:57:48 UTC
Behavior persists in my 3 current operating systems:

openSuSE x86_64 KDE 4.4.4

Fedora 13 x86_64 KDE 4.4.5

Mandriva 2010.1 x86_64 KDE 4.4.3

I'm wondering what it takes to get this changed from "UNCONFIRMED"
Comment 16 Rex Dieter 2010-07-18 21:01:28 UTC
2 independent confirmations should be sufficient.  done.
Comment 17 Dwight Paige 2010-07-18 21:34:54 UTC
Thanks. Then here are the kdm versions of the operating systems I'm currently using:

openSuSE 11.3:
Name: kdm
Version: 4.4.4-7.1
Arch: x86_64
Vendor: obs://build.opensuse.org/KDE
Installed: Yes
Status: up-to-date
Installed Size: 5.0 MiB
Summary: KDE login and display manager
Description: 
This package contains kdm, the login and session manager for KDE.

Fedora 13 (Goddard):
Name       : kdm
Arch       : x86_64
Version    : 4.4.5
Release    : 1.fc13
Size       : 4.9 M
Repo       : installed
>From repo  : updates
Summary    : The KDE login manager
URL        : http://www.kde.org/
License    : GPLv2
Description: KDM provides the graphical login screen, shown shortly after boot up,
           : log out, and when user switching.

Mandriva 2010.1:
kdm-4.4.3-20mdv2010.1.x86_64

I'm happy to provide any info needed. Or do whatever is needed in any of the 3 OS's.
Comment 18 Dwight Paige 2010-07-28 03:06:09 UTC
I'm wondering if I filed this bug report incorrectly. I don't recall ever filing a bug report and getting no response whatsoever from the organization handling the bug report. Heck usually people are more than happy to tell you if you are wrong.
Comment 19 Oswald Buddenhagen 2010-07-28 15:31:11 UTC
your report seems good enough to require no further feedback, and nobody has time to actually deal with it => silence.
Comment 20 Oswald Buddenhagen 2010-09-11 21:55:25 UTC
SVN commit 1174286 by ossi:

fix timed login

the async-ification broke it. need to enable the socket listener after
sending the auto-login command.

BUG: 229475



 M  +1 -0      kgverify.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174286
Comment 21 Kevin Kofler 2010-09-11 22:00:29 UTC
If you fixed it now, that's too late for 4.5.1. :-( Setting "fixed in version" to 4.5.2.
Comment 22 Dwight Paige 2010-09-12 00:32:04 UTC
That's good news. I have KDE 4.5.1 in Fedora 14 x86_64. I can confirm that this problem still exists in KDE 4.5.1. Looking forward to 4.5.2.

Many thanks.
Comment 23 Dwight Paige 2010-09-27 01:46:35 UTC
In Mandriva Cooker we have:

KDE - Platform Version 4.5.68 (4.6 >= 20100912)

and this bug is indeed fixed there.

Again. Many thanks.