LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-01-2005, 06:01 PM   #1
AussieGit
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Angry 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!!
 
Old 11-01-2005, 06:13 PM   #2
mugstar
Member
 
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
This might be the solution you're looking for.
 
Old 11-02-2005, 12:55 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 11-02-2005, 04:57 PM   #4
AussieGit
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 11-02-2005, 06:10 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
  


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
Run shell script in RedHat after boot dmorse Linux - General 1 08-23-2005 01:54 PM
Shell script to run pl/sql script. colly Linux - General 1 09-09-2004 06:49 AM
how do i run shell script? krt47 Linux - Newbie 4 08-02-2004 09:29 AM
RH8 - how to automatically run a shell script at boot time nu-B Linux - Newbie 2 11-03-2003 02:47 PM
RH8 - how to automatically run iptables rules shell script at boot time nu-B Linux - General 1 10-29-2003 08:38 PM

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

All times are GMT -5. The time now is 06:29 AM.

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