-
Notifications
You must be signed in to change notification settings - Fork 9
10.11.2 ARD/VNC Unable to Authenticate #75
Comments
@TSPARR On the mac that built the NBI, can you check the contents of ~/Library/Preferences/com.macmule.autocaspernbi.plist? That will show the username & password for ARD. Also, are you adding any additional PKGs? |
I checked that file and the username and password are the same one I was attempting to use. I've attached a sanitized version of it here: As you can see from the plist, I am also installing Carbon Copy Cloner. Here's a screenshot of the files it's modifying: Just to be clear, the Netboot portion is working fine and I'm able to image computers if I'm physically sitting in front of it. I'm just unable to connect over VNC or ARD. I was attempting to connect from a 10.10.5 computer, but I was able to connect over ARD prior to netbooting the computer. Thank you, Tyler Sparr |
Odd. I always connect via ARD. What if you delete the Mac from ARD & re-add? Does that work? Regards, Ben.
|
I just tried setting up a new NBI with a brand new download of OS X 10.11.2, new download of AutoDMG, and new download of AutoCasperNBI. Here is the sanitized setup log in which I'm not seeing any errors: This is what the Sharing preference pane looks like in the created Netboot: As you can see, Remote Management is actually turned off and I'm unable to turn it back on. I was able to turn on SSH, but again couldn't authenticate. Here's the log from the Netboot itself showing my attempted authentication: I can get authentication prompts both through VNC and ARD. This is a completely fresh connection. Again, I'm open to trying anything or sending more logs. Just let me know what you need. Much appreciated, Tyler |
ACNBI 1.3.2 I came here to create an issue for this exact thing. I'm seeing the same results as above. remote management not enabled, screen sharing is enabled, but unable to login using the ARD account. VNC password also does not work, I get this error when trying to connect over VNC. I can connect using screen sharing if i use username: root password: netboot Perhaps its a 10.11.2 thing |
So it seems like ARD is being enabled but the user is not being created. The script that runs to create the user (amongst other things) is: https://github.com/macmule/AutoCasperNBI/blob/master/AutoCasperNBI/Boot.sh & should be located within /Library/Application Support/AutoCasperNBI/Scripts/ on the NBI Can you test that script on the NBI? Any errors? |
Yep I was going to do that before I left work today but ran out of time. I have to create a new NBI because SSH isn't enabled and I'm running simple finder on this one and couldn't get to terminal d'oh! Am I missing an option to enable SSH? Or is that not a feature of ACNBI? No biggie easy enough to package up a launchd to do it and add it as an additional item. I'll give it a crack tomorrow morning mate. |
@Hunty1 Thanks.. i've found some time to test today :) SSH isn't an option, but tbh.. it's meant to be an NBI for a GUI app.. so seemed like more pain that it's worth! |
@TSPARR FWIW, you need JSS 9.8.x to manage 10.11 |
This only happens on a reduced NetBoot FWIW |
@macmule Yeah, I'm aware. We had some show-stopping bugs with our test instance of 9.81, so we're waiting for 9.82. You can still push packages through Casper Imaging from a Netboot or Target Disk Mode to an 10.11 computer though and we got a few new iMacs in that can't boot to 10.10 anymore, so we were just trying to create a quick workaround. I like reducing the Netboot as it just presents fewer options and really only gives the bare minimum needed, but it's good to know that we can get around it by either using the root account or not reducing the image. |
@TSPARR & @Hunty1 I found the issue. So ARD fails on 10.11.2 when the folder /Library/Application Support/Apple/Remote Desktop/ is not there.. it can be empty.. but needs to be there. Can you both:
The boot off to the NBI & try again? |
@macmule That's perfect! Worked like a charm. Also, that's a really good secondary tip on editing a read-only DMG. I never knew you could just change the extension and edit it like that. |
@TSPARR Thanks for logging the issue! The NetBoot.dmg is actually a sparse image, but is renamed for BSDPy & NetSUS. It's detailed at: https://macmule.com/projects/autocaspernbi/#Read-Only_DMG & might not work for other DMG's though. Ironically, @Hunty1 is partly responsible. I'll update AutoCasperNBI tomorrow, i'll manually create the dir when creating the NBI |
1.3.3 with a fix for this is coming. |
I tried originally with 1.3.1 and then again with 1.3.2 and was unable to successfully VNC or ARD to the Netboot image. I was able to receive a login prompt, but unable to authenticate. Please let me know if you'd like any logs or have any questions.
The text was updated successfully, but these errors were encountered: