How to autoload a program when login

Can anyone advice me on with file must I edit to call the executable file of a program so that it will load up automaticaly when login? I am using solaris and I have tried calling the program from files like .profile or login but both file to load properly? ???

the program that I have tried to load is netscape.
Thanks
nigelcctAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mpassCommented:
If you are using CDE, from your home directory,  you need to edit your .dt/sessions/home/dt.session file. Follow the example of the other commands already there.

Otherwise, try editing your .xsession file in your home directory. Don't forget to run them in the background (i.e. 'xearth &').

Please leave a comment if you need more help. Thanks

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RandybCommented:
You should have no problem starting a program from the .profile or login scripts .cshrc or .kshrc etc... (just find which file is being apllied or used at login ...shell dependant). and and long as you can manually start the program itself from a command line without going through any other sub-routines first.

first make sure your .profile or login script file is reading your environment variables and then create a script file that cd's to your netscape directory and runs the startup program name. CD is crucial ...you need to be in the working directory or at least have a PATH set to it in your environment.

Typically the environment is the cause of troubles like this.

Good luck.

Oh and Mpass ..that really should have been a comment not an answer as it is really incomplete and assumes things that you dont knoww are valid (CDE etc...) ... no biggie ..just a thought.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.