Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Failurbydesign

macrumors regular
Original poster
Jan 17, 2011
132
1
CA
Over the last two-thee weeks I have noticed when the screen goes off and i come back to log in, i'm completely logged out. When I log back in, I don't get an error to resume or see a log. Any good steps to take to see what is causing this issue?
 
Over the last two-thee weeks I have noticed when the screen goes off and i come back to log in, i'm completely logged out. When I log back in, I don't get an error to resume or see a log. Any good steps to take to see what is causing this issue?
Try checking System Preferences » Security & Privacy » Advanced, and see if "Log out after X minutes of inactivity" is checked. If so, uncheck it and you should stay logged in after your computer goes to sleep.

If that doesn't work, here are a couple questions that could help find the problem:
- How long are you leaving the computer for when it goes to sleep?
- Does it always seem to happen, or only when it's been left for a certain amount of time?
- Have you installed macOS 10.13.4? (You can check your macOS version in Apple » About this Mac)
- Do you have FileVault enabled?
- If FileVault is enabled, do you see an orange/red checkmark next to your name when you come back?
 
Try checking System Preferences » Security & Privacy » Advanced, and see if "Log out after X minutes of inactivity" is checked. If so, uncheck it and you should stay logged in after your computer goes to sleep.

If that doesn't work, here are a couple questions that could help find the problem:
- How long are you leaving the computer for when it goes to sleep?
- Does it always seem to happen, or only when it's been left for a certain amount of time?
- Have you installed macOS 10.13.4? (You can check your macOS version in Apple » About this Mac)
- Do you have FileVault enabled?
- If FileVault is enabled, do you see an orange/red checkmark next to your name when you come back?

Thanks for the quick response. I have checked that setting and it is not enabled. I also answered you other questions below and uploaded some pictures and a report from EtreCheck Screen Shot 2018-04-12 at 1.04.25 PM.png Screen Shot 2018-04-12 at 1.04.19 PM.png Screen Shot 2018-04-12 at 12.59.54 PM.png

How long are you leaving the computer for when it goes to sleep? (Battery - Display off in 5 min, sleep when possible. Power - Display off in 5 Min)
- Does it always seem to happen, or only when it's been left for a certain amount of time? (Off and On. Minutes - Hours)
- Have you installed macOS 10.13.4? (You can check your macOS version in Apple » About this Mac) (YES ON 10.3.5 Beta, i thought this might fix the issue)
- Do you have FileVault enabled? (No, Should I?)
- If FileVault is enabled, do you see an orange/red checkmark next to your name when you come back?
 

Attachments

  • Report.pdf
    65 KB · Views: 530
Thanks for the quick response. I have checked that setting and it is not enabled. I also answered you other questions below and uploaded some pictures and a report from EtreCheckView attachment 758032 View attachment 758031 View attachment 758033

How long are you leaving the computer for when it goes to sleep? (Battery - Display off in 5 min, sleep when possible. Power - Display off in 5 Min)
- Does it always seem to happen, or only when it's been left for a certain amount of time? (Off and On. Minutes - Hours)
- Have you installed macOS 10.13.4? (You can check your macOS version in Apple » About this Mac) (YES ON 10.3.5 Beta, i thought this might fix the issue)
- Do you have FileVault enabled? (No, Should I?)
- If FileVault is enabled, do you see an orange/red checkmark next to your name when you come back?
No, you should only enable FileVault if it's a feature you want to use, just wanted to check since I've seen a similar issue that was related to FileVault. Did this issue start appearing after you installed 10.13.4 or before?

Try running the command below in Terminal and post the results here:
Code:
pmset -g
 
To be honest maybe the last month or so. I also just turned on FireVault as well. The results from the CMD are below

MBP:~ DJ$ pmset -g

System-wide power settings:

Currently in use:

standbydelay 10800

standby 1

womp 1

halfdim 1

hibernatefile /var/vm/sleepimage

powernap 0

gpuswitch 2

networkoversleep 0

disksleep 0

sleep 5 (sleep prevented by sharingd, UserEventAgent, UserEventAgent, UserEventAgent)

autopoweroffdelay 28800

hibernatemode 3

autopoweroff 1

ttyskeepawake 1

displaysleep 5

tcpkeepalive 1

acwake 0

lidwake 1
 
Great, thanks! Try running the commands below (hit return after entering each line) and enter your administrator password when prompted. Then restart and see if it behaves any differently when it goes to sleep next time.
Code:
sudo pmset -a autopoweroff 0
sudo pmset -a autopoweroffdelay 0

You can also run pmset -g after rebooting to make sure the autopoweroff and autopoweroff delay values switched back to zero.
 
Great, thanks! Try running the commands below (hit return after entering each line) and enter your administrator password when prompted. Then restart and see if it behaves any differently when it goes to sleep next time.
Code:
sudo pmset -a autopoweroff 0
sudo pmset -a autopoweroffdelay 0

You can also run pmset -g after rebooting to make sure the autopoweroff and autopoweroff delay values switched back to zero.

Thanks! I'll give this a try and let you know!
 
Great, thanks! Try running the commands below (hit return after entering each line) and enter your administrator password when prompted. Then restart and see if it behaves any differently when it goes to sleep next time.
Code:
sudo pmset -a autopoweroff 0
sudo pmset -a autopoweroffdelay 0

You can also run pmset -g after rebooting to make sure the autopoweroff and autopoweroff delay values switched back to zero.

Alright i just did it again and when i logged in it was completely frozen. I must have walked away for 5 minutes. One thing I noticed that is strange...when i restart the computer and log in i just see my two account (mine and wife). When i have these "restarts" it shows the two accounts and guest, but guest is clearly turned off....
 
Over the last two-thee weeks I have noticed when the screen goes off and i come back to log in, i'm completely logged out. When I log back in, I don't get an error to resume or see a log. Any good steps to take to see what is causing this issue?

I had the same issue. Took it into a Apple and the Genius ran the diagnostics and it found nothing unusual. But he noticed it was hotter than he thought it should be so had it sent away for logic board replacement. Since then I have not had the reboot issue.
 
That is very strange. Have you tried resetting the SMC and running Apple Diagnostics to see if anything pops up?

Didn't change anything or come up with issues with the Apple Diagnostic. Still happening. Any other tests i can do?
[doublepost=1524075982][/doublepost]
I had the same issue. Took it into a Apple and the Genius ran the diagnostics and it found nothing unusual. But he noticed it was hotter than he thought it should be so had it sent away for logic board replacement. Since then I have not had the reboot issue.


Was in under warranty?
 
Yes. Barely, but yes. If it wasn't though I would have sent the estimate to AMEX for reimbursement under its extended warranty program.

Lucky
[doublepost=1524690303][/doublepost]So i decided to WIPE the drive and start with a fresh install with no restore of a backup. So far (4 days) i have had no issues at all. I'll keep my finger crossed and report back
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.