: iMac does not turn display off when I log out


TiltAgain
Aug 6th, 2019, 12:33 PM
OK, I am not sure if my memory serves me correctly, but wasn't it that when you log out of your mac, the display goes off to sleep after a while, and any key (spacebar) will turn the display back on?

My iMac never turns the display off, it constantly keeps displaying the login screen, even hours after I log off.

I am not sure if this is expected behaviour or if my iMac is misbehaving.

I tried to look at settings, but that only seems to deal with going to sleep when I am logged in, not after I am logged out.

Cheers

Freddie_Biff
Aug 6th, 2019, 01:16 PM
Hi Tilt! Seems to me that the default is for the screen to go dark when not in use after a set period of time.

wonderings
Aug 6th, 2019, 02:20 PM
it should go to sleep when logged out, no way you want to be running a static screen for long periods. What version of MacOS are you running? Did you check to see if there are any updates? Sometimes if it is a glitch in the OS a simple update will fix it.

CubaMark
Aug 6th, 2019, 02:27 PM
What's the setting under System Preferences --> Energy Saver. for "Turn display off after...." ?

TiltAgain
Aug 7th, 2019, 01:21 AM
Thank you all for the quick response :) Answers below:

Hi Tilt! Seems to me that the default is for the screen to go dark when not in use after a set period of time.

Yes, that's what I thought, but the iMac does not seem to be doing it.

it should go to sleep when logged out, no way you want to be running a static screen for long periods. What version of MacOS are you running? Did you check to see if there are any updates? Sometimes if it is a glitch in the OS a simple update will fix it.

I am running Mojave 10.14.6 and there are no updates. And I remember, this problem has been happening for a while now, and there have been more than one update done in the interim.

What's the setting under System Preferences --> Energy Saver. for "Turn display off after...." ?

15 mins. However, I thought that should affect the display when I am logged in, not when I am logged out?

Cheers

polywog
Aug 7th, 2019, 05:36 AM
15 mins. However, I thought that should affect the display when I am logged in, not when I am logged out?

Cheers

I thought they applied globally, but I'll experiment later today. However you could try giving the SMC a good ol' reset. (https://support.apple.com/en-ca/HT201295 in case you need it.)

wonderings
Aug 7th, 2019, 01:39 PM
You could contact Apple, they have chat support and have found them to be pretty good.

pm-r
Aug 7th, 2019, 02:40 PM
My iMac never turns the display off, it constantly keeps displaying the login screen, even hours after I log off.


My 2011 27" iMac running Mavericks OS 10.9.5 does exactly the same thing and always has but I think that may also be because I have multiple users.

I'm not sure, but I think it may actually shut off or go to sleep if one does not have any second user or even guest access allowed when one logs out.

But maybe tou mean to lock your Mac which I believe will turn off your screen and basically log you out as well rather than just logging out.

Have a look here for the various options. (and no you don't really need their utility software which is also quite expensive.)
https://macpaw.com/how-to/lock-mac-screen


- Patrick
======

TiltAgain
Aug 8th, 2019, 02:52 AM
I thought they applied globally, but I'll experiment later today. However you could try giving the SMC a good ol' reset. (https://support.apple.com/en-ca/HT201295 in case you need it.)

Shall try SMC/PRAM reset - have not done that, my mistake. Thank you!

You could contact Apple, they have chat support and have found them to be pretty good.

Yes I usually do that :) But I thought I shall ask here first :)

My 2011 27" iMac running Mavericks OS 10.9.5 does exactly the same thing and always has but I think that may also be because I have multiple users.

I'm not sure, but I think it may actually shut off or go to sleep if one does not have any second user or even guest access allowed when one logs out.

But maybe tou mean to lock your Mac which I believe will turn off your screen and basically log you out as well rather than just logging out.

Have a look here for the various options. (and no you don't really need their utility software which is also quite expensive.)
https://macpaw.com/how-to/lock-mac-screen


- Patrick
======

Yes I do have multiple users (my wife, me and the Guest user is enabled); but that has been the case since I bought the mac in 2013; and it has worked fine until just now.

No, I am not talking about locking the mac, I am merely talking about the screen blanking when idle for a while after explicitly logging out.

Cheers

pm-r
Aug 8th, 2019, 12:45 PM
Tilt,
I came across this article which may be of some help even though it may not explain exactly what you want:
Should I Log Out on my Mac or Shut Down?
https://www.macworld.co.uk/how-to/mac/should-i-log-out-my-mac-or-just-shut-down-3623615/

And then there was this:
Configuring Your Login Screen in Mac OS X
And this comment was interesting:
To specify which type of login screen you see if you see one at all head to System Preferences, click Accounts, and then click the Login Options button.
https://www.dummies.com/computers/macs/configuring-your-login-screen-in-mac-os-x/

So it seems there MAY be a login screen or maybe not when logging out. Clear as mud,

Maybe double check yout Uers pref pane and the login options settings.

Or try Sleep instead of Logout. The screen sure goes black using the sleep method!!! ;-)

Sorry, but I cannot find a definitive answer for you. But I am sure the Mac OS used to kill the screen completely when logging out.

BTW:
Ctrl+Shift+Eject will turn off the display(s) but leave the computer active.



- Patrick
======

TiltAgain
Aug 20th, 2019, 07:15 AM
Apologies for not providing any update for such a long time.

OK, SMC/NVRAM etc. done and reset, problem still persists.

System does go to sleep when a user is logged in; it is ONLY when users are logged out (i.e., the login screen shows with user icons displayed) that the system does not go to sleep.

And even in that screen, if I actually click on "sleep", system does go to sleep. It is only in the idle time that the system stays on and does not sleep.

And yes, I have spent more than two hours chatting with Apple USA and Apple India, and they all keep giving me the usual "What do you have in your Energy Saving setting" stuff that I have progressed way beyond.

And Apple USA - a senior tech - told me that they have never seen such an issue until now, ever.

Cheers

pm-r
Aug 20th, 2019, 02:00 PM
And Apple USA - a senior tech - told me that they have never seen such an issue until now, ever.


Unfortunately, and going by many comments at several Mac forum sites, the Apple tech support has been going downhill drastically and some of the answers they provide are nothing more than BS.

Sorry, it doesn't help your situation, but I just thought I would mention the fact of what I have been noticing.

Have you tried changing some of the Users&Groups preference pane "Login Options"???



- Patrick
======

TiltAgain
Aug 21st, 2019, 02:05 AM
*SNIP*

Have you tried changing some of the Users&Groups preference pane "Login Options"???

*SNIP*

I looked there too, but nothing seems to show that might appear related to the issue.

Cheers

pm-r
Aug 21st, 2019, 02:01 PM
Rereading your original post, and checking some of our Macs, I would say that your back is working normally when using the Logout function.

If you want the Mac display to go dark, use the Sleep Function.

As far as I know, it's been that way for many OS X version years, unless of course some third-party utility is being used that might change things.

PS: Using the "Logout" function may cause your display to go completely black, which I understand is what you are wanting, ONLY IF you only have a single user.

None of our Macs have that setup and I'm not going to try changing it just to try doing such a test. Sorry.

It seems to me that the solution for your problem is to just change the way you do things and also consider the old memory department maybe failing. It does that with all of us with age, but I can't remember why!!! ;-) :D



- Patrick
======

TiltAgain
Aug 22nd, 2019, 02:35 AM
Rereading your original post, and checking some of our Macs, I would say that your back is working normally when using the Logout function.

If you want the Mac display to go dark, use the Sleep Function.

As far as I know, it's been that way for many OS X version years, unless of course some third-party utility is being used that might change things.

PS: Using the "Logout" function may cause your display to go completely black, which I understand is what you are wanting, ONLY IF you only have a single user.

None of our Macs have that setup and I'm not going to try changing it just to try doing such a test. Sorry.

It seems to me that the solution for your problem is to just change the way you do things and also consider the old memory department maybe failing. It does that with all of us with age, but I can't remember why!!! ;-) :D



- Patrick
======

Thank you Patrick :)

Well, if what you say is how it is, I have an update and a question for you:

I was on the phone with Apple all of yesterday afternoon and evening. And in the evening, with no changes of any kind, after I collected logs etc. for Apple per their instructions, I logged out, and when i came back, the iMac had indeed gone to sleep - screen off etc.

I wonder how and why it started working all of a sudden.

And a little later (after I had woken the machine up) and then logged out again, it did not go to sleep at all for three hours. My wife was about to login and informed me that it had not gone to sleep. Just as she sat at the machine, it did go off to sleep, and she had to wake it up again!

Very random behaviour.

And I am positive that Macs indeed go to sleep when logged out, even with multiple users created; because my iMac used to.

Cheers

CubaMark
Aug 22nd, 2019, 10:08 AM
Tilt, a further thought on testing....

Consider unchecking all options in System Preferences --> Software Update. This is the part of Mojave that checks back to Apple's servers to see if there are updates to be found, downloads OS updates in the background (if enabled), etc.

Also - have you checked under whichever account on your Mac has Admin privileges, if there are no other system-level daemons doing similar checks / cloud activity / anything that might require a network access?

And - again in an Admin account - Energy Saver does not have "Wake for Network Access" checked, correct?

pm-r
Aug 22nd, 2019, 01:10 PM
Very random behaviour.

And I am positive that Macs indeed go to sleep when logged out, even with multiple users created; because my iMac used to.


You could be quite right, but having random behavior or intermittent occurrences is going to be very difficult to track down, after all there are so many settings and things that could cause the problem besides the normal file sharing and other network settings.

It's not foolproof, but you could try booting up in Safe Boot Mode which should disable any third party software from running and see if the problem exists or not. That would at least give a hint as to whether some third-party software or the Mac OS is causing the problem.

Even some file sharing software like Transmission.app or Fetch.app can try and keep the Mac awake.

There are just so many variables that need to be checked out.

By the way, what exactly is your main concern and why such a concern over what you expect should happen????

And what are you expecting to happen when you do do certain actions???

Logout ≠ (always) cause display sleep but logs-out the user.
Sleep = always causes display sleep but does not log-out the user.




- Patrick
======

TiltAgain
Aug 23rd, 2019, 02:10 AM
Tilt, a further thought on testing....

Consider unchecking all options in System Preferences --> Software Update. This is the part of Mojave that checks back to Apple's servers to see if there are updates to be found, downloads OS updates in the background (if enabled), etc.

Also - have you checked under whichever account on your Mac has Admin privileges, if there are no other system-level daemons doing similar checks / cloud activity / anything that might require a network access?

And - again in an Admin account - Energy Saver does not have "Wake for Network Access" checked, correct?

Thank you CM.

Re. Software Update, all boxes are checked on. Do you believe that would cause the machine to not sleep? But like I sid, the Mac has been going to sleep properly the last couple of days. Weird.

"Wake for Network" is checked on. It has always been checked on. And, over the last couple of nights when the Mac has been asleep, just to see how this setting affects anything, I have tried logging into it remotely from my MacBook to, say, copy files from the iMac to the MacBook; and the machine did not wake up - the screen remained dark. So, maybe the machine wakes up in the background to serve files, but the display still stayed off.

You could be quite right, but having random behavior or intermittent occurrences is going to be very difficult to track down, after all there are so many settings and things that could cause the problem besides the normal file sharing and other network settings.

It's not foolproof, but you could try booting up in Safe Boot Mode which should disable any third party software from running and see if the problem exists or not. That would at least give a hint as to whether some third-party software or the Mac OS is causing the problem.

Even some file sharing software like Transmission.app or Fetch.app can try and keep the Mac awake.

There are just so many variables that need to be checked out.

By the way, what exactly is your main concern and why such a concern over what you expect should happen????

And what are you expecting to happen when you do do certain actions???

Logout ≠ (always) cause display sleep but logs-out the user.
Sleep = always causes display sleep but does not log-out the user.
- Patrick
======

Thanks again Patrick.

File Sharing & Printer/Scanner Sharing have always been turned on, no new changes.

Safe mode - no, I have not tried it; reason being I did not believe at that time that anything would be running inn the background, considering no user was logged in at all. However, I can try it now; but it may not provide any new information because now, weirdly, it has started to work properly normally! I have to wait for the issue to manifest itself again and then try Safe Mode.

There is no main concern or worry at all; I am merely curious as to how something that worked fine suddenly conks for no apparent reason. I guess it's some weird form of OCD that I cannot relax until I find the cause or something maybe. LOL

Cheers

pm-r
Aug 23rd, 2019, 12:45 PM
Safe mode - no, I have not tried it; reason being I did not believe at that time that anything would be running inn the background, considering no user was logged in at all.


Be aware that some things may not work properly when safe mode is enabled, printing services maybe I know a few other things I can't recall that are Mac OS X based, and also be aware but there can be all kinds of little bitty background processes happening whenever the computer is actually turned on.

The only time it truly close to being dormant is when it is shut down, and even then it's not always 100%: Battery trickle, standby mode waiting to be woken up, background Network processes Etc....



- Patrick
======

hexdiy
Aug 23rd, 2019, 03:30 PM
My Macs are all set to "never sleep" etc. When I want them to sleep, I just give a manual command for them to do so.