Bug 179273

Summary: "Internal error: unknown D_* command 112" when autologin enabled
Product: kdm Reporter: Daniel Kaminski <maniel.rulez>
Component: generalAssignee: kdm bugs tracker <kdm-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: mziab, remur, rolf.offermanns
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniel Kaminski 2009-01-01 12:14:21 UTC
Version:            (using Devel)
Compiler:          gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] x86_64
OS:                Linux
Installed from:    Compiled sources

i'm using trunk packages from opensuse, version 4.1.86, the problem appears to be non distro-specific as i had this error in archlinux [32bit] with binaries built by kdesvn-build
this error shows only if autologin is enabled, for every user that has autologin enabled [not in the same time of course:)], i don't even see a greeter but in /var/log/messages i see:
Jan  1 10:49:28 mybox kdm[8188]: Internal error: unknown D_* command 112
and additionally sometimes
Jan  1 10:49:28 mybox kdm[8188]: Internal error: unknown D_* command 1768841581
when debugging this on archlinux few weeks ago kdm tells something about bad RPC call or sth [i don't remember debug flags i used]
Comment 1 Karsten König 2009-01-02 13:35:38 UTC
I can confirm this problem, same setup

opensuse, autologin activated

Jan  2 13:25:11 thermoskanne kdm[5722]: Internal error: unknown D_* command 112
Jan  2 13:25:11 thermoskanne kdm[5722]: Internal error: unknown D_* command 8
Jan  2 13:25:11 thermoskanne kdm[5722]: Internal error: unknown D_* command 1936875883
Jan  2 13:25:11 thermoskanne kdm[5722]: Internal error: unknown D_* command 7234932

but also :
Jan  2 13:25:08 thermoskanne kdm_config[5723]: Multiple occurrences of key 'UseTheme' in section [X-*-Greeter] of /usr/share/kde4/config/kdm/kdmrc
Comment 2 Karsten König 2009-01-02 14:08:01 UTC
Removing UseTheme=true from the kdmrc file removed the 
Jan 2 13:25:08 thermoskanne kdm_config[5723]: Multiple occurrences of key 'UseTheme' in section [X-*-Greeter] of /usr/share/kde4/config/kdm/kdmrc 
entry

It was just one "UseTheme" occurence though...

Now it is also down to just one internal error:
Internal error: unknown D_* command 112



I suspect this patch, it is the only modification besides generated .desktop files
http://websvn.kde.org/trunk/KDE/kdebase/workspace/kdm/backend/client.c?r1=887868&r2=897662
Comment 3 Michal Ziabkowski 2009-01-03 16:21:47 UTC
Still there in KDE 4.1.87:

Jan  3 15:14:05 [kdm] Internal error: unknown D_* command 112
Jan  3 15:14:05 [kdm] Internal error: unknown D_* command 1634302573

@Karsten König: Indeed, reverting commit 897662 fixes kdm autologin.