Why macro recorder does not work on your VPS when you close the remote desktop?
Most Likely, This is because when you close the remote desktop,
you are closing the active session.
You will need to find a way to run the macro recorder on a
permanent session.
So how can I do it?