8.7. Starting and Stopping the FreeNX Serve
Problem
You don't see an nx or FreeNX daemon running anywhere, yet it works—how do you stop and start it, and how do you check the status?
Solution
With these three commands:
# /usr/bin/nxserver --start
# /usr/bin/nxserver --stop
# /usr/bin/nxserver --statusFreeNX uses services provided by ssh, so you won't see any sort of FreeNX daemon running. However, stopping FreeNX won't affect ssh or other login services at all.
Discussion
Here is what your command output should look like:
# nxserver --status
NX> 100 NXSERVER - Version 1.5.0-50 OS (GPL)
NX> 110 NX Server is running
NX> 999 Bye
# nxserver --stop
NX> 100 NXSERVER - Version 1.5.0-50 OS (GPL)
NX> 123 Service stopped
NX> 999 Bye
# nxserver --status
NX> 100 NXSERVER - Version 1.5.0-50 OS (GPL)
NX> 110 NX Server is stopped
NX> 999 Bye
# nxserver --start
NX> 100 NXSERVER - Version 1.5.0-50 OS (GPL)
NX> 122 Service started
NX> 999 ByeFreeNX is pretty low-maintenance, and usually doesn't need configuration tweaks. The main configuration file is /etc/nxserver/node.conf./usr/bin/nxserver is just a big old shell script, if you have a desire to hack at it.
See Also
Run
/usr/bin/nxserver--helpas root to see all server commandsNoMachine's Support Center:
http://www.nomachine.com/support.php NX Server System Administrator's Guide:
http://www.nomachine.com/documentation/admin-guide.php
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access