Bug#336305: kdm should launch Xsession with sh

2005-11-29 Thread Supa SoniC
On Sat, 29 Oct 2005 11:27:17, Christopher Martin wrote:
 tags 336305 confirmed pending
 stop

 On October 29, 2005 07:45, Dimitri Ara wrote:
 At least you should add

 setopt noextendglob

 in /etc/kde3/kdm/Xsession.

 This will be done in the next upload.
 (setopt shwordsplit -- setopt shwordsplit noextendedglob)

I am also using zsh and the solution above does not work. (I am only
able to login if I change my shell to bash for example).

I also tried to comment the line in /etc/X11/Xsession.options
#allow-user-xsession

But it does not work either.


Debian Testing
kdm 4:3.4.2-4
zsh 4.2.5-23
---
Jeremy Coulon



Bug#336305: kdm should launch Xsession with sh

2005-10-29 Thread Dimitri Ara
Package: kdm
Version: 4:3.4.2-4

kdm launches /etc/X11/Xsession with the user shell (zsh in my
case). This causes bugs. For example,
/etc/X11/Xsession.d/50xfree86-common_determine-startup (which is
sourced from /etc/X11/Xsession) contains :

grep -qs ^allow-user-xsession $OPTIONFILE

zsh expands ^allow-user-xession (to the list of files in the current
directory except allow-user-xession). A trivial workaround is to quote
^allow-user-xession. But this is clearly a bug of kdm, not of
Xsession. Xsession is a sh script (look at its first line) and so must
be launched with sh.

At least you should add 

setopt noextendglob 

in /etc/kde3/kdm/Xsession.

-- 
Dimitri Ara


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



Bug#336305: kdm should launch Xsession with sh

2005-10-29 Thread Christopher Martin
tags 336305 confirmed pending
stop

On October 29, 2005 07:45, Dimitri Ara wrote:
 At least you should add

 setopt noextendglob

 in /etc/kde3/kdm/Xsession.

This will be done in the next upload.
(setopt shwordsplit -- setopt shwordsplit noextendedglob)

Cheers,
Christopher Martin


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