Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-11-2004, 08:18 AM
|
#1
|
|
Member
Registered: Feb 2004
Distribution: Gentoo
Posts: 58
Rep:
|
Loading applications on startup
I want to load popfile on startup. I am not a linux guru YET : )
I want to know where are the locations to place startup scripts, programs and applications
I would like to receive a pass or fail status on successful load also
Thanks
|
|
|
|
04-11-2004, 08:43 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,683
|
you've not said anythign about what interface you are using.. gnome, kde, windowmaker, blackbox, fluxbox, pekwm, ion, xfce, xpde, waimea, openbox, metacity... but adding entries to ~/.xsession should load on most window managers
|
|
|
|
04-11-2004, 08:54 AM
|
#3
|
|
Member
Registered: Feb 2004
Distribution: Gentoo
Posts: 58
Original Poster
Rep:
|
This is before x if that is the right terminology this is on system startup
|
|
|
|
04-11-2004, 08:58 AM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,683
|
ok, so outside of X there is /etc/rc.local on most systems, but still changes from distro to distro. entries in there will be executed once and only on boot.
|
|
|
|
04-11-2004, 11:49 AM
|
#5
|
|
Member
Registered: Feb 2004
Distribution: Gentoo
Posts: 58
Original Poster
Rep:
|
Where do i put the scripts in /etc/init.d to make them load and what is the command to check the status of what loaded nad what failed
Thanks
|
|
|
|
04-11-2004, 11:51 AM
|
#6
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,683
|
writing init scripts is not a particuarly easy thing. most daemon based software or other software relevant to be using an init script will generally have it's own. i would not advocate writing your own. instead just enter the shell commands you want into /etc/rc.local like i have laready said. there is no way to specifically check what has loaded and what hasn't...
|
|
|
|
04-11-2004, 12:40 PM
|
#7
|
|
Member
Registered: Feb 2004
Distribution: Gentoo
Posts: 58
Original Poster
Rep:
|
an init.d script is provided. I just dont know where to put it.
And so rc.local is the place for startup huh Thanks
Thanks for all your help do u know where i can put init.d script
thanks again
Last edited by gianh; 04-11-2004 at 12:50 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:26 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|