Making the NX Client 3.5.0 login window reappear when a remote session is closed
By creating a /usr/NX/share/noexit file, the proxy will restart nxclient at the time session terminates.
When the noexit file is found, nxclient disables the close button and stays on the screen until the user successfully starts a new session. This makes it easy to run nxclient even without a window manager.
As an added bonus, by creating a /usr/NX/share/nopasswd file, nxclient will not record the name of last user that ran the session and will not allow you to store the password in the configuration file. This is useful, if you want to run NX in "kiosk mode".
The noexit and nopasswd files just need to exist. Zero-length files created with 'touch' will be enough.
Please see these articles for more information about the nopasswd and noexit files:
