Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Application startup at boot time
Results 1 to 10 of 10

Thread: Application startup at boot time

  1. #1
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Application startup at boot time

    I wish to start as a normal user a few apps at start time. Normally I would say "Hey -- Cron does that !!" but not for this -- I think....

    I got a few apps I would like to start and display its output at a tty screen (like tty11 and 12) and would like to know if there is an app that would do that, or even better an app that is probably preinstalled to do this. I really hate having to do this any time I reboot, or if my asshole roomate hits my reset button for what ever reason (Hey your cdrom stopped working in linux, it wouldnt eject... Dumbass its mounted, thats why.)

    So, any hints?

  2. #2

    Re: Application startup at boot time

    Go to hints.linuxfromscratch.org and read the inittab hint. It will tell you how to have programs running continuuously on a given TTY.

    The best part is, if you ^C to quit the program, it starts again

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: Application startup at boot time

    Thanks dude! I'll give it a whirl.

  4. #4
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: Application startup at boot time

    It works, but not the TTY part/ Always tries to put it at tty1. I must be doing something wrong.

    Anyway thanks again

  5. #5

    Re: Application startup at boot time

    what does your inittab look like?

  6. #6
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: Application startup at boot time

    Well I hat the tty11 and tty12 at the end like the terminal screens (tty1-6). But the problem I have is that they like starting at tty1 together, for example --

    linux boot goes to X, I switch to 11 and 12 nada, goto 1 and the app is running. I look at 2, nada. Goto 1 and kill it, app2 launches. Weird.

    Well, how should an app located at ~schotty/dir/app look? I understand to a degree what it should be liek (based of the man page) but no luck for these.

  7. #7

    Re: Application startup at boot time

    Well I hat the tty11 and tty12 at the end like the terminal screens (tty1-6). But the problem I have is that they like starting at tty1 together, for example --

    linux boot goes to X, I switch to 11 and 12 nada, goto 1 and the app is running. I look at 2, nada. Goto 1 and kill it, app2 launches. Weird.
    That is weird. Why don't you post your /etc/inittab so I can see if you perhaps wrote something wrong into it?

    Well, how should an app located at ~schotty/dir/app look? I understand to a degree what it should be liek (based of the man page) but no luck for these.
    I have this line in my inittab:

    Code:
    log:2345:respawn:/bin/badlogin >/dev/tty12
    Which runs my /bin/badlogin script on tty12.

  8. #8
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: Application startup at boot time

    Hmm, I didnt use the flow director. Let me try that and see if it helps.

    Thanks again. Last few posts werent at home, rather at work. SO I couldnt post the inittab If I still cant get it, Ill post now that I am at home now.

  9. #9
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re: Application startup at boot time

    well, the flow director did it as well as my missing of the fact that it is a /dev/ttyX to get it to the screen

    Thanks!

  10. #10

    Re: Application startup at boot time

    No problem...

Similar Threads

  1. Getting madwifi, wpa_supplicant and dhcpd to run at boot time
    By JoeyJoeJoe in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 07-25-2007, 02:34 AM
  2. Mandrake takes a long time to boot
    By in forum Linux - Software, Applications & Programming
    Replies: 29
    Last Post: 10-19-2003, 11:00 PM
  3. Karamba modules on boot, startup services
    By vwgtiturbo in forum Linux - General Topics
    Replies: 3
    Last Post: 07-02-2003, 02:22 PM
  4. long time to boot linux
    By police in forum Linux - General Topics
    Replies: 8
    Last Post: 09-01-2002, 11:13 AM
  5. Faster Startup time for Applications
    By texstar in forum Linux - General Topics
    Replies: 5
    Last Post: 09-09-2001, 03:56 AM

Bookmarks

Posting Permissions

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