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

Bug#265795: kdm does not allow user login



Package: kdm
Version: 4:3.3.0-1
Severity: grave
Tags: patch


Hi.

After today's sid upgrade, I discovered that kdm does not allow the user
login.

Few investigation later, I realized the error was on
/etc/kde3/kdm/Xsession. The version in KDE 3.2.x packages invoked
general X11 session file, while the one in KDE 3.3.0 appears to be
upstream file.

As an obvious solution, I reverted the file to 3.2.x version, and it
appears to work.


There is a really silly patch attached.


Regards,
Juanma.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-ck6
Locale: LANG=es_ES, LC_CTYPE=es_ES (ignored: LC_ALL set to es_ES)

Versions of packages kdm depends on:
ii  debconf                   1.4.30         Debian configuration management sy
ii  kdebase-bin               4:3.3.0-1      KDE Base (binaries)
ii  kdelibs4                  4:3.3.0-1      KDE core libraries
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libgcc1                   1:3.4.1-5      GCC support library
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libidn11                  0.5.2-2        GNU libidn library, implementation
ii  libpam-runtime            0.76-22        Runtime support for the PAM librar
ii  libpam0g                  0.76-22        Pluggable Authentication Modules l
ii  libpng12-0                1.2.5.0-7      PNG library - runtime
ii  libqt3c102-mt             3:3.3.2-5      Qt GUI Library (Threaded runtime v
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libstdc++5                1:3.3.4-7      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  libxtst6                  4.3.0.dfsg.1-6 X Window System event recording an
ii  xbase-clients             4.3.0.dfsg.1-6 miscellaneous X clients
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-5    compression library - runtime

-- debconf information:
  kdm/stop_running_server_with_children: false
* kdm/default_servers_nolisten_tcp:
* kdm/default_servers_100dpi:
* shared/default-x-display-manager: kdm
* kdm/default_nolisten_udp:
  kdm/daemon_name: /usr/bin/kdm
--- Xsession-3.3	2004-08-15 02:08:48.000000000 +0200
+++ Xsession-3.2	2004-08-15 02:08:43.000000000 +0200
@@ -1,62 +1,5 @@
 #! /bin/sh
 # Xsession - run as user
 
-# Note that the respective logout scripts are not sourced.
-case $SHELL in
-  */bash)
-    [ -z "$BASH" ] && exec $SHELL $0 "$@"
-    set +o posix
-    [ -f /etc/profile ] && . /etc/profile
-    if [ -f $HOME/.bash_profile ]; then
-      . $HOME/.bash_profile
-    elif [ -f $HOME/.bash_login ]; then
-      . $HOME/.bash_login
-    elif [ -f $HOME/.profile ]; then
-      . $HOME/.profile
-    fi
-    ;;
-  */zsh)
-    [ -z "$ZSH_NAME" ] && exec $SHELL $0 "$@"
-    emulate -R zsh
-    [ -d /etc/zsh ] && zdir=/etc/zsh || zdir=/etc
-    zhome=${ZDOTDIR:-$HOME}
-    # zshenv is always sourced automatically.
-    [ -f $zdir/zprofile ] && . $zdir/zprofile
-    [ -f $zhome/.zprofile ] && . $zhome/.zprofile
-    [ -f $zdir/zlogin ] && . $zdir/zlogin
-    [ -f $zhome/.zlogin ] && . $zhome/.zlogin
-    ;;
-  */csh|*/tcsh)
-    # [t]cshrc is always sourced automatically.
-    # Note that sourcing csh.login after .cshrc is non-standard.
-    set -a
-    eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c set | egrep -v "^(BASH_VERSINFO|EUID|PPID|UID|_)="'`
-    set +a
-    ;;
-  *) # Plain sh, ksh, and anything we don't know.
-    [ -f /etc/profile ] && . /etc/profile
-    [ -f $HOME/.profile ] && . $HOME/.profile
-    ;;
-esac
-
-[ -f /etc/xprofile ] && . /etc/xprofile
-[ -f $HOME/.xprofile ] && . $HOME/.xprofile
-
-case $1 in
-  "")
-    exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
-    ;;
-  failsafe)
-    exec xterm -geometry 80x24-0-0
-    ;;
-  custom)
-    exec $HOME/.xsession
-    ;;
-  default)
-    exec /usr/bin/startkde
-    ;;
-  *)
-    eval exec "$1"
-    ;;
-esac
-exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $1. Check $DESKTOP_SESSION.desktop."
+# invoke global X session script
+. /etc/X11/Xsession

Reply to: