WindowServer crashing on Macbook Air M2

I am using my Macbook Air M2 in clamshell mode with one external monitor via an USB-C to HDMI dongle. Recently after updating to MacOS 15.4.1 when I am using the fast user switching and switch between two users, the screen goes black. If I then open the Macbook the screen comes back, showing the lock screen, but the screen is frozen incl. a mouse courser, but I am still able to move around another mouse courser without being able to do anything.


The only way to get it working again, is to hold down the power button and force shut off the Macbook. After turning on the Macbook again and login in, there is a pop up, screen showing that WindowServer quit unexpectedly.


For now I have only tested using the dongle and external monitor, and the issue occurs every time after several user switches, but there is no apparent pattern of how many user switches.

MacBook Air (M2, 2023)

Posted on May 11, 2025 12:45 AM

Reply
17 replies

May 18, 2025 2:22 AM in response to Macloving

Before arriving at any conclusions about a Hardware related issue


What follows is drastic


It might be what Apple Techs may do before evaluating the computer


Start Over from Scratch 


Heavy Handed - Yes ?


For Apple Silicon computer >> Use Disk Utility to erase a Mac with Apple silicon.


Always make a Time Machine Backup  before  proceeding 


If going this route - I suggest Not using Startup Assist - full stop


We what to Test the computer as if it were Brand New and Out of the Box


Do not install anything and run it as best as possible this way, for maybe half a day max.


Should the fast user switch and WindowServer continue - a trip to Apple Genius Bar maybe needed



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.

WindowServer crashing on Macbook Air M2

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