How To Connect To A MacBook With A Broken Screen

My wife accidentally dropped her Macbook Pro off the sofa and broke the screen. Amazingly the computer was still running but she could no longer interact with it because the screen was completely blank. She was just finishing some work and didn’t have a backup. I think that the best thing to do in this scenario is remotely connect to the computer and rescue it. I don’t recommend restarting the computer because there is always a chance that it won’t come back up. You will need another working computers (preferably a Mac) to follow these instructions.

Here is how I did this:

1 – Open The Terminal On Broken Computer
Although, you can’t see the screen, you will need to open the terminal. You can open the terminal using the shortcut: command-space and typing terminal and pressing enter.

2 – Allow ssh connections
On the broken computer, you will need enable SSH. This requires some accurate typing because again you can’t see what you are typing. You need to enter this command (from within the terminal that you have just launched).

sudo systemsetup -setremotelogin on

3 – Find the computer’s IP Address
Using another computer, you will need to find the IP Address of your broken computer. The best way is to connect to your router and view the DHCP leases table. I can’t provide instructions for this stage because it varies so much between different routers. Here is how my Virgin router’s DHCP lease / reservation tables looked. I’ve covered over the mac addresses for privacy.

DHCP Lease Reservations

You can see the entry at the bottom shows a computer with an IP Address of 192.168.0.8. This was my wifes Macbook.

4 – SSH into the Macbook
From your working computer – you should then be able to SSH into the broken computer by opening the terminal.

ssh username@ipaddress

5 – Enable remote desktop
You should now be connected over SSH to the broken computer and should be able to enable remote desktop. This varies depending on the version of OSX that you are using. You can see full instructions on the Apple website. This is the command that I used:

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -restart -agent -privs -al

6 – Connect Via Remote Desktop
You should now be able to connect the broken computer via remote desktop. The best tool that I’ve found for this job is Easy Remote Desktop. You open it and enter the IP address of the broken computer:

easy-remote-desktop

And voila…. you are connected to the computer…

I hope that this helps someone.

2 thoughts to “How To Connect To A MacBook With A Broken Screen”

  1. Nice!

    If you happen to have a Thunderbolt cable and another Mac, another idea is using the Thunderbolt Target Disk Mode by restarting and holding down T. Yes, you’re re-starting, but the system doesn’t need to fully activate. Of course if it’s older you’re more likely to have a FireWire cable around for FireWire Target Disk Mode. I’ve booted a Mac Pro off of a PPC Mac Mini before. Amazing.

    1. That’s a great tip. I could also probably connect the laptop to a screen using the DVI / HDMI port. I was just so paranoid about it not starting again and my wife losing her work that I hatched this plan and put her entire computer into Dropbox 🙂

Leave a Reply