LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run a shell script on boot up? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-a-shell-script-on-boot-up-379092/)

AussieGit 11-01-2005 06:01 PM

How to run a shell script on boot up?
 
I am trying to run a shell script on boot up. It requires the GUI to be running so I have KDE start on boot but caanot for the life of me find out how to run an application. I have written a new shell script in init.d but it does not seem to run. It is very frustrating knowing just how much I do not know. I would appreciate your help!!

mugstar 11-01-2005 06:13 PM

This might be the solution you're looking for.

Tinkster 11-02-2005 12:55 AM

Re: How to run a shell script on boot up?
 
Hi,

And welcome to LQ!
Quote:

Originally posted by AussieGit
I am trying to run a shell script on boot up. It requires the GUI to be running so I have KDE start on boot but caanot for the life of me find out how to run an application. I have written a new shell script in init.d but it does not seem to run. It is very frustrating knowing just how much I do not know. I would appreciate your help!!
Just out of curiosity - why would a shell-script require the
GUI to be running? That aside, a bit more back-ground info
on what you need to do would be great :}


Cheers,
Tink

AussieGit 11-02-2005 04:57 PM

Well, I am not sure about the intricacies of the system yet. I have just stepped into the support role and am learning the ropes. The application is running on a touch screen and that is the usual interface when using the application. The mouse and keyboard are reserved for administrative tasking. The application is actually a series of shells running concurrently. I think that is all I can tell you,emmmm.....like I say, this is all new and frustrating to me!!

Thanks.

jschiwal 11-02-2005 06:10 PM

I think that your best place to call the scripts is in one of the X11 startup files. The one to use depends on how you start up the X11 session, either by xinit command, or the kdm/gdm session manager.


All times are GMT -5. The time now is 06:52 PM.