How to store store NX 3.5.0 session files in a place different to the default User NX directory
By default, NX Client uses the .nx directory in the user's home directory to store all its configuration files. This same directory is used by NX node to store temporary files and session logs at the time a new session is being run.
The User NX directory on the client side can be configured by the user via the NX Client GUI -> Environment panel.
On the node side, the NX node configuration file, namely /usr/NX/etc/node.cfg, allows you to specify an .nx directory different to the default:
#
# Specify a different path from the default, i.e. user's home, where
# the .nx directory has to be created to store session files. If it
# doesn't exist yet, NX node will try to create a sub-directory for
# each of the users starting a session there, named as username, and
# will create the .nx under that sub-directory. For example, if this
# key is set to /tmp/nxdir/, when user nxtest runs the first session,
# the node will try to create the /tmp/nxdir/nxtest/.nx directory.
# The directory specifed in the UserNXDirectoryPath key needs to
# have proper ownership and permissions set to ensure that the node,
# running as the user, can access it. I.e. the directory should be
# writeable for all users or alternatively, the administrator should
# create a directory, with proper ownership and permissions, named as
# username, for each of the users who need to start sessions there.
#
#UserNXDirectoryPath = ""
