MacBook Air logs off automatically since Yosemite
My MacBook Air mid-2012 model running OS X Yosemite logs off automatically without any prior warning when I am working on it. This has been happening since the latest update, to Yosemite.
The logs from the moment of logout are here:
- http://pastebin.com/embed_js.php?i=u3TaFSWH
To be more specific my Air has been connected to an external monitor both times and has been charging both times too!
Similar problems have been discussed on Apple Support Communities:
- https://discussions.apple.com/thread/2742595?searchText=automatic%20log%20off
Solution 1:
I have the same problem with a MacBook Pro Retina and since Yosemite.
I was able to track down the corresponding crash, at each occurance of the "log off" there is a WindowServer crash log generated. After goolging I've found this post in the Apple forums:
https://discussions.apple.com/message/26929324#26929324
Summary of the post (detailed instructions are in the post)
The bug could be due to a memory leak in the video memory. Users with external monitor are much more susceptible to have the bug. Because it crashes the WindowServer, all connected users are logged out, but sometimes some of their process still remain running.
- Unplug all external monitor;
- Fix filesystem permissions using the Safe Mode;
- Reset the Mac SMC, and allow for a full start and shutdown afterwards;
- Reset the NVRAM (also called PRAM previously).
I've done these steps, and I cannot be sure that it solve the problem. These random logout occured not every day, and sometimes multiple times in the same day. But since I applied them (this morning) they do not occur anylonger, but that's still a bit short to be sure.
Anyway worth a try!!
Solution 2:
According to this Apple support article: Set your mac to log out when not in use - installing Yosemite turns on the "log off after 60 minutes of inactivity" feature.
To turn it back off, click on the "Advanced" button at the bottom of the "Security and Privacy" window and uncheck the option. You should be good to go!