1

Today I faced really tight situation on my Mac with Skype (yes, again!) - it went unresponsive, and was not reacting on standard shortcuts, and I wasn't managed to close the app by standard means.

I tried to use the keyboard combo: ⌘ Command + ⌥ Option + Esc simultaneously, but it haven't open the "Force Quit" dialog this time.

I tried to call Activity monitor - but it was not possible either, as the App prevented me switching to something else or to open other applications... no standard means worked, even "Spotlight search" was unresponsive by keyboard shortcut. But I knew it still reacted on the keyboard, as caps-lock was working, plus I managed to power off external display, and the to power it on again via keyboard shortcut.

I'm wondering if is there any fallback for these situations, when an Application is totally unresponsive and prevents me from running other apps? It's the first time the app hanged the whole Mac that heavily, that I was unable to kill it or to open any other application to manage the processes.

Is it normal behavior at all, I was counting on it not possible to hang the whole system on a Mac, and one App can't make it totally unresponsive (OS X El Captain, 10.11.4)?


Update: found such the keyboard shortcut I never used: ⌘ Command + ⌥ Option + ⇧ Shift + Esc held for 3 seconds - forces quit of front-most application... not sure if it would work.

  • 2
    Opt-Cmd-Shift-Esc for three seconds is indeed the right keyboard shortcut to use to kill an unresponsive application. I use it all the time to kill unresponsive, focused applications. – perhapsmaybeharry Apr 26 '16 at 3:38
  • 1
    Thanks, @perhapsmaybeharry, I discovered this shortcut for myself, when it was too late :) but I definitely will try with the next occasion (hopefully there will be no occasion, and it will work stable) – Farside Apr 26 '16 at 8:24
1

There is a way to access your computer, but only using another computer or device on the same network. That device has to support ssh. OSX has it preinstalled, but if you have an iPhone or iPad you will need to install an app such as Prompt.

You need to allow Remote Login on your mac, from System Preferences. Click the Sharing icon, then check the tickbox for Remote Login.

On the right, there is a list called "Allow Access for". Choose "Only These Users". Then click the + icon and add your user in the list.

(As there was a comment that this is a security risk, you may want to prevent external ssh access in your router, this is beyond the scope of this answer.)

Then if your mac freezes you can remotely connect to it via ssh from the other devices.

From there you could run top to see a list of the processes. You can use the killall command to stop the frozen process by name.

For example

killall Skype

This attempts to Quit Skype.

If that doesn't work, you may have to be less “polite” and add a -9 signal:

killall -9 Skype

If it is severely frozen, the computer may not even respond to the ssh request. In that case I would look at reinstalling your OS or have the hardware checked, which is beyond the scope of this answer.

  • 1
    hm, never heard someone was using "Remote Login" as the last resort to reanimate the unresponsive MacBook. Is it secure at all to have "Remote Login" option enabled all the time as the back-door? Wouldn't be LogMeIn App better for this purposes? Anyways, please expand you answer, what instructions to execute in bash to reach the desired "restore", as the answer is too general right now for most of the users. – Farside Apr 26 '16 at 8:32
  • 1
    @Farside Why would LogMeIn be any more secure than ssh? And don't sysadmins use ssh for server administration all the time, anyway? Granted, they probably use key-based authentication, but still... – SilverWolf Dec 8 '18 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .