On Thursday 08 January 2004 11:35, Fred Labrosse wrote: > All, > > In KDE, when I use a konsole or xterm, the prompt is not what it should > be. What I mean is that it is not what is specified in /etc/profile. It > is fine when I do an "su - user" from the same konsole and it is fine in > non X mode. > > I did not check /etc/profile was read but startkde does contain the > "--login" fix so it should. Could it be that the TERM variable is not set > or set to "dumb" when /etc/profile is read in startkde? > > Any more ideas? > > Cheers, > > Fred Konsole probably doesn't startup a login-shell, so /etc/profile, ++ is not read. It does not inherit those envs either, I've noticed the same problem. It can easily be remedied by adding '/bin/bash --login' as the session executable in the session configuration of Konsole. I've only experienced this problem when using XDM/KDM or the like (that is direct login into X, not via a VT first). The 'startkde' script is supposedly executed as a login bash instance. But the environment is only inherited to Konsole when logging in via a VT first, then starting up X manually. Don't ask me why, because I haven't bothered thinking about it.
-- < �yvind Stegard <[EMAIL PROTECTED]> < University of Oslo, Dept. of informatics < http://www.stegard.net/ < 0x2B | ~0x2B - Hamlet -- [EMAIL PROTECTED] mailing list
