I’m running basic (free) NoMachine on a Mac from a Bash script that sets up an SSH tunnel, then launches NoMachine and waits for it to exit (open -W -a NoMachine <connection-file-path>), then kills the ssh process and exits. With this method, I just run the script and no intermediate typing or clicking is required. The remote system is a Windows laptop (details below).
The script itself works fine; the issue is that when the NoMachine connection is terminated with Ctrl+Alt+T and the Exit the player button is clicked, the connection seems to terminate and the window closes, but the player doesn’t actually exit – it stays visible in the Dock and requires a manual Quit. At that point, the Bash script resumes, kills the SSH tunnel process, and exits.
I have NoMachine 5.3.12 on both the Mac and Windows machines, and don’t have this issue with the player on Windows when connecting to other Windows systems; it exits completely when the Exit… button is clicked. The Mac I’m using is running OS X 10.10.5 (Yosemite) and I’m connecting over the internet to a Windows 7 Enterprise laptop (physical display) running the NoMachine 5.3.12 server.
Even if I run the ssh command and launch NoMachine manually, the player still doesn’t exit when the Exit… button is clicked.
Is this a bug? A feature?
-Tremolux