[Bug 7620] unable to start kde with zsh set as login shell
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Fri Mar 25 06:01:09 CST 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=7620
Ubuntu (kubuntu) | kdm
------- Additional Comments From alankila at bel.fi 2005-03-25 12:01 UTC -------
I changed the zsh-specific portion of /etc/kde3/kdm/Xsession as follows:
*/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
emulate -R sh
;;
My change is on the last line. I'm simply asking it to come back to sh emulation
after it's done reading the user's zsh wares. This seems to fix the problem for me.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kubuntu-devel
mailing list