Select Page

Welcome to our Support Center


Prevent Screen Lock on Mac used as Volunteer Display


When using screen sharing to connect to a Mac Mini, the display is put to sleep when I disconnect.

I’ve adjusted the energy setting “Turn display off after:” to “Never”. However, when I disconnect from screen sharing, the display still turns off. I want the display to remain on.


Open Terminal and type the following command:

sudo defaults write /Library/Preferences/ RestoreMachineState -bool NO

Table of Contents