LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-04-2005, 03:05 PM   #1
ryedunn
Member
 
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, 03:25 PM   #2
jonr
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, 03:26 PM   #3
twantrd
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.

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

Rep: Reputation: 15
Arrow

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.

Thanks

Mad.

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

Rep: Reputation: 52
Quote:
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.

-twantrd
 
  


Reply


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 03:44 PM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM
Cannot start applications in blackbox demiurge Mandriva 0 05-29-2004 04:03 AM
How to start applications minimised at login Geogod Mandriva 0 03-01-2004 01:49 PM
root owned applications won't start in KDE3 Jingle Linux - Software 6 08-07-2003 04:06 PM


All times are GMT -5. The time now is 04:11 PM.

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