Bug 191034

Summary: KDE logout fails with Kernel Mode Setting (KMS) enabled
Product: [I don't know] kde Reporter: Martin van Es <bugs>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: andresbajotierra, imehl_adresse, kdm-bugs-null
Priority: NOR    
Version: 4.2.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin van Es 2009-04-29 15:06:13 UTC
Version:           4.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When using KMS in kernel 2.6.29 (with intel i915 driver and Xorg intel driver) logout from KDE does not present KDM but terminates in a root console session. This does not occur with UMS.

I'm completely unsure where this bug belongs, so I'm starting here.
Comment 1 Dario Andres 2009-04-29 16:42:20 UTC
From my personal tests, KMS on Intel (Kernel2.6.29) is a bit buggy. From what I have read there are bugs in both the driver and the kernel implementation (or something like that) which should be fixed when using Kernel2.6.30.
I guess this is not a KDE bug indeed, but leave this report to check later.
Thanks
Comment 2 imehl_adresse 2009-06-12 16:33:18 UTC
on my gentoo box I have emerged 2.6.30 but this don't fix the logout issue with KMS enabled.
Comment 3 Oswald Buddenhagen 2009-06-21 13:39:30 UTC
well, given that kdm does not interact with mode setting in any way, this can't be a kdm bug. you are experiencing an X server crash to which kdm reacts with a display shutdown (whether it does so legitimately depends on the exact circumstances ... the README gives some hints how to start investigating issues).
you could try TerminateServer=true in kdmrc.
Comment 4 imehl_adresse 2009-06-22 10:30:22 UTC
ok . thank you for advice!

TerminateServer=true fixes the problem.
Comment 5 Martin van Es 2009-08-27 21:36:06 UTC
TerminateServer=true fixes the problem for me as well, although the solution is not very pretty ;)