LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-02-2009, 09:24 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 473

Rep: Reputation: 34
How to start a service at boot time.


I just set up Suse 11.1 KDE and it really isn't bad.

I also downloaded and installed the NX client, node and server.

I noticed that after I start the system the NX server isn't started and I have to go into YAST and start it manually.

I know there must be some way to have the nxserver start up with other services at boot time but I just don't know where in the system to make an entry to get this done.

I also noticed that there is a service called nxsensor which does get started at boot time. I looked at the code in nxsensor and I was also wondering if this is supposed to start nxserver at boot time?

If someone would be good enough to advise where I could include the entry to have the nxserver started and if so what the command would be, if not through YAST it would really be appreciated.

Thanks
 
Old 07-02-2009, 09:49 PM   #2
internalkernel
LQ Newbie
 
Registered: Jun 2009
Location: /dev/null
Distribution: Jaunty 9.04
Posts: 15

Rep: Reputation: 0
Sorry I'm not much of a SUSE guy... but, here's some stuff I found rather quickly:

http://www.susetips.com/2009/06/29/h...cally-at-boot/

hope that helps...
 
Old 07-03-2009, 11:15 AM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 473

Original Poster
Rep: Reputation: 34
Thanks but sorry no help.

I also went to yast and started the nxserver but I have to do this every time I reboot.
 
Old 07-03-2009, 12:35 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Some things to try:
1] K - System -> Advanced -> System Services. Configure NX to start at boot.

2] Make an entry for NX in /etc/init.d Take a look at the entry for ssh in that directory and you'll get the idea. Then take a look at the files in /etc/rcx.d where x is your runlevel, including the README you'll find there.

3] The lazy way: put the command you use to start NX in the file /etc/rc.local just before the final exit 0 and it will be executed at boot by the user root

4] I just took a look at internalkernel's link. I'm not much of a SUSE guy either but it looks as though yast can do [1] above for you. You'll have the option (somewhere) not just to start the NX server, but to have it start at boot (Maybe R-click it (NX) to see this option? )
 
Old 07-03-2009, 02:03 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by swamprat View Post
Thanks but sorry no help.

I also went to yast and started the nxserver but I have to do this every time I reboot.
Why is that no help? That link looked to be *exactly* what you asked for. If it's not right, you need to provide feedback about why it didn't solve your problems, not just dismiss it.
 
  


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 to set a service to start any time the system reboot phongly2000 Linux - Newbie 3 01-16-2009 12:48 PM
How to add a service at boot time cherif SUSE / openSUSE 2 04-21-2006 04:30 PM
starting a service at boot time fallen26 General 5 07-31-2004 01:21 PM
how to start a service at boot senthilkumar Slackware 2 07-19-2004 08:33 AM
start the service for every boot time yuva_mca Linux - General 3 03-09-2004 02:18 PM

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

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