Screen sharing disconnect puts display to sleep

When using screen sharing to connect to a Mac Mini running El Capitan, 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.

Posted on Nov 19, 2015 2:22 PM

Reply
23 replies

Jan 13, 2016 2:15 PM in response to jms703

Just wanted to confirm that I am also having this issue for El Capitan Mac Mini's. If attach a keyboard and disconnect from the machine after using screen share it works fine.


My problem is similarly situated in terms of jms703's above. We are using these as kiosk displays for information, and when a user goes to remote in, the screen is turned on. As soon as that user disconnects, the screen is turned. Similar to a screen saver mode. Even if all power settings are set to not allow this behavior.

Nov 26, 2015 2:29 AM in response to jms703

jms703 wrote:


When using screen sharing to connect to a Mac Mini running El Capitan, 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.

I have the exact same problem, using a mac mini with no keyboard or mouse...


sometimes if I restart the mac mini it stops doing it for a few days but will do it again...

Nov 26, 2015 5:44 AM in response to Hughesy

I tried to replicate this, but I couldn't. I don't have a Mac Mini, but trying this with an iMac, I removed the batteries from the keyboard and mouse, and connected via Screen Sharing from my rMBP. Closing the connection or quitting Screen Sharing always left the screen turned ON.


I would suggest restarting the Mac Mini in Safe Mode. This will probably require temporarily connecting a keyboard and mouse. Then restart normally and see if this has helped.

Jan 20, 2016 7:43 PM in response to jms703

I also have the exact same problem.

Restarting the mac mini seems to fix it for a while, some times for a few days, sometimes only for an hour or so.

2011 mac mini server running el captain with no peripherals.

Mac mini is connected via hdmi to my tv. I use my macbook air to control it via screen sharing.
Problems seems to have started after upgrading to el captain.

Mar 19, 2016 6:32 AM in response to TopDancer

Had a bit of time talking to Apple support about this one - first they suggested a PRAM reset and SMC reset. That fixed things temporarily, so then they've cleared out Caches, LaunchAgents and StartupItems from /Library and ~/Library.


Hopefully that's fixed it, but if it's only temporary, will report back with what is suggested next!

Jul 28, 2016 1:39 PM in response to jms703

I've read through all replies in this thread. I have the same problem.


setup:

Macbook air, Yosemite 10.10.2 connecting to a Mac Mini with El Capitan.


Problems started to occur after upgrading the Mac Mini to El Capitan. Today I adjusted the energy save settings, computer sleep, on the macbook air to never. Then problem stopped. I could even close the connection without the Mac Mini being affected. Not sure it will stick. Time will tell.

Jul 30, 2016 5:51 PM in response to jms703

I just ran into this issue, and in fact do have a keyboard and mouse connected. I was able to stop the behavior by disabling and re-enabling Screen Sharing in System Preferences. I don't think I had a mouse plugged in at system startup, so my guess is that it just checks for keyboard/mouse presence at launch, and behaves according to that initial state.


So, for those having the issue where a kb/mouse aren't present, it may be worth it to try plugging a kb/mouse in at startup then disconnecting them, and seeing if it persists, just to pin down if that's the determining factor.


A little annoying to say the least -- this should really be a checkbox in the Security or Screen Sharing preference pane.

Aug 9, 2016 10:30 AM in response to malkowski

Thanks. I have no mouse and keyboard so can't try it out. I urge someone else in this thread to try though. My changes to the energy savings settings didn't work.


My "effect" changed all of a sudden. Same settings on both the Macbook Air and the Mini, but now the Mini doesn't go to sleep, but the screen saver turns on when I close the Macbook Air or logout from Screen Share.


This issue is extremely annoying as I use Screen Share almost all the time. Any update from Apple or other users?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Screen sharing disconnect puts display to sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.