Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 230829 Details for
Bug 278473
kde-base/kdm-4.3.5 fails to log out correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this bug by fixing xdm problems contained in kdm.
xdm-restart.patch (text/plain), 1.56 KB, created by
John Bowler
on 2010-05-09 01:16:57 UTC
(
hide
)
Description:
Patch to fix this bug by fixing xdm problems contained in kdm.
Filename:
MIME Type:
Creator:
John Bowler
Created:
2010-05-09 01:16:57 UTC
Size:
1.56 KB
patch
obsolete
>--- kdm-4.3.5/kdm/backend/dm.c.orig 2010-05-08 17:00:38.000000000 -0700 >+++ kdm-4.3.5/kdm/backend/dm.c 2010-05-08 17:38:17.000000000 -0700 >@@ -1469,7 +1469,15 @@ > > d->hstent->lock = d->hstent->rLogin = d->hstent->goodExit = > d->sdRec.how = 0; >- d->lastStart = now; >+ /* If this is a local server then we record the actual >+ * start time of the server - this is because the server >+ * can be reset without restarting and it can crash when, >+ * or after, reset - we don't want to disable it if it >+ * crashes in this case. (See exitDisplay() below.) >+ * 'lastStart' is set in server.c to make this work. >+ */ >+ if ((d->displayType & d_location) != dLocal) >+ d->lastStart = now; > break; > } > } >@@ -1558,7 +1566,7 @@ > } else { > if (serverCmd == XS_RETRY) { > if ((d->displayType & d_location) == dLocal) { >- if (he->lastExit - d->lastStart < 120) { >+ if (he->lastExit - d->lastStart < 20) { > logError( "Unable to fire up local display %s;" > " disabling.\n", d->name ); > stopDisplay( d ); >--- kdm-4.3.5/kdm/backend/server.c.orig 2010-05-08 17:00:43.000000000 -0700 >+++ kdm-4.3.5/kdm/backend/server.c 2010-05-08 17:35:34.000000000 -0700 >@@ -76,6 +76,10 @@ > > debug( "startServerOnce for %s, try %d\n", d->name, ++d->startTries ); > d->serverStatus = starting; >+ /* For the local X server record the start time of the server, not the >+ * session, so set the time here and not in dm.c:startDisplayP2() >+ */ >+ d->lastStart = now; > switch (Fork( &d->serverPid )) { > case 0: > argv = prepareServerArgv( d, d->serverArgsLocal );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278473
:
198639
|
198641
|
198642
|
198965
|
198966
|
205085
| 230829