LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-15-2003, 08:16 PM   #1
ajcuda
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Fedora Core 4
Posts: 6

Rep: Reputation: 0
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.
 
Old 01-16-2003, 09:01 PM   #2
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
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?
 
Old 01-16-2003, 09:42 PM   #3
ajcuda
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Fedora Core 4
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ksh and while loops pdc Linux - Newbie 2 10-29-2005 04:13 PM
The ksh command Gins Linux - General 10 11-20-2004 06:56 PM
KSH script AquamaN Programming 2 12-08-2003 11:34 AM
Installation of ksh after Redhat Install ?? linuxRules Linux - General 2 11-06-2002 02:27 PM
some ksh scripting nabil Programming 1 03-03-2002 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration