Results 1 to 5 of 5

Thread: How to autostart a mono application on boot?

  1. #1

    Question How to autostart a mono application on boot?

    Hi,
    I have a mono application and this is how we start the thing:
    $ mono program.exe

    I would like the program.exe to run at boot up, how would I go and do this? FYI - The machine is set to auto logon.

    Using OpenSUSE 11.1 - GNOME

    Looking forward to your answers.

    Cheers,
    UTN

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: How to autostart a mono application on boot?

    Do you mean to start at boot or at login. These are two different things, even if you use autologin.

    When at boot it will most probably be run as root. This must be done, by either adding it to /etc/init.d/boot.local (which is executed ver early in the boot sequence, maybe to early for your application), or by providing a script based on /etc/init.d/sceleton.

    When at login it will be run as the user that logs in. And it will be run again when that users logs in for a second time, etc. This must be done in a Gnome way, where I can not help you, but I have no doubt others can.
    Henk van Velden

  3. #3

    Default Re: How to autostart a mono application on boot?

    Hi HCW,
    Thank you for your reply and explanation.
    Yes, I would like this to autoload after the user Logs in, which is done automatically.

    Look forward for others to reply.
    Cheers,
    UTN

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: How to autostart a mono application on boot?

    Quote Originally Posted by utneflyte View Post
    Hi HCW,
    Thank you for your reply and explanation.
    Yes, I would like this to autoload after the user Logs in, which is done automatically.

    Look forward for others to reply.
    Cheers,
    UTN
    Add it in Sessions in the Gnome Control Center.

  5. #5

    Thumbs up Re: How to autostart a mono application on boot?

    Thank you chief_sealth, worked as promised.

    Cheers,
    UTN

Posting Permissions

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