Hi Steve,
I’m not entirely sure I fully understood your request, but it sounds like you’re trying to set up a flow that will either automatically create or reconnect to a session in order to verify whether the server is functioning correctly.
If that’s the case, you could try the following on ECS:
– Run /etc/NX/nxserver --nodelist
to check that all nodes are listed and running.
– Or, run /etc/NX/nxserver --status
directly on the node to verify that all NoMachine services are operational.
Additionally, you might consider using a preconfigured .nxs file with NoMachine Player to connect and check the session status automatically. There’s some useful guidance on this approach available here:
https://kb.nomachine.com/AR02P00963
Let me know if this helps or if I misunderstood the intent behind your request.