Using the NoMachine NX Client 3.5.0 as desktop manager in a thin client environment
New functionalities have been implemented in 1.4.0 to allow nxclient to run as a "display manager" on thin-clients.
By creating a /usr/NX/share/noexit file, nxproxy will restart nxclient at the time session terminates.
When the noexit file is found, nxclient disables the close button and sticks 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 storing the password in the configuration file. 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.
These changes are also mentioned in the release notices. They required modifications to nxproxy/nxcomp as well.
From nxcomp-1.4.0-23:
- Added the possibility to respawn nxclient at the end of session.
This is an useful feature when powering thin-clients where NX
is the only application made available.
- This configuration applies system-wide to the local client ins-
tallation. By default it is disabled. It can be enabled by the
by creating a 'noexit' file in the directory '/usr/NX/share',
or at compile time, by setting ENABLE_RESTART_ON_SHUTDOWN to 1.
More information can be found here:
https://www.nomachine.com/AR04C00192
https://www.nomachine.com/AR04C00191
https://www.nomachine.com/AR04C00193
