12

I have to admit, the research that I've done suggests that it is not possible to do this (and that it is more complicated than originally thought). The Raspberry Pi outputs HDMI, and iMacs (at least those from mid-2010) do not accept HDMI inputs -- they only accept Mini DisplayPort inputs, which typically come from other Apple products.

As far as I'm aware, HDMI and Mini DisplayPort are incompatible formats, and the only way to get from HDMI to DisplayPort is to use a bulky, expensive converter. You cannot do this with a passive adapter; however, if you want to go in the other direction (e.g. use the iMac as an output device by connecting a DisplayPort on your iMac to a HDMI television) then this is possible, quite cheaply.

Basically, the iMac can be a HDMI output device, but not a HDMI input device.

Is this the case? And if so, does anyone know a workaround (that doesn't involve spending £150 on a Kanex XD)?

Sputnik
  • 385
  • 1
  • 3
  • 10

2 Answers2

12

You can start a GUI on the host machine, in this case your Mac, over SSH. This is only two steps, three if you count setup.

Before you do anything you need to install and configure SSH on your machine. You need to be able to ssh into the Raspberry Pi via your Mac.

  1. Now you have to SSH into the Raspberry Pi. This can be accomplished like so.

    $ ssh -X username@hostname
    

    NOTE You need to use the -X flag. This enables X11 port forwarding allowing you to view the GUI on your Mac. Make sure that you use the uppercase version and not -x as the lowercase version disables X11 port forwarding.

  2. Now you need to use exec to start your window manager. For example, in order to start LXDE you would run the following command.

    $ exec startlxde
    

What should happen is that you should see the Raspberry Pi's screen on your Mac. Now you should be able to control the Raspberry Pi via your Mac and see what is on your Raspberry Pi's screen.

References

  1. Get RaspberryPi display on iMac
3

According to Apple, you need a converter

Summary With Target Display mode, you can use your iMac (27-inch, Mid 2010) or iMac (27-inch, Late 2009) with Mac OS X as an external display. Connect any computer or other device with a Mini DisplayPort to your 27-inch iMac using a Mini DisplayPort to Mini DisplayPort cable or using a converter that converts other electrical, video, and audio protocols from another source device to Mini DisplayPort compliant signals. (Cables and converters available separately.)

More details here

Connecting a Video Source to Your iMac

The 27-inch iMac has a bi-directional Mini DisplayPort that can be used to drive a second monitor. The same Mini DisplayPort can be used as a video input that allows your iMac to serve as a monitor for an external video source. All you need is the proper adapter.

The Mini DisplayPort in the 27-inch iMac can only receive DisplayPort-compatible video and audio. It can’t receive analog video or audio sources, such as those from a VGA connector, but it’s possible to use adapters for digital DVI, HDMI, etc.

...

John La Rooy
  • 12,005
  • 9
  • 48
  • 77