Programs on startup
Hey everyone,
I was curious as to where Linux looks to when starting programs on bootup? I mean I want to know how to control certain programs being opened automatically on bootup. I am using redhat 9.0, thanks for the info. |
They will usually be located in your /etc/rc.d directory.
|
Ok, not sure what is the deal. However, I am a n00b so there are just stuff like init.d, rc0.d, etc. in there. I was wondering what these are and such. The problem is I use kmess and it always starts up 2 different sessions when I start X and I want to be able to fix this then start a few things on bootup. Thanks
|
Redhat 9.0 Boot Process, Init, and Shutdown
|
Download the Rute guide and the LNAG immediately!
You can see your x session errors in the file /home/<user>/.xsession-errors. The entire system log is in the file /var/log/messages. Another error tool is the command dmesg # Linux filesystem structure Directory Navigation Help File Filesystems, Directories, and Devices Help File # Redhat links RedHat Linux Manuals Maximum RPM rpmfind Easier software management: apt4rpm - Red Carpet RedHat 8.0 Tips & Tricks # Redhat 7.3 down configuration commands setup leads to several configuration tools # Redhat 7.3 up configuration commands Configure soundcard: redhat-config-soundcard Configure X server: redhat-config-xfree86 Configure network: redhat-config-network # Redhat 9.0 Redhat 9.0 Upgrading the kernel Building a custom kernel |
Good link, thanks alot. One more question though. For example, kmess starts 2 sessions when I start X, if I were to change this how would I do that? I mean I guess I am looking for an easy way to just add commands (or programs) to start or disable then on boot... Thanks again for the quick replys
|
I don't know what kmess is, sorry.
Perhaps you haven't saved your session (I am guessing you are using Gnome, it helps to tell stuff you are using when asking questions) settings. If you are wanting to start with nothing launched, close everything and go through the menu until you find something about programs>settings>Session>Save Current Session. Then I would start wanted programs with the file /home/<user>/.xinitrc. Here is mine: Code:
#exec gnome-session |
Well here it is ... I am using kde and I can't get the session manager thing to open up. Also that file you were talking about is not created in my home dir cause I never use gnome. Anyway hope that will help you out and thanks so much for the help. Also I have tried closing everything and all that jazz, but it still messes up.
P.S. Kmess is a MSN clone for kde |
All times are GMT -5. The time now is 02:50 PM. |