Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
How do I make programs start up when I boot my computer. Is there a start up folder Like windows or do I have to do something else. I install ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16

    auto starting programs


    How do I make programs start up when I boot my computer. Is there a start up folder Like windows or do I have to do something else. I install a DNS client and want it to run when I boot my computer. (dns2go.com)


    P.S. I am a newbie


    Thank you
    Kevin

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    One method is to put the commands that start your app in /etc/rc.local.

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16
    I am unable to find that folder???? Is it a hidden folder or something??

    /etc/rc.local.



    Kevin

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    No its not hidden (hidden files start with a dot in the name). If you can't find /etc/rc.local, try /etc/rc.d/rc.local and /etc/init.d/rc.local.

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16
    well I can find /etc/rc.d, but all I see under that folder is a file "rc.local" which is a shell script, whatever that is.

    dont see the rc.local FOLDER though

  6. #6
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    rc.local is a file and not a directory. You edit that file and enter the commands you need to start your application.

  7. #7
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16

    Unhappy

    oh I C, I think this stuff is getting to deep for me right now. I am new to this Linux stuff. Hell, I had a hard enough time just installing the program. This is nothing like Windows that's for sure. I figured it would just be point and click to install, and then move the file to a start up folder. The 2 program I want to run on start up are VNC server, and DNS2go. Just in case if my computer gets reboot while I 'm away, I can still login remotely.

    Took me also a day & half to figure out how to install DNS2go.
    Wish I had some cd or dvds movies that teach you all this stuff


    Kevin

  8. #8
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16

    Unhappy

    # Description: This script will be executed *after* all the other init scripts.
    # You can put your own initialization stuff in here if you don't
    # want to do the full Sys V style init stuff.


    What does "Sys V style init " mean????

  9. #9
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You can find out what sysv init style is by browsing through this article as well as this one.
    Last edited by daark.child; 11-11-2008 at 05:45 AM. Reason: fix typos

  10. #10
    Just Joined!
    Join Date
    Jan 2007
    Posts
    16
    O.K. thanks for the info and thanks for the help!!



    Kwdaye

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •