Local applications on a Linux desktop close unexpectedly when the NoMachine client GUI is opened

Added On: 2013-12-12 Last Modified: 2014-03-28
ID: TR12K04127 Status: Closed
Severity: Minor Products:
Target: Platform: All Platforms

When the user opens the NoMachine client GUI, all the other local applications close unexpectedly and cannot be re-launched. The client GUI is still working. Rebooting the machine doesn't help.

This problem has been reported on Red Hat Enterprise Linux server release 5.5 with the following libraries installed:

libfontconfig.so.1.1.0
libfreetype.so.6.3.10

and it's due to an incompatibility between libfontconfig shipped by the NoMachine package and libfontconfig used by the system.

The suggested workaround is to change the cache directory for fontconfig shipped by the client package:

1. Copy the file /etc/fonts.conf to /usr/NX/share

2. Modify the file /usr/NX/share/fonts.conf by removing all the <cachedir> entries, and by adding a new entry:
<cachedir>/usr/NX/var/tmp</cachedir>

3. Modify the /usr/NX/bin/nxplayer file by adding these lines just before the "exec" call:

FONTCONFIG_FILE=/usr/NX/share/fonts.conf

export FONTCONFIG_FILE