Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: uuuh startup  (gelezen 1080 keer)

Gast

  • Gast
uuuh startup
« Gepost op: 2006/10/15, 10:02:37 »
Hoi! hoe kan je ervoor zorgen dat een bepaald programma opstart tijdens het opstarten? (kromme zin :S)

Bij de meeste programma's kan je dit gewoon kiezen als optie maar als dat niet mogelijk is wat dan?

Offline vilamar

  • Lid
uuuh startup
« Reactie #1 Gepost op: 2006/10/15, 10:17:39 »
Systeem > Voorkeuren > Sessies > tabblad 'Programma's starten'

uuuh startup
« Reactie #2 Gepost op: 2006/10/28, 11:07:04 »
en hoe doe je dit in de commandline (server)?
Ik wil No-Ipclient bij boot opstarten zodat hji mijn dynIP met de DNS sync.

Arvid

ifokkema

  • Gast
uuuh startup
« Reactie #3 Gepost op: 2006/10/28, 11:59:21 »
Je zult een init script moeten hebben, en dat moeten laten activeren via /etc/rc#.d... Er staan best een aantal handleidingen op het internet om dit te doen, succes :)

uuuh startup
« Reactie #4 Gepost op: 2006/10/28, 14:03:24 »
ik heb volgende gevonden:
Citaat
to make the noip2 program run automatically every time the pc boots, am I right? Luckily this is a breeze to do. Linux looks at the "rc.local" file every time the computer starts and runs all programs in the list. Some might argue there are better ways to have programs start at boot time, but this is by far the easiest and it works just fine. To find the location of the noip2 client, type whereis noip2 and the console will show you where the file is located. Use this information in the next step if it differs from mine. While you're still logged in as root, type echo '/usr/local/bin/noip2' >> /etc/rc.local
Echter indien ik sudo echo '/usr/local/bin/noip2' >> /etc/rc.local intyp. Krijg ik
-bash: /etc/rc.local: Permission denied

Met sudo heb ik toch beheerdersrechten?

Arvid

ifokkema

  • Gast
uuuh startup
« Reactie #5 Gepost op: 2006/10/28, 16:12:22 »
Citaat van: Burnass
Met sudo heb ik toch beheerdersrechten?
Ja, maar alles achter de >> wordt weer als jouw user gerund :)
Dan wordt het gksudo gedit /etc/rc.local :)

uuuh startup
« Reactie #6 Gepost op: 2006/10/29, 00:43:06 »
Het werkt! Bedankt!

Vriendelijke groeten,
Arvid Van Essche