Detect VNC/ARD Disconnect

kacey3
Contributor II

We are in the process of setting up a series or remote accessible M1 Mac Minis that will all be distributed via Guacamole for students and faculty that are working off campus and need access to software only available on campus. One thing we would like to do is run some maintenance/clean-up scripts when a user disconnects from the Mac Mini.

Does anyone know of a way that we could script something to detect the VNC connection disconnecting, so that I can put that in a script or daemon to then trigger other policies?

0 REPLIES 0