[Bug 39599] kde session doesn't load user's path or other environment settings
nigel brown
nigebrown at gmail.com
Fri Apr 14 20:57:00 UTC 2006
Public bug reported:
Affects: kdebase kdm (Ubuntu)
Severity: Normal
Priority: (none set)
Status: Unconfirmed
Description:
Package: kdm_4%3a3.5.2-0ubuntu0breezy1_i386.deb
Applications launched from the taskbar or from the 'Run Command'
dialogue box fail to start, because they are not on the path available
to kde at startup. Likewise for xterms, rxvt, etc., when not invoked
with login shells.
Affects 'csh' or 'tcsh' users with 'set noclobber'.
Problem traced to '/etc/kde3/kdm/Xsession' which invokes a (t)csh to
determine the user's environment, writing that data to a temporary file,
which is then sourced by Xsession to obtain these settings.
Incorrect:
$SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) so
urce ~/.login; /bin/sh -c export > $xsess_tmp"
Fixed:
$SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) so
urce ~/.login; /bin/sh -c export" > $xsess_tmp
Enjoy.
--
kde session doesn't load user's path or other environment settings
https://launchpad.net/malone/bugs/39599
More information about the kubuntu-bugs
mailing list