I no longer accept input, but I can do SSH login.I want to save my Mac without restarting.

Asked 2 years ago, Updated 2 years ago, 42 views

In rare cases, the Mac freezes and no longer accepts the mouse or keyboard.You can log in with SSH and kill, but it will not be fixed until you reboot.In the worst case scenario, they only accept power button forced termination.

With the freeze that just happened, I couldn't try the following.

  • kill
  • the busy process found in top-o-cpu
  • sudo killall Finder: No effect
  • sudo killall-HUP WindowServer—Logged out, but no input accepted

Eventually rebooted to sudo shutdown-r now. (This may also freeze in the middle.)

Is it possible to reset only the external input part of the OS?

Environment: Mac OS X 10.10.1 / MacBook Pro (Retina, 13-inch, Mid 2014)

macos

2022-09-30 20:24

2 Answers

Why don't you kill the loginwindow process?

 sudo killall loginwindow

In this case, log out and exit the WindowServer process. After that, launchd should start the loginwindow process again.

By the way, loginwindow will start again in /System/Library/LaunchDaemons/com.apple.loginwindow.plist

<key>KeepAlive</key>
<true/>

This is because of the description in .


2022-09-30 20:24

(I can't comment, so I'm sorry.)

The cause may be different, but it happened in my environment on November 21st when OSX 10.10.1. The reason was that the internal keyboard and internal trackpad were disconnected. I found myself disconnected thanks to hardwaregrowler.

In that case, the BT keyboard and the BT track pad were connected, and the safe boot was successful, but of course, it is necessary to pair them in advance. In this environment, it does not happen after safe boot, so it may be different, but just for your information.


2022-09-30 20:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.