(*** This bug was imported into bugs.kde.org ***) Package: kdm Version: KDE 3.0.0 CVS/CVSup/Snapshot Severity: normal Installed from: Compiled sources Compiler: gcc 2.95 OS: Linux OS/Compiler notes: Debian Unstable I have KDM set up to bypass the login screen on first login and go straight to me as user. (AutoLoginEnable=true) Sometimes (about 1 in 3 ) when I logout I am auto logged in again instead of being shown the kdm login screen. Although I have reported this bug under KDM I am not sure it is this package. When it goes wrong I get the NVIDIA logo from the NVIDIA drivers come up and the timestamp on the /var/log/XFree ... log file is the timestamp of the time of logout/relogin. When it works correctly I don't get the NVIDIA logo. In otherwords the XServer is restarting. Checking Syslog I get Mar 27 09:38:42 kanger kdm[552]: Server for display :0 terminated unexpectedly Which sort of confirms this. (the time was exactly the time of logout) (Submitted via bugs.kde.org)
this is an nvidia driver problem. your x-server crashes so the auto-re-login feature jumps in and restarts the session (kdm does not know that you tried to logout at this time). use a non-broken driver or disable "automatically log in again after x server crash". greetings
for the record ... > don't laugh ... ;) > i'm cleaning up my kdm mailbox after the recent larger changes, so i > stumbled over your report. > concluding from the log you sent me ages ago i think the bug was > genuine, in fact. i'm also hopeful that i fixed it meanwhile, possibly > with my recent changes (i touched the relevant code and wondered how it > could have worked at all :). so, are you willing & able to test how > things work with kde 3.2 beta1 (or current cvs head, fwiw)? > Tested it - works fine now. Bug is gone
Subject: kdebase/kdm/backend CVS commit by ossi: don't auto-login again after an X server crash. if the user wants that, he can explicitly enable auto-re-login independently of auto-login. it might look silly to disagree with a confirmation that a bug is gone, but i'm a pedant and the bug was evidently still there. :) CCMAIL: 39858@bugs.kde.org M +1 -1 session.c 1.85 --- kdebase/kdm/backend/session.c #1.84:1.85 @@ -136,5 +136,5 @@ AutoLogon () newdmrc = td->hstent->nargs; td->hstent->nargs = 0; - } else if (*td->autoUser && !(tdiff <= 0 && td->hstent->goodExit)) { + } else if (*td->autoUser && tdiff > 0) { StrDup (&curuser, td->autoUser); StrDup (&curpass, td->autoPass);