Hello Steve,
Logout from virtual session should terminate all the processes opened by this session. Currently we know issues with remaining system processes after terminating. Hopefully the update of systemd (part of your Linux distribution) will fix it.
We have not been able to reproduce the issue with shells and running applications not exiting during termination in our laboratory.
Could you please collect the content of /home/<userdir>/.nx and /usr/NX/var/log directories (server side) while reproducing this problem and send it with the list of remaining processes to forum[at]nomachine[dot]com?
There are several options to terminate virtual sessions:
– to restore the possibility to decide if a session should be terminated by dialog during disconnecting, set in: /usr/NX/etc/server.cfg the key ConnectPolicy … dialog=1 and restart the server.
– when you are connected to the server, you have a list of running sessions. You can right-click on a virtual session and select a “Terminate session”.
– log out from session.
– terminate a virtual session via terminal by running as root /usr/NX/bin/nxserver –terminate [<sessionid> | <display> | <username>]
sessionid and display the number of virtual sessions you can get by running /usr/NX/bin/nxserver –list