[FreeNX-kNX] Where are the log files
Terje Andersen
terander at guard.zapto.org
Thu Jul 17 19:54:20 UTC 2008
On Wed, 2008-07-16 at 07:07 -0700, nathy wrote:
> Hello
>
> I have installed freenx, but I can't find any log files.
You should check the node.conf file and enable/configure logging there
using these two directives:
NX_LOGFILE=/var/log/nxserver.log
NX_LOG_LEVEL=[0-7]
NX_LOG_SECURE=[0/1]
The loglevel should be set to at least 5 when doing debugging.
Check the existence of the file you have in NX_LOGFILE (default
is /var/log/nxserver.log) and the permissions/ownership on that file.
If you don't have that file, do
root:# touch /var/log/nxserver.log
root:# chown nx:nx /var/log/nxserver.log
You have two sets of additional logs; in the users <homedir>/.nx/ on the
server and on the client. When debugging session startup errors which
the nxserver.log indicates, you should check these logs for more
details. These logfiles are on some distros set to automatically
emptying when the session closes, this can again be controlled in the
node.conf file. Check this directive and set it to 0 if the users
session logs are empty/nonexisting:
SESSION_LOG_CLEAN=0
Regards,
Terje
More information about the FreeNX-kNX
mailing list