<div dir="ltr">Hi all,<div>after starting JACK2 manually  (no DBUS, no KX studio session or anything automatic, other than starting it from /etc/rc.local on boot up) on jack master server, I also start the netmanager and wait for jack clients to connect.</div><div><br></div><div>jack_load netmanager</div><div><br></div><div>When clients connect I have them ssh to this jack master server and run a script about what connections are necessary between the master's sound card and the client's exposed ports.</div><div><br></div><div>This is fine and works if jack clients lose lose connection and have to reconnect.</div><div><br></div><div>This does not work well when something is wrong with the jack master and the audio is restarted. The clients will reconnect and the client will pop up (f.e. in qjackctl), but the necessary connections will not be reestablished. The ideal way to automate this would be to have jack master take care of all its connections and have netmanager trigger the execution of a script when a client connects.</div><div><br></div><div>How can I do that without using application requiring an X server (thus a bash script)?? More specifically I want to know how I can trigger a script that carries out the connections, not what should the script contain...</div><div><br></div><div>Thank you in advance for your help!</div></div>