Starting Applications Automatically at Boot
  • Just looking around
    Posts: 12 from 2013/9/22
    I would like to configure MorphOS to automatically start VNC Server at boot. Is there an easy way to do this?
  • »22.09.13 - 15:17
    Profile
  • Moderator
    Kronos
    Posts: 2323 from 2003/2/24
    a) start it from s:user-startup

    b) put it into the WBStartup folder
  • »22.09.13 - 15:46
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Putting it in sys:wbstartup maybe?
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 15:46
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    boot_wb
    Posts: 874 from 2007/4/9
    From: Kingston upon ...
    Quote:

    TheCodeMan wrote:
    I would like to configure MorphOS to automatically start VNC Server at boot. Is there an easy way to do this?


    Simplest way:
    Open the vnc application drawer and drag (or copy/paste) it into sys:wbstartup.
    (If you're viewing the application folder as a list, with 'all files' showing make sure to copy its icon file 'vncserver.info' aswell).

    Other ways include launching from the s:user-startup script (which is automatically run at boot time).

    Hope you enjoy your new MorphOS system. :-)

    EDIT: Damn, I'm slow today.

    [ Edited by boot_wb 22.09.2013 - 17:02 ]
    www.hullchimneyservices.co.uk

    UI: Powerbook 5,6 (1.67GHz, 128MB VRam): OS3.1, OSX 10.5.8
    HTPC: Mac Mini G4 (1,5GHz, 64MB VRam): OS3.1 (ZVNC)
    Audiophile: Efika 5200b (SB Audigy): OS3.1 (VNC + Virtual Monitor)

    Windows free since 2011!
  • »22.09.13 - 16:01
    Profile Visit Website
  • Just looking around
    Posts: 12 from 2013/9/22
    Thanks for the quick replies. I am really liking this OS as it's super fast!

    I did copy the icon for VNC to WBStartup and it appears to start fine, but throws an error saying it can't bind to a port :-(
  • »22.09.13 - 17:01
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    I hope this is right (I don't have my computer in front of me):

    Start Shell
    Write: ed s:user-startup
    Write at the bottom: wbrun [programs directory]\[program]
    Save file and reboot.

    If it doesn't work: just remove that line again.
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 18:26
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Yasu wrote:
    I hope this is right (I don't have my computer in front of me):

    Start Shell
    Write: ed s:user-startup
    Write at the bottom: wbrun [programs directory]\[program]
    Save file and reboot.

    If it doesn't work: just remove that line again.



    It's a / on Amiga/MorphOS/*nix/OSX. The \ is only used on Windows.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »22.09.13 - 19:01
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    I picket the wrong one by accident. Sorry 'bout that :-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 19:13
    Profile Visit Website
  • Just looking around
    Posts: 12 from 2013/9/22
    So close, but not quite.

    I entered work:utilities/vncserver/vncserver in the s:user-startup file but it still won't start.

    Funny thing is I can type it in the shell and it starts with no problem. There must be something else I'm missing?
  • »22.09.13 - 19:18
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Did you write "wbrun" first? Or "run"?
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 19:20
    Profile Visit Website
  • Just looking around
    Posts: 12 from 2013/9/22
    I used wbrun, sorry, neglected to add that
  • »22.09.13 - 19:23
    Profile
  • Butterfly
    Butterfly
    Mabo
    Posts: 67 from 2010/5/3
    Hi there!

    Try this:

    myyp.png




    bye

    :)
  • »22.09.13 - 19:29
    Profile Visit Website
  • Just looking around
    Posts: 12 from 2013/9/22
    network-startup got it working!

    Thanks.
  • »22.09.13 - 19:34
    Profile
  • Just looking around
    Posts: 12 from 2013/9/22
    network-startup got it working!

    Thanks.
  • »22.09.13 - 22:25
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    But why did it work on network-startup and not user-startup? That shouldn't make a difference. Anyone have an answer to that?
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 22:38
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 from 2003/6/4
    Quote:

    Yasu:
    But why did it work on network-startup and not user-startup? That shouldn't make a difference. Anyone have an answer to that?

    network startup waits until the network is properly set up which may take a little time.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »22.09.13 - 22:44
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Zylesea,
    Quote:

    network startup waits until the network is properly set up which may take a little time./quote]

    That makes perfect sense :-)
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »22.09.13 - 23:35
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    bash64
    Posts: 958 from 2010/10/28
    From: USA
    I also use this method with Wetter (the weather app).
    It needs to startup after the network comes up.
    Mac G5 ISight 21" 2.5 gb of ram 233gb hd matshita dvd-r uj-846
    Powerbook G4 1.67ghz 2GB, ATI 9700M Pro 128mb
    1TB hd, DL-DVD Burner, Netgear pcmcia wireless card.
    ImageFX 4.5, PageStream 3.3, PhotoGenics 5.0
  • »23.09.13 - 21:19
    Profile Visit Website
  • Butterfly
    Butterfly
    Mabo
    Posts: 67 from 2010/5/3
    Zylesea,
    Quote:

    network startup waits until the network is properly set up which may take a little time.


    Is not true...

    My network takes about one minute or two :)

    [ Edited by Mabo 28.09.2013 - 17:28 ]
  • »28.09.13 - 15:26
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1220 from 2003/6/17
    bump..

    I did this.. I put it in network-startup but its not working.

    I have a run DETACH system:applications/vncserver/vncserver

    The .png posted above is no longer accessible.
  • »05.12.16 - 00:08
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    KennyR
    Posts: 878 from 2003/3/4
    From: #AmigaZeux, Gu...
    Can't you run it as a Netstack daemon? That's how network services really should be started.
  • »05.12.16 - 17:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 472 from 2006/2/23
    From: the Planet of ...
    It's S:User-Network-Startup now.

    Run >NIL: SYS:Applications/VNCServer/VNCServer

    Just works here.
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »05.12.16 - 19:20
    Profile Visit Website
  • MorphOS Developer
    geit
    Posts: 1049 from 2004/9/23
    Starting with 3.8 (AFAIR) it is "user-network-startup".

    It will wait till network is on. Here it takes around a minute, too sometimes.
  • »05.12.16 - 19:21
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > Starting with 3.8 (AFAIR) it is "user-network-startup".

    It was 3.4.
  • »05.12.16 - 21:14
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    r-tea
    Posts: 306 from 2005/3/27
    From: Poland, Zdzies...
    Quote:

    Kronos wrote:
    a) start it from s:user-startup

    b) put it into the WBStartup folder


    "Folder" sounds ugly. Better say a directory or way better a drawer .
    Mac mini G4@1,5GHz silent upgrade + Xerox Phaser 3140 + EPSON Perfection 1240U
    Commodore C64C + 2 x 1541II + Datasette + SD-Box

    I miss draggable screens... and do you? I know I'm in a minority unfortunately.
  • »06.12.16 - 20:24
    Profile