Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-04-2005, 02:05 PM   #1
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
start applications on boot

example: "service courier-imap start" works just fine, but it never starts on boot, how do I get this and other applications auto-start?
Old 02-04-2005, 02:25 PM   #2
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Look in your Mandrake Control Center under "System > Services" and you'll find a list of all the services that are available and their status. You can switch between start-on-boot and don't-start-on-boot there.
Old 02-04-2005, 02:26 PM   #3
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Redhat makes things very easy. I think this command will work on mandrake as well:

1. chkconfig --levels 2345 <application> on

This will make the application start up on run levels 2-5.

If chkconfig doesn't work, then create an init script for it and do a symlink to it from your current run level.

Let me know if you need help.

Old 08-10-2005, 09:37 PM   #4
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Rep: Reputation: 15

I'm trying to initiate my vncserver on my machine on boot. I did the previous suggestion, didn't work. Using Fedora Core 2. Tried graphic and command line based methods to get it to start. It even exists properly (afaik) within my /etc/rc5.d/ folder and /etc/rc3.d/ folder. Totally stumped.

Note: I need to just run "vncserver" in order to be able to login. "service vncserver stop" says [ OK ] but doesn't disable login capabilities! Odd.



Last edited by MadTurki; 08-10-2005 at 09:39 PM.
Old 08-10-2005, 10:06 PM   #5
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
It even exists properly (afaik) within my /etc/rc5.d/ folder and /etc/rc3.d/ folder
Ok, if it exists properly in those runlevels then there should be a startup script in those directories as well - is there a startup script there?

Another alternative (if mandrake has one) is to put 'service vncserver start' in your /etc/rc.local.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I start graphical applications via cron? p0ser Linux - Software 7 01-21-2005 02:44 PM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
Cannot start applications in blackbox demiurge Mandriva 0 05-29-2004 03:03 AM
How to start applications minimised at login Geogod Mandriva 0 03-01-2004 12:49 PM
root owned applications won't start in KDE3 Jingle Linux - Software 6 08-07-2003 03:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration