KDM greeter remote login dialog crashes on mouseover

Bug #872761 reported by memartin
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
KDE Base Workspace
Fix Released
High
kde-workspace (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am using oneiric beta on my laptop. I also have a few other kubuntu boxes and a terminal server that I connect to via XDMCP every once in a while, mostly because the other machines have more calculating power that I use to lay off CPU-intensive tasks.

Today I've tried to start a new session on oneiric's KDE, remote-connecting to another XDMCP-Host. This used to work fine under Lucid some weeks ago.

However, today I had to experience thatwhenever I move the mouse onto the greeter's remote login dialog to select the server to connect to, the dialog disappears and the normal greeter (I don't use a theme) with the local login pops up again.

Please let me know if/how I can provide further information.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: kdm 4:4.7.1-0ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Wed Oct 12 11:49:40 2011
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: kde-workspace
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.kde4.kdm.backgroundrc: [modified]
modified.conffile..etc.kde4.kdm.kdmrc: [modified]
mtime.conffile..etc.kde4.kdm.backgroundrc: 2011-09-12T16:15:56.826644
mtime.conffile..etc.kde4.kdm.kdmrc: 2011-09-12T17:04:57.284775

Revision history for this message
In , Stephan-platz (stephan-platz) wrote :

Version: unspecified (using KDE 4.7.1)
OS: Linux

When selecting 'remote login' in kdm and moving the mouse above the chooser window the X server restarts, showing the login screen again.

/var/log/everything.log showed:

Sep 12 11:28:21 (none) kdm: :0[1399]: Received unknown command 4 from greeter

Reproducible: Always

Steps to Reproduce:
Start KDM
Select "remote login"
Move the mouse in the chooser window

Actual Results:
X server/kdm restarts

Expected Results:
selecting remote host possible

Revision history for this message
In , Jef-pera (jef-pera) wrote :

Version: KDE 4.7.0 and 4.7.1
OS: Linux

 I have the same issue:

...
Sep 25 09:35:26 kdm: :0[6496] error: Received unknown command 4 from greeter
Sep 25 09:35:26 kdm: :0[6496] debug: closed greeter for display :0
Sep 25 09:35:26 kdm: :0[6496] debug: greeter for :0 stopped
Sep 25 09:35:26 kdm: :0[6496] debug: starting greeter for display :0
....

So XDMCP is broken in KDE.

Revision history for this message
In , Mateusz-lists (mateusz-lists) wrote :

Same here, for 4.7.1:
Oct 10 16:45:07 foo kdm: :0[6532]: Received unknown command 4 from greeter
Oct 10 16:45:07 foo kdm_greet[6775]: Data directory "/var/lib/kdm" not accessible: Permission denied
Oct 10 16:45:08 foo kdm_greet[6775]: Cannot load /etc/X11/kdm/faces/.default.face: No such file or directory

Revision history for this message
memartin (memartin) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kde-workspace (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

*** Bug 283919 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Tomas Thiemel (thiemel) wrote :

Hi, I've got same problem... :-(
OS: ArchLinux 32bit
KDE version: 4.7.2-1 KDM
default behavior: Show XDMCP host menu (LoginMode=DefaultRemote)
Errors in /var/log/kdm.log (DBUS IS RUNNING!):
> klauncher(5355) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
> kdeinit4: Communication error with launcher. Exiting!
> kdmgreet(5349)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"
>
>kdmgreet(5349)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned
>Server terminated successfully (0). Closing log file.

Syslog error(s):
>Oct 30 07:11:25 localhost kdm_greet[3071]: Cannot load /usr/share/apps/kdm/faces/.default.face: No such file or directory
>Oct 30 07:17:11 localhost kdm: :0[3165]: Received unknown command 4 from greeter
>Oct 30 07:17:58 localhost kdm: :0[3256]: Received unknown command 4 from greeter
>Oct 30 07:22:17 localhost kdm: :0[3432]: Received unknown command 4 from greeter

Revision history for this message
In , Andreas K. Hüttel (dilfridge) wrote :

Same problem observed in Gentoo, KDE 4.7.3
https://bugs.gentoo.org/show_bug.cgi?id=389757

Revision history for this message
Mike Fidler (rockmastermike) wrote :

Just updated to kubuntu 11.10 and discovered this bug. ARG!

Anyone found a workaround? (other than running Xapps over SSH I mean)

Revision history for this message
In , Dr. Tilmann Bubeck (t-bubeck) wrote :

This also happens with Fedora 16/4.7.2

See https://bugzilla.redhat.com/show_bug.cgi?id=753196

Revision history for this message
In , Wp6 (wp6) wrote :

Even though I am still running kde-7.3, reverting to kde-base/kdm-4.6.5-r2
seems to fix this.

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

*** Bug 287265 has been marked as a duplicate of this bug. ***

Revision history for this message
In , steveb (tniagcpm) wrote :

I have 2 systems affected. Both amd64 kubuntu 11.10 (KDE 4.7.3)

The error message from kdm_greet:
> Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
can be removed by choosing a default user image:
 (System Settings - Login Screen - Users - User images - User: default)

After setting a default image, I still get the kdm error:
> kdm: :1[4010]: Received unknown command 4 from greeter

Revision history for this message
Julian Alarcon (julian-alarcon) wrote :

Somebody know if is possible to install an old version of KDM to use as workaround?

Revision history for this message
In , Hemathor (hemathor) wrote :

same here with all opensuse 12.1 and latest kde 4.7.4 from upstream repo...

Revision history for this message
In , Mateusz-lists (mateusz-lists) wrote :

Still present in 4.8.0 :(

Revision history for this message
In , Andreas K. Hüttel (dilfridge) wrote :

FYI Gentoo has resolved this successfully by reverting kdm commit 720b0bfe5fab7142b9683f329b75cf2951b95c8e

This basically changes the logic back to as it was in kdm-4.6.5

Revision history for this message
In , Mateusz-lists (mateusz-lists) wrote :

> FYI Gentoo has resolved this successfully by reverting kdm commit
> 720b0bfe5fab7142b9683f329b75cf2951b95c8e
>
> This basically changes the logic back to as it was in kdm-4.6.5

Thanks for hint Andreas !
Revert seems to work for 4.8.0 too.

Revision history for this message
In , Chris Sykes (jcgs) wrote :

Is there anything going on with this? It still appears to be broken in Kubuntu Oneiric. Has KDE actually been fixed, or are individual distributions just doing reverts? I'm currently running KDE 4.7.4 but will upgrade to whatever ships with precise.

Revision history for this message
In , X-bugs-kde-org (x-bugs-kde-org) wrote :

I confirm the bug, will somone fix the commit ?

Revision history for this message
Michael Tsang (miklcct) wrote :

workaround: run X on the command line

X -query server :1

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

Git commit a4ef19c9491e7c5b3ff5a7e18915b6b14f71fe3f by Oswald Buddenhagen.
Committed on 10/06/2012 at 10:57.
Pushed by ossi into branch 'master'.

centralize interaction notification handling

that way we don't have to handle it all over the place (which we didn't,
which made the chooser dysfunctional).

M +3 -3 kdm/backend/choose.c
M +2 -2 kdm/backend/dm.h
M +10 -10 kdm/backend/session.c

http://commits.kde.org/kde-workspace/a4ef19c9491e7c5b3ff5a7e18915b6b14f71fe3f

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

please test this a bit, so i can backport it.

Revision history for this message
In , Jef-pera (jef-pera) wrote :

Version: KDE 4.8.4
OS: Linux

It works!
Thank to Oswald.

Revision history for this message
In , Oswald Buddenhagen (ossi-kde) wrote :

Git commit da6e2b49fd2a30aca167ae37ef3e3fd1c7d3bc58 by Oswald Buddenhagen.
Committed on 10/06/2012 at 10:57.
Pushed by ossi into branch 'KDE/4.8'.

centralize interaction notification handling

that way we don't have to handle it all over the place (which we didn't,
which made the chooser dysfunctional).

(cherry picked from commit a4ef19c9491e7c5b3ff5a7e18915b6b14f71fe3f)

M +3 -3 kdm/backend/choose.c
M +2 -2 kdm/backend/dm.h
M +10 -10 kdm/backend/session.c

http://commits.kde.org/kde-workspace/da6e2b49fd2a30aca167ae37ef3e3fd1c7d3bc58

Revision history for this message
DustinErnst (dustinernst) wrote :
Revision history for this message
Sebastian Schmidt (seschmi) wrote : Re: [Bug 872761] Re: KDM greeter remote login dialog crashes on mouseover

On my computer (Ubuntu 12.04), the whole X server crashes and doesn't
restart, while in the bug description below it is mentioned that KDM
returns to the chooser or restarts.

But maybe this is just a configuration/distribution issue and the
underlying kdm bug is the same.

Am 12.07.2012 22:08, schrieb DustinErnst:
> Is this the same bug?
>
> https://bugs.kde.org/show_bug.cgi?id=281862
>
> ** Bug watch added: KDE Bug Tracking System #281862
> https://bugs.kde.org/show_bug.cgi?id=281862
>

Revision history for this message
In , petej (arnoldc) wrote :

Hi there,

I have Kubuntu Precise, which comes with KDE 4.8.4, and exactly this bug is still there. Why?

Revision history for this message
petej (arnoldc) wrote :

Bug still present in fully upgraded Kubuntu Precise with KDE 4.8.4 although supposed to be fixed in that version of KDE:
https://bugs.kde.org/show_bug.cgi?id=281862
Maintainer please recompile using fix.

Revision history for this message
In , Cmcgrath5035 (cmcgrath5035) wrote :

I am delighted to report that after not having the feature for over a year, Remote Login from the Greeter is now working again on Suse 12.1/KDE 4.9
Thanks!

Revision history for this message
In , petej (arnoldc) wrote :

I'm very happy to confirm that this feature is working in KDE 4.8.5 installed from

https://launchpad.net/~kubuntu-ppa/+archive/ppa

in Kubuntu 12.04 Precise LTS. Let's hope this version of KDE moves into 'precise-updates' fast.

Changed in kdebase-workspace:
importance: Unknown → High
status: Unknown → Fix Released
Changed in kde-workspace (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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