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

Screen sharing hangs and requires restart of target macintosh

Discovered a recurring problem with screen sharing in Mountain Lion. Note I have Apple Remote Desktop installed on many of my machines, as well as the build in VNC Screen Sharing application. I am able to remotely control a target Mac using ARD, however, issues come up when using Screen Sharing. The first connection from client Mac to target Mac (both on 10.8) works fine. However, if I quit the screen share and then try again 15 mins later, screen sharing seems to hang. The connection attempts to be made, but no dialog box comes up. At this point, ARD will not connect to the target mac either. If I use ARD to restart the target mac, a hidden dialog box flashes on my screen (not long enough for me to fully see, but looks like the user/password screen or a varient thereof), followed by a "connection failed" dialgoue on the client. It seems that on the second connection, the client is flashing a dialog and waiting for a response, but the user does not see the dialogue and cannot respond.


Not sure what processes to look for on the client. I have scanned the console and do not see anthing on the client side. On the target side, it appears the connection is being made, even though the client does not realize it. This is from the console of the target machine. By the way, I have replicated this behavior on iMacs and Mac Minis.


7/31/12 3:42:37.170 PM kdc[52]: Got a canonicalize request for a LKDC realm from 192.168.0.101:54288

7/31/12 3:42:37.170 PM kdc[52]: LKDC referral to the real LKDC realm name

7/31/12 3:42:37.170 PM kdc[52]: Got a canonicalize request for a LKDC realm from fe80::ca2a:14ff:fe24:5a23%en0:54289

7/31/12 3:42:37.170 PM kdc[52]: LKDC referral to the real LKDC realm name

7/31/12 3:42:37.195 PM kdc[52]: AS-REQ com.apple.idms.appleid.prd.48754677515363427155546442422b5a642b325872413d3d@LKD C:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A from 192.168.0.101:54290 for krbtgt/LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A@LKDC:SHA1.3A3F14EB43C CE771F87D6E1E53C5F49DD2E6636A

7/31/12 3:42:37.196 PM kdc[52]: UNKNOWN -- com.apple.idms.appleid.prd.48754677515363427155546442422b5a642b325872413d3d@LKD C:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A: no such entry found in hdb

7/31/12 3:42:37.196 PM kdc[52]: AS-REQ com.apple.idms.appleid.prd.48754677515363427155546442422b5a642b325872413d3d@LKD C:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A from fe80::ca2a:14ff:fe24:5a23%en0:54291 for krbtgt/LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A@LKDC:SHA1.3A3F14EB43C CE771F87D6E1E53C5F49DD2E6636A

7/31/12 3:42:37.198 PM kdc[52]: UNKNOWN -- com.apple.idms.appleid.prd.48754677515363427155546442422b5a642b325872413d3d@LKD C:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A: no such entry found in hdb

7/31/12 3:42:37.344 PM kdc[52]: AS-REQ 563A9892EA210311A5167D3D71B50ECC2A6170DB@LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5 F49DD2E6636A from 192.168.0.101:54292 for krbtgt/LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A@LKDC:SHA1.3A3F14EB43C CE771F87D6E1E53C5F49DD2E6636A

7/31/12 3:42:37.345 PM kdc[52]: UNKNOWN -- 563A9892EA210311A5167D3D71B50ECC2A6170DB@LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5 F49DD2E6636A: no such entry found in hdb

7/31/12 3:42:37.345 PM kdc[52]: AS-REQ 563A9892EA210311A5167D3D71B50ECC2A6170DB@LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5 F49DD2E6636A from fe80::ca2a:14ff:fe24:5a23%en0:54293 for krbtgt/LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5F49DD2E6636A@LKDC:SHA1.3A3F14EB43C CE771F87D6E1E53C5F49DD2E6636A

7/31/12 3:42:37.346 PM kdc[52]: UNKNOWN -- 563A9892EA210311A5167D3D71B50ECC2A6170DB@LKDC:SHA1.3A3F14EB43CCE771F87D6E1E53C5 F49DD2E6636A: no such entry found in hdb

7/31/12 3:42:37.492 PM screensharingd[390]: Authentication: SUCCEEDED :: User Name: logan gershon :: Viewer Address: 192.168.0.101 :: Type: DH

7/31/12 3:47:43.173 PM WindowServer[81]: Created shield window 0x68 for display 0x04273740

7/31/12 3:47:43.173 PM WindowServer[81]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x0(0)

7/31/12 3:47:43.181 PM WindowServer[81]: device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x0(0)


ANYBODY HAVE ANY THOUGHTS ON HOW TO GET PAST THIS. SEEMS LIKE A BUG ON APPLE'S PART.

iMac, OS X Mountain Lion, i7 16mb

Posted on Jul 31, 2012 5:44 PM

Reply
Question marked as Best reply

Posted on Aug 1, 2012 5:13 AM

I repaired permissions on target mac and removed a corrupted file from preferences (com.apple.VNCpref.txt). Now working.

3 replies

Screen sharing hangs and requires restart of target macintosh

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