Yesterday, I encountered a Mac computer can not restart the system menu bar reboot, select the system menu bar shutdown did not respond. Closing all the apps doesn’t work either. It can only be turned off by pressing the power button. When the computer is turned on, xcode or Iterm freezes and often fails to boot. I thought the hard drive wasn’t working, or even the computer wasn’t working. Solution: Open boot console -> Select Other -> Select Activity Monitor -> Select Disk -> Double-click WindowServer(looking for you)-> Select Exit -> Select Forced exit (note: ensure that all applications are closed to prevent data loss. After the forced exit, the task manager will be re-established in the Window system, and you will log in again.1. Open the Boot console -> Select Others2. Select Other -> Select Activity Monitor3. Select Disk -> Double-click WindowServer(looking for you)
4. Select the disk -> double-click WindowServer(looking for you)-> ExitNote: Ensure that all applications are closed to prevent data loss. After forcibly logging out, you can re-establish the task manager in the Window system and log in again.