• Bug#265795: kdm does not allow user login

    From Juan Manuel Garcia Molina@1:229/2 to All on Sun Aug 15 02:50:04 2004
    From: [email protected]

    This is a multi-part MIME message sent by reportbug.

    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)
    - #
  • From Chris Cheney@1:229/2 to Juan Manuel Garcia Molina on Sun Aug 15 05:40:06 2004
    From: [email protected]

    retitle 265795 kdm sometimes does not allow user login
    severity 265795 important
    tags 265795 + unreproducible
    stop

    Even without the patch kdm works fine here so it doesn't appear to be
    RC. I will fix the issue in the next upload that is done.

    Thanks,
    Chris

    On Sun, Aug 15, 2004 at 02:21:36AM +0200, Juan Manuel Garcia Molina wrote:
    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


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBHtXq0QZas444SvIRAhu3AKCzJAmDzSjR9Yw8D0GjejfCYKj2iwCg0apl cuBmzKScZrq2AzBQbfxLBag=
    =kQXc
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Alexander G.@1:229/2 to All on Mon Aug 16 14:50:08 2004
    From: [email protected]

    Hi.

    This bug is reproducible when using tcsh as login shell. Login works
    perfectly well when using bash what might have caused the experience
    that the bug is unreproducible.

    Login seems to fail because of line 33 in /etc/kde3/kdm/Xsessions
    which produces a syntax error when run manually from a login tcsh:
    "Badly placed (."

    Regards,
    Alex.


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)