LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RedHat 8.0 and ksh (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-8-0-and-ksh-41643/)

ajcuda 01-15-2003 08:16 PM

RedHat 8.0 and ksh
 
Hi all, i apologize if this is in the wrong area but I couldnt find an asnwer or similar problem like it (sort of). Anyway, I have redhat 8.0 and downloaded and set up the korn shell (/bin/ksh). When I startup with an init run level of 3 (text mode), everything works just as you would hope (/etc/profile -> ~/.profile -> ~/.kshrc. But what has me ripping my hair out is if I do a lever 5 runlevel (auto GUI logon, kdm I think), everything goes out the door. neither my .profile or my .kshrc get sourced. Does anyone have any idea what to do inorder to make the environment files get sourced with the kdm? Please, any help would be greatky appreciated.

wdingus 01-16-2003 09:01 PM

On the off chance your comment that you "downloaded and setup" ksh is the issue I'll just point out that ksh is included in RedHat 8 already.

# rpm -qf /bin/ksh
pdksh-5.2.14-19

There's the package name. Perhaps it will react differently?

ajcuda 01-16-2003 09:42 PM

wdingus,
thanks for taking the time out to reply. I didnt realize that it was included with the distro. However, i like to use as few rpms as possible. I figured out a quick (hopefully its all it takes) workaround to source the environment files. I just edited the line that executes the konsole to read konsole -ls
Everything seems ok now. Hopefully nothing else will pop up.
Thanks again.


All times are GMT -5. The time now is 12:13 AM.