Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Headless Mac mini AirPlay Problems

I was running into an issue with my Mac mini (2011) running Mountain Lion when trying to run AirPlay mirroring to Apple TV. I figure I should share this in case people are having similar issues.


The Mac mini is a headless unit that I Share Screen into from my MBP or iOS devices. When I tried to run AirPlay mirroring to the Apple TV after installing Mountain Lion, the mirrored image would result in a garbled pink screen. It seemed like no matter what I did (changed network settings, display settings) the same thing kept happening. It wasn't until I tried plugging a monitor into the headless Mac mini that AirPlay mirroring suddenly worked. Unfortunately - I have to keep the monitor plugged in for this to work, thus negating the whole benefit of running a headless machine. Hopefully this is something that can be taken note of and perhaps fixed in a future version of ML. Anyone know how I might be able to submit this as a proper bug report?


I tried this on both a 2nd and 3rd gen Apple TV with the same results.

Mac mini, OS X Mountain Lion, running with Apple TV (2nd and 3rd)

Posted on Jul 30, 2012 12:58 PM

Reply
39 replies

Nov 12, 2012 2:56 PM in response to hueysds

Hueysds,


What did you use to get your setup working? Can you give more specifics?


I have a new Mac Mini with an HDMI port. It comes with an HDMI to DVI cable. That works fine for plugging in my old Cinema Display monitor.


I also have several DVI to VGA adapters from old Macs.


I figured I was all set. I went to Radio Shack and bought a pack of 100 Ohm resistors for $1.20. Bending and sniping was easy. When I went to plug it all in, I discovered my error.


The HDMI to DVI cable from Apple is DVI-D also listed as 24+1. 24 pins plus the blade. It does NOT have the extra 4 pins around the blade. It's meant for digital DVI connections like on a Cinema Display.


The adapters I have are all DVI-I to VGA, also listed as 24+5. 24 pins plus the blade and 4 additional pins around the blade. That's an analog adapter which makes lots of sense since VGA is an analog signal.


However, you physically can't plug the DVI-I to VGA adapter into the HDMI to DVI-D cable since there are 4 extra pins on the first one with no corresponding jacks on the second.


Poking around online it looks like there are DVI-D to VGA adapters available which everyone complains about saying that they don't light up their monitor. And of course they wouldn't because it would require a lot more than just some pin to pin adapter to convert an analog signal to a digital one. But perhaps they can work for this hack to fake the computer into thinking that there's a monitor attached.


And that's where my question comes in, is that what you used to get your HDMI to VGA working?


Like many people here, I would like to do this on the HDMI port and leave the Thunderbolt port open for future expansion.


Monoprice.com does sell a Thunderbolt to VGA adpater for about $13.50 which would probably be my method for doing this if I had to use the Thunderbolt port. I would just stick the resistors into the same jacks as listed on the two links listed above.


Thanks in advance for your help.


Jon

Nov 13, 2012 5:20 AM in response to jonmichaels

Sure, I actually went with an HDMI to VGA adaptor from Amazon for $20:


http://www.amazon.com/Cable-Matters-Plated-Premium-Adapter/dp/B007SM7O2U/ref=sr_ 1_1?ie=UTF8&qid=1352811602&sr=8-1&keywords=Hdmi+to+VGA


And then plugged the 3 resistors into that. Works flawlessly. Plugged it right into the back of the Mac Mini and when I screen shared in got a nice clear screen and was able to push that screen over to my Apple TV via AirPlay. Wrapped up the resistors with some electrical tape so they wouldn't short out in my network closet and wouldn't detach dorm the adaptor.


My next plan is to write an AppleScript to push the Mac Mini display over to the Apple TV when I push a button in my home automation software:


http://oguzarduc.blogspot.de/2012/08/applescript-for-activating-airplay.html

Jan 23, 2013 9:09 PM in response to hueysds

Hey Guys,


Arrrgh. I'm so jealous of those of you who seem to have your setups working... I've followed the instructions here, and I'm no novice to electronic DIY... and yet, no Airplay yet. Late 2012 Mac Mini, OSX 10.8.2 Server, works great when connected to my HDTV directly, or through my Denon AV switch / amp. But when I tried to go headless and to stream via Airplay / ATV, I got the aforementioned pink screen. So I hooked the HDMI port to the (now unplugged and otherwise lifeless) Denon amp, and voila, Airplay works like a champ. But wait, there's more...


So now I know you need to fool the video chip into thinking there's a monitor attached. So I went out and made a HDMI-->VGA-->dummy plug first with 100 ohm resistors, then with 68 ohm resistors. (BTW, it's beautiful, with nice solder joints and heat shrink tubing and everything.) Bleahh. Didn't work. In fact, it hangs the video card. Normally, I can climb aboard my MBA and screen share to log on the server or find out what's going on without problems. But with the dummy dongle in place, trying to do that results in the following sequence:


(connect from MBA to server...)

Connecting

Connected as Me

Click Share Screen button

(extended pause)

Server doesn't support Screen Sharing encryption. Connect anyway?

(yes) --> Authentication failed to Server. Please try again with different credentials.


My MBA user is a full admin on both machines.


Again, everything works normally (or goes back to working normally) when connected to a real video device.


So now I'm hoping that there's a generous genius out there who knows how much trickier of a plug I need in order to truly fool my Mini into thinking there's a monitor hooked to it. I can't very well leave a 35 lb stereo attached to my Mac Mini forever... At least I hope I won't have to...


Help?

Jan 23, 2013 9:38 PM in response to ChrisAmbarian

Hi Chris


I'm sorry to hear you're having problems with your 2012 mini. I was hoping that apple would have fixed this problem with the new mini not broken the fix many people seem to use!


I wish i could say i had a solution for you but i'm affraid i don't. I was working in the dark getting my 11 mini working after putting together the info i found on other websites and making a few lucky guesses.


The only difference from my work around to what you described was that i used a thunderbolt (or mini display port) to VGA adaptor, rather than HDMI but i know other on this thread have the HDMI variant working.


I hope you find a solution.


Leigh

Jan 23, 2013 11:03 PM in response to ChrisAmbarian

Yeah, sorry, I'm no help, I pretty much lucked into this thread and I just followed the tutorial and it worked for me. The tutorial I read said that it could be any resistors between 50 and 150 ohms so I don't think that's the problem. I would say to check the pins you are plugging on the VGA side to make sure that you have the right ones. Basically all you are doing is feeding the VGA signal back on itself so that the Mac mini thinks that it's plugged up to a monitor. I still haven't had any issues with mine.


Sorry I can't be of more help!


Huey

Jan 24, 2013 8:34 PM in response to hueysds

Hey Huey,


What vintage is your mini? I notice that when I hook my Denon amp up as the HDMI load, the Mac Mini is smart enough to identify it as a Denon AMP in the sound prefs. I'm pretty confident that a stack of resistors isn't going to read back as a HDTV to this video chip... but then again, if you're using the same chip and it works... 😀


thanks!

c.a.

Jan 24, 2013 9:29 PM in response to hueysds

Well, that may be a clue... I've got the latest one. It has a different video chip in it (Intel Graphics 4000). It may be more smarter than the older chip... but that's just speculation. Again, it all works when plugged into my Denon amp's HDMI input, even if the amp's been unplugged and turned off for weeks.


Anyone else having the same issue? Does this comport with what you're experiencing?


I'm thinking now that I need to dummy an actual video chip off of this thing. Which of course will be worth it in order to have my office the way I want it... but it is a bit more ambitious than I was hoping for.


Any EE's out there who can suggest a really cheap dummy load to connect to that HDMI port to fool it into thinking there's a real monitor there?


Chris.

Jan 26, 2013 7:47 PM in response to ChrisAmbarian

Hey ! no problems I spent weeks to find out... There are a lots of forums about Mini Mac disabling some accerleration "stuff" when headless but I am not sure I completely understoof the issue. In my case this has solved the buggy behaviour of some software that happened with no screen connected.

Just one thing where you could help me.... You might notice that the stuff you bought when only powered with HDMI will not be always have the blue light switched on and then not remembering properly the EDID. I had to connect permanently the USB cable too to power it properly all the time especially in hibernation mode so that EDID is remembered all the time. It looks like some other guys had the issue too with a mini mac; I am not sure this is due to the HDMI supply power of the Mini Mac or the TV or the HDMI switch I have also on my case... This is not well documented on the web. Anyway let me know if you need to havd the UBS plugged or not to make it work properly...

Thanks

philoouu

Feb 9, 2013 8:32 PM in response to philoouu

Hi Everyone,


I am happy to report that at last, I am happy. My life is now complete. My MacMini is running headless into my HDTV screen which, for lack of anything better to do, I use as my monitor.


Thanks to philoouu, I looked at EDID emulators, a world which I did not know existed. I found the cheapest one I could find on eBay, $50 including shipping from China to the USA. Most were about $75 to $150. (Strangely, eBay removed the listing after I paid for it, apparently because of problems with the vendor... nevertheless the converter arrived as expected, and worked the first time.)


I excitedly tore open the box and slapped the converter into place. Clicked on AirPlay and... still pink screen. Despite the fact that the manual says that it needs no external power supply (supposed to be able to drive it with the HDMI connection only), I plugged in the 5V USB cable, and voila! The blue power light came on, and my screen came alive. And thus I can write you now.


It was only after getting back on this board that I noticed that philoouu had exactly the same experience. You need the USB power line in order to get the thing working. The Mini must not supply all that much juice from its HDMI port.


So in summary: IF you have a late-2012 or newer vintage Mini, and you want to run it headless but still using AirPlay, and you've got a pink screen on the AirPlayed TV, THEN ignore all the VGA dummy plug posts etc. and find a EDID emulator, and make sure to plug in the USB power as well. You'll be as happy as me 😀


Thanks everyone for your help!


Chris.

Feb 9, 2013 9:23 PM in response to ChrisAmbarian

Hello

I am happy your problem is solved. Please report I solved your problem so I can get some points on this forum...🙂 but I am not sure how to report.

Anyway I spent some time with Dr HDMI support and eventully they told me to use the USB power but the reason is not clear; it must depend on each device you connect to. In my case the EDID had fixed not only the video issued but the sound one as I could not have the sound all the time through HDMI when the TV was connected after the Mini Mac... Great device !


philoouu

Headless Mac mini AirPlay Problems

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.