autostart nx server

2007-03-31 Thread WarrenHead

Hi,

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.

Cheers, Warren
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: autostart nx server

2007-03-31 Thread Kevin Kinsey

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]