Discussion:
question about ksh startup undef Fedora Core
(too old to reply)
surfer dude
2005-09-05 00:52:09 UTC
Permalink
I am running a Fedora Core system.

I created a "regular system user" for myself and specified the Korn
Shell (ksh) as the shell for the user. When I start a Konsole session
from the commands menu of KDE the .profile is not processed. I can
execute the .profile manually.

The .profile file is both readable and executable.

Any ideas on why the .profile is not being executed ?
HASM
2005-09-05 14:55:03 UTC
Permalink
Post by surfer dude
I created a "regular system user" for myself and specified the Korn
Shell (ksh) as the shell for the user. When I start a Konsole session
from the commands menu of KDE the .profile is not processed. I can
execute the .profile manually.
Read man ksh. Scroll down to the Invocation section. I'd say KDE is not
invoking ksh as an interactive shell.

-- HASM
Moe Trin
2005-09-05 22:42:38 UTC
Permalink
In the Usenet newsgroup comp.os.linux.questions, in article
Post by surfer dude
I created a "regular system user" for myself and specified the Korn
Shell (ksh) as the shell for the user. When I start a Konsole session
from the commands menu of KDE the .profile is not processed.
Run a 'ps -w' command from the 'Konsole' - are you actually running the
Korn shell, or is it actually running Bash? Bash will run a .profile
if one exists, but only if .bash_profile and .bash_login do not exist
in the user's home directory.

Many users today have their system configured to boot into a GUI login,
and that may be screwing things up. Can you boot to the command line
(edit /etc/inittab, and set the 'si' line to 3, not 5 - though I'm sure
there is some GUI setup that does the same trick), then start X from the
command line (runx or startx should do it).

Old guy

Loading...