disable lock screen after remote desktop session mac

anickless
Contributor II

So I am having a lack of knowledge with Big Sur to have it when after I disconnect from a remote session on a mac mini that it doesn't lock the screen. We use this mac mini to display to TV's in the school presentation so I am wondering if there is a way to stop it from happening?

1 REPLY 1

anickless
Contributor II

Scriptingosx replied to me on Slack about this and it worked.

defaults write /Library/Preferences/com.apple.RemoteManagement RestoreMachineState -bool NO