Re: autostart nx server



WarrenHead wrote:

I've got freenx working on my freebsd 6.1. I'm wondering though how I can make it autostart when the machine has been rebooted.
All the installation 'manuals' that I have found in personal blogs cover the exact same steps each time and nothing more. Unfortunately they don't cover this.
I have found the configuration file /usr/X11R6/NX/etc/nxserver/node.conf.sample
I edited this file and moved it to /etc/nxserver/node.conf and symlinked it to /usr/NX/etc/node.conf as the file suggested.
I feel that I am missing something though.

If the program is a server, and installed from ports, most likely
a rc(8) script was installed to /usr/local/etc/rc.d or
/usr/X11R6/etc/rc.d. If this is the case, then:

freenx_enable="YES"

should be added to /etc/rc.conf (assuming that the script you
find in one of these directories is actually called "freenx"
or "freenx.sh".

Otherwise, you could think about putting the command line
to start the program in root's crontab with the "@ reboot"
time target.

HTH,

Kevin Kinsey
--

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • PCMCIA NIC eth0 could not be found
    ... but had the exact same problem with FC1. ... Now, however, eth0 is only detected and working on the first boot. ... Go into system-config-network and remove the device AND the hardware. ... Everything is absolutely fine until the next reboot. ...
    (Fedora)
  • Re: [HACKERS] friday 13 bug?
    ... I personally ran into the exact same thing with another customer. ... We had to upgrade ... them to 2.4.23 and reboot. ... > postgresql stops accepting connection. ...
    (Linux-Kernel)
  • Re: [SLE] Cautionary Tales: lm_sensors for beginners
    ... then "do its thing" to create the lm_sensors configuration file. ... Because it was time for me to go biddie-byes I didn't reboot but shut ... If you also copied the startup script, and enabled it, ... It could be the defaults for your sensors chip will ...
    (SuSE)
  • C# projection weird compilation errors
    ... sometime we can restart www service and it may work with very low chances, ... the only thing that makes it to work for sure is a reboot. ... An error occurred during the processing of a configuration file ... Assembly Load Trace: The following information can be helpful to determine ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [SLE] Cautionary Tales: lm_sensors for beginners
    ... then "do its thing" to create the lm_sensors configuration file. ... Because it was time for me to go biddie-byes I didn't reboot but shut ... If you also copied the startup script, and enabled it, ...
    (SuSE)