[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#534714: kdm: login fails due to missing /etc/pam.d/kde

Package: kdm
Version: 4:4.2.4-1+b1
Severity: important

When I lock my display and then try to log in again via kdm, the login
is always denied.  /var/log/auth.log shows:

Jun 25 07:12:16 helium kcheckpass[10973]: pam_unix(kde:auth): authentication failure; logname=andrex uid=1000 euid=1000 tty=:0 ruser= rhost=  user=andrex
Jun 25 07:12:16 helium kcheckpass[10973]: Authentication failure for andrex (invoked by uid 1000)

Note that the service name above is kde, not kdm.  In /etc/pam.d,
there is no file named kde.  Guessing that this might be the cause of
the trouble, I ran

ln -s kdm /etc/pam.d/kde

and sure enough, I can now log in again from a locked display.

It seems that kdm needs to either change the PAM service name for
logging in from a locked display (probably the right solution), or
else ship with a symlink as above.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=UTF-8) (ignored: LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/bash

Versions of packages kdm depends on:
ii  consolekit                  0.3.0-2      framework for defining and trackin
ii  debconf [debconf-2.0]       1.5.26       Debian configuration management sy
ii  kdebase-runtime             4:4.2.2-1    runtime components from the offici
ii  kdebase-workspace-kgreet-pl 4:4.2.4-1+b1 KDE greet libraries for authentica
ii  kdelibs5                    4:4.2.4-1    core libraries for all KDE 4 appli
ii  libc6                       2.9-13       GNU C Library: Shared libraries
ii  libck-connector0            0.3.0-2      ConsoleKit libraries
ii  libdbus-1-3                 1.2.14-3     simple interprocess messaging syst
ii  libpam0g                    1.0.1-9      Pluggable Authentication Modules l
ii  libqimageblitz4             1:0.0.4-4    QImageBlitz image effects library
ii  libqt4-qt3support           4.5.1-2      Qt 3 compatibility library for Qt 
ii  libqt4-svg                  4.5.1-2      Qt 4 SVG module
ii  libqt4-xml                  4.5.1-2      Qt 4 XML module
ii  libqtcore4                  4.5.1-2      Qt 4 core module
ii  libqtgui4                   4.5.1-2      Qt 4 GUI module
ii  libstdc++6                  4.4.0-5      The GNU Standard C++ Library v3
ii  libx11-6                    2:1.2.1-1    X11 client-side library
ii  libxau6                     1:1.0.4-2    X11 authorisation library
ii  libxdmcp6                   1:1.0.2-3    X11 Display Manager Control Protoc
ii  libxtst6                    2:1.0.3-1    X11 Testing -- Resource extension 
ii  lsb-base                    3.2-22       Linux Standard Base 3.2 init scrip

Versions of packages kdm recommends:
ii  kde-window-manager [x-wind 4:4.2.4-1+b1  the KDE 4 window manager (KWin)
ii  kdebase                    4:4.2.4-1     base applications from the officia
ii  konsole [x-terminal-emulat 4:4.2.4-1     X terminal emulator for KDE 4
ii  logrotate                  3.7.7-3       Log rotation utility
ii  tightvncserver [xserver]   1.3.9-4       virtual network computing server s
ii  xserver-xorg-core [xserver 2: Xorg X server - core server
ii  xterm [x-terminal-emulator 242-1         X terminal emulator

Versions of packages kdm suggests:
ii  kdepasswd                     4:4.2.4-1  password changer for KDE 4

-- debconf information:
  kdm/stop_running_server_with_children: false
* shared/default-x-display-manager: kdm
  kdm/daemon_name: /usr/bin/kdm

Reply to: