KDM doesn't work in XDMCP mode

Bug #178242 reported by Maxim Levitsky
6
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kdm

KDM crashes, if I connect to it via XDMCP (I use Xephyr)

It shows the login screen,, then I enter username/password, and then it gets back to
password prompt.

Looking at dmesg, shows (I use 2.6.24-rc6 vanilla kernel, and have no trouble with it)
Although it seems that apport doesn't work:

[ 4900.558350] kdm[8773]: segfault at 00000000 eip b7d04fb3 esp bf931d9c error 4

Trying to gdb the relevant kdm proccess (I used htop to figure it out) shows this:

Program received signal SIGSEGV, Segmentation fault.
0xb7d04fb3 in strlen () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7d04fb3 in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb7e21106 in ?? () from /usr/lib/libdbus-1.so.3
#2 0x00000000 in ?? ()
(gdb)

Steps to reproduce:

1) Enable XDMCP by editing

/etc/kde3/kdm/kdmrc:
[Xdmcp]
Enable=true

And in
/etc/kde3/kdm/Xaccess, uncomment:
* #any host can get a login window
* CHOOSER BROADCAST #any indirect host can get a chooser

2) Try to connect to the host via XDMCP
Like Xnest -broadcast :1

System running latest hardy.

Tags: patch

Related branches

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

Any progress?

Revision history for this message
Zoogie (janne-sarkilahti) wrote :

http://<email address hidden>/msg19399.html

There is reason and fix how to solve that bug.

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

Thanks a lot.
The above patch fixes this bug.
This fix should be included in kubuntu.

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote :

What is going on....
This simple fix is still not included

Ubuntu developers, take a look here.

Revision history for this message
Maxim Levitsky (maximlevitsky) wrote : Debdiff for the fix attached
Changed in kdebase:
assignee: nobody → ubuntu-main-sponsors
Changed in kdebase:
status: New → In Progress
assignee: ubuntu-main-sponsors → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdebase - 4:3.5.8-2ubuntu18

---------------
kdebase (4:3.5.8-2ubuntu18) hardy; urgency=low

  * Edited debian/patches/70_kdm_consolekit.diff to fix a crash
    when attempting to connect to local kdm via XDMCP (Closes LP: #178242)
    Thanks to Paul Brook for debbuging this, and to Zoogie for reporting this

 -- Maxim Levitsky <email address hidden> Tue, 06 Feb 2008 00:39:44 +0000

Changed in kdebase:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.