Can't launch Apple Remote Desktop anymore

Hi All,


All the sudden, I can't launch ARD 3.8 (380A95) in El Capitan 11.11.4 anymore.

Every time I try to launch it on one of my Mac, I get a warning telling me that it failed to start "due to an unexpected error" (The Remote Desktop software may not be installed correctly or the computer may require a restart).

User uploaded file

It affects all user accounts (so it's not a corrupted user pref) and reinstalling the entire system through the full installer doesn't help.

I can use the Screen Sharing app though…

After reading an old thread with similar problem (Remote desktop administrator software failed to start) I tried deleting all preferences and support files following the instructions on the Apple kb page but it didn't help.


I also checked the Console, and it reports:

3/22/16 10:02:46.888 AM Remote Desktop[5905]: OpenConnectionToAgent - unable to connect 2

3/22/16 10:16:36.035 AM ARDAgent[6057]: libcoreservices: _dirhelper: 400: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/ modes[2]=0700: Permission denied

3/22/16 10:16:36.035 AM ARDAgent[6057]: confstr on _CS_DARWIN_USER_CACHE_DIR returned an error.


Which could indicate a problem with sandboxing, but again, I see warning similar to this one with different apps on different computers without any consequences (I suspect sandboxing makes the logging fairly chatty nowadays). I checked the cache folder it was referring to and didn't notice anything out of place or missing (comparing to another computer where ARD is working).


If anyone has a suggestion… I'd be forever grateful 🙂


Corentin

iMac (21.5-inch, Late 2012), OS X El Capitan (10.11.4)

Posted on Mar 22, 2016 7:21 AM

Reply
25 replies

Jul 29, 2016 11:58 PM in response to Andy Epprecht

If I remove or rename /var/folders/zz than I fail to reboot.

Could this issue be related to corrupted disk or some other hardware issue ?

But DiskUtil tells me my disk is OK


My ordeal started after I did a restore from Time Machine a few days ago.

Now ARD fails to start.

I also use Carbon Copy backup to clone my main volume once a day and has never seen this before.


Does Apple ever read these forums ?

Jul 30, 2016 4:45 AM in response to Klajd

Eventually we should only have emptied the /var/folders/zz folder and not removed or renamed. I did the same as you.


Interesting to know that even a Apple's Time Machine didn't work here either.


There is another thread that deals with the same issue because a CCC restore doesn't help here either: https://discussions.apple.com/thread/7618604?answerId=30473108022#30473108022

Aug 10, 2016 10:07 AM in response to Andy Epprecht

I was getting the same error in Console

3/22/16 10:16:36.035 AM ARDAgent[6057]: libcoreservices: _dirhelper: 400: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/ modes[2]=0700: Permission denied

But I decided to go a more conservative route. I noticed that on my other machines that directory had different permissions. I logged enabled root and logged in as root in terminal. Then I set the permissions on that directory to match those on the machine ARD is working on.

chmod 751 /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000

So far that is working for me.

Sep 2, 2016 11:57 AM in response to Cortig

Running 10.10.5 and recently started getting the Remote Desktop error as others here have experienced.

User uploaded file

Tried reinstalling Remote Desktop 3.8 from App store.... did not fix error


Tried removing /var/folders/zz as suggested... did not fix error


Tried reinstalling ARD Agent (Download Apple Remote Desktop 3.8.5.1 Client)... did not fix error


What did work for me:

Delete Remote Desktop application

Delete System/Library/CoreServices/RemoteManagement/

-then

Reinstall Remote Desktop 3.8 from App Store

Reinstall Remote Desktop Client 3.8.5.1


Although I lost all of the saved logins to all 84 machines, ARD successfully launched and asked to reset the Admin Password.


✅ Working as expected now.

Sep 24, 2016 8:25 PM in response to remotedesktop

Another, possibly simpler, technique also worked. I booted off another volume and from there I was able to use the Finder to get to the zz folder and trash it.


To use the Finder instead of Terminal, I used 'Go To Folder..." under the Go menu and input '/Volumes/myOtherBootableDisk/var/folders/' to get to the enclosing folder. Next, I dragged the zz folder to the trash and emptied it. However, one of the folders inside of zz had permissions that wouldn't allow me to delete it. So, I did a 'Get Info' on it and gave everyone read and write and then I was able to Empty Trash completely.


Thanks so much to those that spoke up about this problem and offered suggestions. I had it on both of my machines after upgrading the hard disk and it was killing my productivity to lose ARD.

Nov 11, 2016 1:59 PM in response to Tobit

U Make my day mate. :-) Working! Have reinstall my MaxOSX 10.11.6 from a usb stick via carbon copy cloner to my macPro. After this, the ARD crash wirh the same problem. Ur idea help me.


TIP! U don't need the SIP via Recovery Terminal...


Activate ur Root user with password for the Terminal. Make su and ur idea will work too. :-)


Cheers,


X.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't launch Apple Remote Desktop anymore

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