Bug#367072: kdm: fails to start KDE session with zsh as login shell

2006-05-14 Thread Christopher Martin
retitle 367072 kdm needs /usr/bin/X11 re-added to kdm session path
stop

Unfortunately, vorlon warned that adding a depend on x11-common would 
make the Sarge - Etch dist-upgrade much harder, so instead, let's 
add /usr/bin/X11 to the default KDM path. That fixes the problem (which 
I replicated on a box running Testing I have lying around) without new 
depends, since now zsh can find all the X binaries even on X11R6.9 
systems.

Cheers,
Christopher Martin


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



Bug#367072: kdm: fails to start KDE session with zsh as login shell

2006-05-13 Thread Jeremie Bouttier
Package: kdm
Version: 4:3.5.2-2+b1
Severity: normal


After upgrading from previous version 3.5.2-1, I can no longer start a KDE 
session : after logging in the session terminates immediately and I return 
to the kdm login screen (this happens with zsh as login shell and not bash). 
The .xsession-errors contains only two lines :

Xsession: X session started for bouttier at samedi 13 mai 2006, 11:35:47 
(UTC+0200)
fold: nombre invalide de colonnes: `0'

After some investigation I see that : 
 - fold can be called with parameter -w ${COLUMNS:-80} within 
/etc/X11/Xsession (from x11-common-6.9.0.dfsg.1-6) or its siblings, when an 
error has to be reported
 - /etc/kde3/kdm/Xsession executes /etc/X11/Xsession with the login shell. 
For some reason when the login shell is zsh, $COLUMNS is set to 0 which seems 
to be the cause the failure (if within /etc/kde3/kdm/Xsession I add a unset 
COLUMNS line, the session starts)
 - however this is not the end of the story, since /etc/kde3/kdm/Xsession was 
actually unmodified since the previous version where the problem did not 
occur. What changes with the new version is that the user's PATH set by kdm 
no longer contains /usr/X11R6/bin nor /usr/bin/X11. This causes error 
reports in /etc/X11/Xsession as xset, for instance, can no longer be found.

My current fix is to add to /etc/kde3/kdm/kdmrc the line :
UserPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages kdm depends on:
ii  debconf [debconf-2.0] 1.5.0  Debian configuration management sy
ii  kdebase-bin   4:3.5.2-2+b1   core binaries for the KDE base mod
ii  kdebase-data  4:3.5.2-2  shared data files for the KDE base
ii  kdelibs4c2a   4:3.5.2-2+b1   core libraries for all KDE applica
ii  libc6 2.3.6-7GNU C Library: Shared libraries
ii  libgcc1   1:4.1.0-1+b1   GCC support library
ii  libpam-runtime0.79-3.1   Runtime support for the PAM librar
ii  libpam0g  0.79-3.1   Pluggable Authentication Modules l
ii  libqt3-mt 3:3.3.6-2  Qt GUI Library (Threaded runtime v
ii  libstdc++64.1.0-1+b1 The GNU Standard C++ Library v3
ii  libx11-6  6.9.0.dfsg.1-6 X Window System protocol client li
ii  libxau6   6.9.0.dfsg.1-6 X Authentication library
ii  libxdmcp6 6.9.0.dfsg.1-6 X Display Manager Control Protocol
ii  libxtst6  6.9.0.dfsg.1-6 X Window System event recording an
ii  xbase-clients 6.9.0.dfsg.1-6 miscellaneous X clients

Versions of packages kdm recommends:
ii  logrotate 3.7.1-3Log rotation utility

-- debconf information excluded


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



Bug#367072: kdm: fails to start KDE session with zsh as login shell

2006-05-13 Thread Pierre Habouzit
tag 367072 + unreproducible moreinfo
thanks

Le Sam 13 Mai 2006 13:46, Jeremie Bouttier a écrit :
 Package: kdm
 Version: 4:3.5.2-2+b1
 Severity: normal


  - however this is not the end of the story, since
 /etc/kde3/kdm/Xsession was actually unmodified since the previous
 version where the problem did not occur. What changes with the new
 version is that the user's PATH set by kdm no longer contains
 /usr/X11R6/bin nor /usr/bin/X11. This causes error reports in
 /etc/X11/Xsession as xset, for instance, can no longer be found.

 My current fix is to add to /etc/kde3/kdm/kdmrc the line :
 UserPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

/usr/X11R1/bin is a symlink to /usr/bin as is /usr/bin/X11.

I suspect you ran into a problem during your xorg upgrade. I use zsh, 
and my login just works fine.

please ensure that the following stands :

 [madcoder hades] ll /usr/X11R6/bin /usr/bin/X11
 lrwxrwxrwx 1 root root 1 2006-05-13 11:05 /usr/bin/X11 - .
 lrwxrwxrwx 1 root root 8 2006-04-30 10:35 /usr/X11R6/bin - /usr/bin


If not, you ran into a x11-common upgrade problem, and bug will be 
reassigned to x11-common.
-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgp81DvfQLS0u.pgp
Description: PGP signature


Bug#367072: kdm: fails to start KDE session with zsh as login shell

2006-05-13 Thread Jeremie Bouttier
Indeed /usr/bin/X11 is a symlink to /usr/X11R6/bin, but /usr/X11R6/bin 
is a real directory. I run testing so I have not upgraded to xorg 7.0 yet.



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



Bug#367072: kdm: fails to start KDE session with zsh as login shell

2006-05-13 Thread Pierre Habouzit
tag 367072 =
retitle 367072 missing Depends: upon recent x11-comon
thanks


 /usr/X11R1/bin is a symlink to /usr/bin as is /usr/bin/X11.

 I suspect you ran into a problem during your xorg upgrade. I use zsh,
 and my login just works fine.

 please ensure that the following stands :

  [madcoder hades] ll /usr/X11R6/bin /usr/bin/X11
  lrwxrwxrwx 1 root root 1 2006-05-13 11:05 /usr/bin/X11 - .
  lrwxrwxrwx 1 root root 8 2006-04-30 10:35 /usr/X11R6/bin - /usr/bin


 If not, you ran into a x11-common upgrade problem, and bug will be
 reassigned to x11-common.

user says: /usr/bin/X11 is a symlink, but not /usr/X11R6/bin.

We should depend upon a 7.0 version of x11-common.
-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgpYkyylEP1aK.pgp
Description: PGP signature