LinuxQuestions.org
Help answer threads with 0 replies.
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 09-17-2004, 04:26 AM   #1
rulirahm
LQ Newbie
 
Registered: Sep 2004
Location: Indonesia
Distribution: Fedora Core 3
Posts: 19

Rep: Reputation: 0
Startup program in SUSE Linux


How 2 conf. the startup program in SUSE Linux? Like windows, it can conf. startup program at the "Start Menu + Programs + StartUp"

Where's the website 2 d/l samba source prog. so ican install it 2 my SUSE?

I'm using the SUSE LInux 9.1 (linux) with KDE 3.2.
 
Old 09-17-2004, 04:46 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
First off figure out your default runlevel. Lets says it's 5. The startup files you are likely looking for or wanting to add would go in

/etc/rc.d/rc5.d/

There are S##NAME files in that folder. Which follow this guideline

S = startup
## = the order in which they execute
NAME = simply reminds you what it is doing.

There are also files for killing processes.


I suspect samba.org would have the sources for you, however you could use YAST Online Update and have it install the latest version.
 
Old 09-22-2004, 08:41 PM   #3
rulirahm
LQ Newbie
 
Registered: Sep 2004
Location: Indonesia
Distribution: Fedora Core 3
Posts: 19

Original Poster
Rep: Reputation: 0
Configure a new startup program in SUSE

Quote:
Originally posted by musicman_ace
First off figure out your default runlevel. Lets says it's 5. The startup files you are likely looking for or wanting to add would go in

/etc/rc.d/rc5.d/

There are S##NAME files in that folder. Which follow this guideline

S = startup
## = the order in which they execute
NAME = simply reminds you what it is doing.

There are also files for killing processes.


I suspect samba.org would have the sources for you, however you could use YAST Online Update and have it install the latest version.
Thank u for the answer, but btw, how to put/configure a new program/app so it can startup automatically when I'm loging with my SUSE?
 
Old 09-23-2004, 02:02 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
If you do an "ls /etc/rc.d" you will see executables for that you will symbolically link from within the "/etc/rc.d/rc#.d"

So lets say I have the following.
The program I want to run is called firewall.sh
My default runlevel is 5

I put firewall.sh inside "/etc/rc.d"
chmod 755 firewall.sh to make it executable
then I change directory to "/etc/rc.d/rc5.d".
Now I create a symbolic link to it "ln -s ../firewall.sh S80firewall"

The S means it will execute on startup. 80 is the number in succession you want it to execute. and then name it

Off the top of my head, that should be all you need to do.

Last edited by musicman_ace; 09-23-2004 at 02:03 AM.
 
Old 09-23-2004, 03:04 AM   #5
rulirahm
LQ Newbie
 
Registered: Sep 2004
Location: Indonesia
Distribution: Fedora Core 3
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by musicman_ace
If you do an "ls /etc/rc.d" you will see executables for that you will symbolically link from within the "/etc/rc.d/rc#.d"

So lets say I have the following.
The program I want to run is called firewall.sh
My default runlevel is 5

I put firewall.sh inside "/etc/rc.d"
chmod 755 firewall.sh to make it executable
then I change directory to "/etc/rc.d/rc5.d".
Now I create a symbolic link to it "ln -s ../firewall.sh S80firewall"

The S means it will execute on startup. 80 is the number in succession you want it to execute. and then name it

Off the top of my head, that should be all you need to do.
Ok, the apps that I want 2 conf 2 run automatically at startup is windows apps. Im using crossover and install lotus notes client for windows via crossover and it work. lotus notes email client it has app that call notes minder (will notice us if we receive a new mail) and i want to put it at my suse's startup program. the apps name is "nminder.exe".

Can i conf. it at start up?
 
Old 09-23-2004, 03:24 AM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
not sure on this one. I'm more of a commandline junkie. Hopefully someone will come along that can help with the gui.

Just for grins and giggles, you may want to post whichever Xwindows manager you use so they have an idea
 
Old 09-23-2004, 09:01 AM   #7
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
In GNOME there is a simple user interface for it, so that you can add programs to be started when you log in. But, SuSE uses KDE and I don't know how to do it in that.
 
Old 10-12-2004, 06:27 AM   #8
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
How does one know the runlevel? I have following directories in my /etc/rc.d/ directory:
rc0.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d, rcS.d

what it is this rcS.d?

I wanted to run pure-ftpd in strartup. So, I followed all the steps you have suggested (in rc5.d).

But now I am unable to login in termical console, because pure-ftpd is not passing control to other processes, I mean, until I kill this process manually, I am unable to run other startup processes.

It would be solved by command
Code:
$pure-ftpd &
I was going to run it manually, but how to do this in startup?

Last edited by anupamsr; 10-12-2004 at 08:17 AM.
 
Old 10-12-2004, 03:32 PM   #9
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
it should tell you in the inittab normally localed inside /etc/

/etc/inittab
 
  


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
SuSE 9.3, Linux Noobie Startup Problem Fritz The Cat Linux - Newbie 4 10-15-2005 10:03 PM
SuSE Linux 9.3 Pro hangs during startup post-installation. Krish4479 Linux - Software 1 08-04-2005 01:20 PM
Run VSFTPD on Startup of Suse Linux 9.1 Blaubart Linux - Software 3 03-26-2005 09:12 AM
trying to create a startup disk for the linux fedora core program grid1214 Linux - Newbie 3 06-30-2004 12:04 PM
program similar to Powerpoint on SuSE Linux 9.0? SuSE_User Linux - Software 5 02-21-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 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