We tried disabling PhysicalDesktopSharing in our labs, but did not prevent adding of the above-mentioned entry to :0.log. Are you able to reproduce problem again with enabled PhysicalDesktopSharing? If yes, could you turn on debug in the NoMachine configuration files, restart nxserver (sudo /usr/NX/bin/nxserver --restart
), and if problem happens again collect logs and send to forum[at]nomachine[dot]com?
Instructions about debug and collecting logs you can find there: https://www.nomachine.com/DT04M00076.
If you are able to reproduce please send also output command ps -ef | grep [pid]
. As “pid” use pid number from such big :0.log file (in mentioned entry you had that in first line and it was “11330”).
To prevent storing large log files you can use logrotate utility (instructions for your RedHat 6 you can find there: https://access.redhat.com/solutions/1294). Example configuration:
# cat /etc/logrotate.d/gdm
/var/log/gdm/:0.log
{
daily
rotate 2
compress
size 10m
postrotate
/bin/kill -HUP <code>cat /var/run/gdm.pid 2>/dev/null</code> 2> /dev/null || true
endscript
}