Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558
Rep:
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.
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? )
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.