LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08:24 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

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, 08: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, 10:15 AM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

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, 11:35 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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, 01:03 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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



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

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

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration