Hello,
Some time after I log into my session, I'm unable to control my remote computer. Even after I can't control the computer, I'm still able to see my updates in my desktop (e.g., a program running in terminal). Weirdly, the remote control starts working again after I move my physical mouse around at the remote location. Both computers are macOS. After I can't control the remote computer, the following message always shows up on the remote desktop:

I don't believe this is a problem of access permissions, as I attached a screenshot of the connection info below:

Any help would be greatly appreciated.
Thanks.