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)