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

screen sharing broken again after update to 3.7 without Mavericks upgrade

I did the standard updates tonight - which included a remote desktop update (to version 3.7 I think) - the ARDagent.app in the System -> LIbrary -> CoreServices -> Remote management folder.


After the update (I'm still running Mountain Lion) - screen sharing doesn't work with any of my other Macs in the house. It basically sits there and never connects - saying "connecting to...." - similiar to what it did a long time ago after the 3.6 updates from 3.5. Eventually it gives this error... "connection failed to ..." and "Please make sure that Screen Sharing (in the Sharing section of System Preferences) is enabled on the computer to which you are attempting to connect. Also make sure your network connection is working properly."


I have already tried to restore that folder from time machine to version 3.6.2, as well as restored the screensharing.app file to the older version, but to no avail. Have already rebooted all the machines, restarted my airport, network hubs, etc. Tried stopping and restarting sharing already as well. No go on any option. Was working just fine before the updates tonight.


Any one else have similar issues and know how to fix?


Thanks.

OS X Mountain Lion (10.8.5), Screen sharing not connecting

Posted on Oct 22, 2013 10:59 PM

Reply
106 replies

Jan 11, 2014 10:39 PM in response to MightyDane

I believe this is the easiest way to resolve any screensharing issue in MacOSX: Solution: Reset the computer list in Screen Sharing. To acomplish that install OnyX. By the way a great tool for your Mac maintenance.


  • Go to Cleaning>Misc. and
  • check My Computers list in Screen Sharing.
  • Press Execute and wait until it finish.
  • Restart your computer.User uploaded file

Jan 22, 2014 5:21 PM in response to MightyDane

I have OS X 10.9.1 with everything updated. I changed the permissions of screensharingd and tried to clean the My computers list, but the screen sharing still didn't work with the firewal on. But I found a solution. The problem I had was that the domain in the local computer name which one can change in the Sharing preference pannel (e.g. the part "local" in "mycomputer.local") didn't match the local domain I have set in my wireless router - in my case I had set it to "lan". After changing the local domain of my router to "local" and restarting my mac (say perhaps restarting the firewall only could work, but I didn't try) ARD to this machine started working with the firewall on. Hope this helps.

Mar 19, 2014 11:17 AM in response to MightyDane

I tried everything in the book with no success. and this afternoon, I found a screen sharing subfolder in ~library/Application Support


I wiped the file in that directory (apparently a shortcut to my remote machine) on the computer I was using to access my remote machine and voila. I have now recovered Remote access after 3 months of struggle.


Note it seems that in my case the problem was not on the server side (the remote mac mini) but on the client side (my macbook air)


I hope it will help someone.

Apr 24, 2014 3:03 PM in response to MightyDane

This has been driving me crazy for months but I finally solved my problem. I had tried many suggestions without success, including but not limited to:


- removing/adding things to the firewall settings

- downgrading/upgrading the remote desktop app

- downgrading/upgrading OS

- port-forwarding in airport express

- fixing permissions


In the end the default VNC port (5900) was blocked on the machine I was trying to access. The port was blocked even after allowing connections for Remote Management and Screen Sharing in the firewall settings.


I had to fix things through terminal but fortunately it was an easy fix.


First I checked what firewall rules currently existed using this command:



sudo ipfw show



You will need to enter your password.


From the output table I could see that traffic for port 5900 was being denied. The line looked something like:


25900 deny tcp from any to any dst-port 5900 in


The solution was to erase all the firewall rules using this command:


sudo ipfw flush


After I did this I was able to use the native screen sharing software from all devices on my network.


I hope this helps someone.

Apr 24, 2014 6:27 PM in response to Tangje

Interesting...

OS X Mavericks reports the following..


IPFW(8) BSD System Manager's Manual

NAME ipfw

DESCRIPTION This utility is DEPRECATED. Please use pfctl(8) instead.

Darwin September 27, 2012


Deprecation: is a status applied most commonly to a computer software feature, characteristic, or practice indicating it should be avoided, typically because it is being superseded. Beyond software the term is also sometimes used for a feature, design, or practice that is permitted but no longer recommended in other areas, such as hardware design or compliance to building codes.

Apr 25, 2014 6:40 AM in response to Robert J McInnes

I am not an expert by any means but let me try to help out.


Without getting into it, IPFW and PF are basically different types of firewalls with PF being more powerful.


In Mavericks or if you have PF setup you can use the following to show the current rules:


sudo pfctl -sr


You can flush the rules via:


sudo pfctl -F rules


That should achieve the same thing. Good luck.

Apr 27, 2014 7:53 PM in response to Tangje

before every shutdown or restart, I delete the firewall prefs file. after restart, I reconfigure the Firewall. it's the only thing that guarantees that the firewall works as expected.


/Library/Preferences/com.apple.alf.plist



I use an AppleScript to delete the file and run it from the AppleScript menu before any restart/shutdown.



do shell script "sudo rm -f /Library/Preferences/com.apple.alf.plist" user name "adminName" password "adminPassword" with administrator privileges

copy the result to r

if r is "" then

set alertTxt to "Done."

else

set alertTxt to "Error?" & return & r

end if

display alertalertTxt




I'm also experimenting with a script placed in ~/Library/StartupItems/


tell application "System Preferences"


activate

set current pane to pane "com.apple.preference.security"

display alert "Check the Firewall preferences."

end tell

Jun 17, 2014 9:42 AM in response to MightyDane

I was getting this error as well. Here is what was causing mine...


Be sure to check that your client is trying to connect to the correct screen sharing port in ARD. For some reason my screen sharing port changed from 5900 to 5903. The default is 5900. This was giving me this error even though ADC was telling me that it was connected and everything, I was not able bring up screen sharing.

screen sharing broken again after update to 3.7 without Mavericks upgrade

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