8.12. Troubleshooting FreeNX

You cannot connect—help!

Check the server logfile first, /var/log/nxserver.log. If the logfile is not detailed enough, go into /etc/nxserver/node.conf, and bump up the logging level. Available levels are 0–7. Level 6 is usually sufficient:

	NX_LOG_LEVEL=6

Nxclient has its own log viewer in the NX Session Administrator, at Session → View session log.

The logfiles don't always tell you what you need to know. Here are a number of common problems that are easy to remedy:

  • Make sure TCP port 3389 is not blocked on the clients.

  • Make sure TCP port 22 is not blocked on the server.

  • Make sure you are using the correct hostname or IP address of your FreeNX server.

  • Make sure that you have distributed the correct client keys—probably the most common error is creating a new key pair when installing the server, and forgetting to distribute the client key.

  • Check filepaths in /etc/nxserver/node.conf and in the NX Clients.