Results 1 to 4 of 4

Thread: How to start my own program when boot

  1. #1
    Join Date
    Aug 2009
    Location
    Shanghai
    Posts
    4

    Angry How to start my own program when boot

    I use Opensuse 10.2(Gnome) kernel 2.6.18
    I want to start my own program (like:"Ownprogram")when I boot the computer.
    but don't want goto Xwindows or command line interface.
    How can I do it.
    Thanks in advance.[/

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: How to start my own program when boot

    Create or edit /etc/profile.local and start the program from there. It will start during boot, before X, without you having to invoke the command from CLI.
    To test, type 'init 3' on the options line in GRUB, log in to console and do 'su -c Ownprogram'. If that does what it should do, simply add a line 'Ownprogram' to /etc/profile.local

    Good luck
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Aug 2009
    Location
    Shanghai
    Posts
    4

    Thumbs up Re: How to start my own program when boot

    abosolutly good.
    How you know it? from some books or learn by yourself?

  4. #4
    Join Date
    Jan 2009
    Location
    PARADISE
    Posts
    929

    Default Re: How to start my own program when boot

    Knowledge can be gathered in numerous places. I recommend reading, asking and testing. It's called "learning by doing" by the way. Enjoy your time at the forums.
    CHECK OUT THESE GitHub PROJECTS!

    https://secupwn.github.io/Android-IMSI-Catcher-Detector/
    https://github.com/SecUpwN/Spotify-AdKiller

Posting Permissions

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