Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 24, 2008, 06:27 PM   #1
clayj
macrumors 604
 
clayj's Avatar
 
Join Date: Jan 2005
Location: 1123,6536,5321
If Your Screen Sharing Stops Working, Read This

SCENARIO: I have a network of Macs. On my main machine (a Mac Pro), I have set up bookmarks in Safari that link to the Screen Sharing URLs for other Macs on my network (Mac minis, MacBook Air). For example:

vnc://192.168.1.51
vnc://192.168.1.52

So I can kick off a Screen Sharing session with one of those Macs simply by clicking the appropriate bookmark in Safari.

PROBLEM: Sometimes when I do this, one of two things happens... either the Screen Sharing program launches in the dock but the window for the other Mac does not appear at all, or the Screen Sharing program launches and a small black window (with nothing visible inside) appears. Killing and restarting Screen Sharing does not help, and restarting the remote Mac does not help.

SOLUTION: One way to solve this problem is to restart the Mac where you are attempting to use Screen Sharing. But this is overkill; it works because it incorporates the second, easier solution to the problem:

1. Launch the Activity Monitor program.
2. In the Process Name list, look for "NetAuthAgent". It may show as "Not Responding".
3. Select NetAuthAgent, and then click Quit Process (the red stop sign button at the top of the Activity Monitor window). Then, click Force Quit.

Your Screen Sharing should now work.

It appears that as part of connecting to the remote Mac, your Mac must authenticate itself... and NetAuthAgent is part of this process. If this program freezes, hangs, or locks for any reason, the authentication will not work, and you cannot use Screen Sharing. Killing NetAuthAgent is harmless, as far as I can tell, and it will automatically relaunch the next time it is needed.

For anyone else having problems with Screen Sharing not working correctly, I hope this information helps.
__________________
mac pro 2.8ghz 8-core 24gb ram 16tb hd 30" acd | macbook air 2.0ghz 8gb ram 256gb ssd | mac mini 2.4ghz c2d | ipad air at&t 128gb space gray | ipad 2 wifi 16gb black | iphone 5 at&t 64gb black
clayj is offline   0 Reply With Quote
Old Feb 25, 2008, 03:37 PM   #2
Chris Blount
macrumors 65816
 
Join Date: Jan 2008
Location: San Antonio, TX
Quote:
Originally Posted by clayj View Post

For anyone else having problems with Screen Sharing not working correctly, I hope this information helps.
I have had this happen. Thanks for the heads up. Very informative post.
Chris Blount is offline   0 Reply With Quote
Old Feb 25, 2008, 04:10 PM   #3
deboni
macrumors member
 
Join Date: Jun 2007
Location: Oakland, CA
Send a message via AIM to deboni
NetAuthAgent bug

Please report this scenario to Apple. It sounds like something buggy that they could (and should want to) easily correct, given you precise replication description.

Tom
deboni is offline   0 Reply With Quote
Old May 19, 2008, 12:20 PM   #4
mike.jalkut
macrumors newbie
 
Join Date: May 2008
You get the life saver of the year award. I about broke my head, banging it against the wall, on this one. Right on the money. Thanks!
mike.jalkut is offline   0 Reply With Quote
Old May 24, 2008, 01:06 AM   #5
marclevoy
macrumors newbie
 
Join Date: May 2008
Screen sharing

Works for me too. You nailed it. Thanks!

-Marc Levoy
Stanford University
marclevoy is offline   0 Reply With Quote
Old Aug 13, 2008, 09:52 AM   #6
rsande
macrumors newbie
 
Join Date: Mar 2008
Thanks for this. Wish I had relied on the Wisdom of the Net before rebooting the remote computer... Oh well.
rsande is offline   0 Reply With Quote
Old Sep 27, 2008, 11:49 PM   #7
nsayer
macrumors 6502a
 
Join Date: Jan 2003
I'm having problems connecting to one of the hosts on my network, and this doesn't help.
nsayer is offline   0 Reply With Quote
Old Oct 27, 2008, 11:19 PM   #8
clayj
Thread Starter
macrumors 604
 
clayj's Avatar
 
Join Date: Jan 2005
Location: 1123,6536,5321
Quote:
Originally Posted by nsayer View Post
I'm having problems connecting to one of the hosts on my network, and this doesn't help.
Is your NetAuthAgent "Not Responding" when the problem occurs?

FWIW, this problem still occurs in the very latest Mac OS X 10.5.5.
__________________
mac pro 2.8ghz 8-core 24gb ram 16tb hd 30" acd | macbook air 2.0ghz 8gb ram 256gb ssd | mac mini 2.4ghz c2d | ipad air at&t 128gb space gray | ipad 2 wifi 16gb black | iphone 5 at&t 64gb black
clayj is offline   0 Reply With Quote
Old Dec 11, 2008, 12:19 PM   #9
stukdog
macrumors 6502
 
Join Date: Oct 2004
We've been seeing this happen on the latest 10.5.5 update. For most, a restart of the client machine has helped.

http://www.farawaymac.com/mac-server...e-1055-update/
__________________
Macminicolo.net - Your Mac mini in a data center. The perfect low-cost server.
stukdog is offline   0 Reply With Quote
Old Dec 11, 2008, 12:39 PM   #10
iGrant
macrumors 6502a
 
Join Date: Sep 2006
Location: Abingdon
Send a message via AIM to iGrant
Agreed thanks for the information. I live in Screen Sharing I feel like. I was the only feature in 10.5 at the time I was looking forward to . I have been wondering on what would case this to happen and what a solution would be.

Ditto on sending this information to Apple. Screen Sharing is a new Core Service that was introduced into Leopard. I consider it Apple Remote Desktop Lite Edition. This is a bug that could be probably catch and corrected easily.

Love ARD but I only used it for the basics, never the extra feature that came with it, so when I saw Screen Sharing was going to be apart of 10.5 I was really excited.

For the most part is has done everything I wanted, but the freezing was extremely annoying.

-iGrant
__________________
Once you use a Mac, you never going back!
Macbook Air C2D 1.6, Mac Mini CD 1.6Ghz; iPod Touch 32gb
iGrant is offline   0 Reply With Quote
Old Sep 11, 2009, 05:45 PM   #11
kpdsgt7
macrumors newbie
 
Join Date: Sep 2009
Share Screen Mac osx 10.6

I have been reading all your posts. First let me say, I am new to mac. I have had a problem with share screen from my mac book to my mac pro. I read al the posts and no matter what I did, i could not control the mac pro from the mac book. Called apple and nothing there. Really smart guy but could not fix. I finally figured it out by myself. windows style. I had VNC server running and I had to uninstall. boom. It worked both ways.

So. if all else fails and you spend days and days reading the forums and can't fix it. remove the server part of the vnc. In my case I uninstalled all. I got it and it works sweet. Wish I went mac years ago. see ya
kpdsgt7 is offline   0 Reply With Quote
Old Mar 30, 2010, 08:38 AM   #12
lilgto64
macrumors member
 
Join Date: Apr 2009
Location: Ohio
Sweet - thanks

Quote:
Originally Posted by clayj View Post
SCENARIO: I have a network of Macs. On my main machine (a Mac Pro), I have set up bookmarks in Safari that link to the Screen Sharing URLs for other Macs on my network (Mac minis, MacBook Air). For example:

vnc://192.168.1.51
vnc://192.168.1.52

So I can kick off a Screen Sharing session with one of those Macs simply by clicking the appropriate bookmark in Safari.

PROBLEM: Sometimes when I do this, one of two things happens... either the Screen Sharing program launches in the dock but the window for the other Mac does not appear at all, or the Screen Sharing program launches and a small black window (with nothing visible inside) appears. Killing and restarting Screen Sharing does not help, and restarting the remote Mac does not help.

SOLUTION: One way to solve this problem is to restart the Mac where you are attempting to use Screen Sharing. But this is overkill; it works because it incorporates the second, easier solution to the problem:

1. Launch the Activity Monitor program.
2. In the Process Name list, look for "NetAuthAgent". It may show as "Not Responding".
3. Select NetAuthAgent, and then click Quit Process (the red stop sign button at the top of the Activity Monitor window). Then, click Force Quit.

Your Screen Sharing should now work.

It appears that as part of connecting to the remote Mac, your Mac must authenticate itself... and NetAuthAgent is part of this process. If this program freezes, hangs, or locks for any reason, the authentication will not work, and you cannot use Screen Sharing. Killing NetAuthAgent is harmless, as far as I can tell, and it will automatically relaunch the next time it is needed.

For anyone else having problems with Screen Sharing not working correctly, I hope this information helps.
Thanks - that one has been bugging me for some time - my NetAuthAgent did not show as not responding but it still worked - did not even affect an open screen sharing session - just got rid of the modeless dialog that I could not previously associate with any particular process.
lilgto64 is offline   0 Reply With Quote
Old Mar 30, 2010, 09:59 AM   #13
ecapdeville
macrumors member
 
Join Date: Nov 2005
Location: Mexico City
Send a message via MSN to ecapdeville Send a message via Skype™ to ecapdeville
Hello...

I have a completely different problem but it affects screen sharing...

I have a Powermac G4 which is used as a file and printer server with OSX 10.4.11... this machine is connected to other 3 Macs running in OSX 10.6.3.

I could share files without problem, I just need to write the login and password of the server and it works...except screen sharing, it wont recognize the login or the password. The option of share screen is turned on at the G4 in fact almost everything in the share section is turned on (except internet sharing)...

The other macs can see the G4, can get into files and can print...but wont share screen and I need it because this G4 doesnt have a monitor and is 24hrs turned on.

thank you for your help.
__________________
Powermac G3 233;Ibook clamshell indigo;Ibook G3 400;Powermac G4 400;Imac Core Duo 20";Macbookpro 13" 2.23; iMac i5 27";Iphone 4 32Gb;iPad 2 3G-Wi-Fi 64Gb;Macbookpro 17" i7
ecapdeville is offline   0 Reply With Quote
Old Mar 30, 2010, 03:46 PM   #14
svenwillmann
macrumors member
 
Join Date: May 2008
Thanks for the post, very useful information

In addition I had the problem not being able to log in to the remote machine, solved it this way

Hope it helps someone as well
svenwillmann is offline   0 Reply With Quote
Old Jun 3, 2010, 07:19 AM   #15
rock-adventures
macrumors newbie
 
Join Date: Jun 2010
Hot sure the NetAuthAgent bit is any use or not; I have no such process running!?

However, the idea of having vnc:// links in your Safari bookmarks list is genius! :-)
rock-adventures is offline   0 Reply With Quote
Old Feb 7, 2011, 11:47 AM   #16
BluesBrother
macrumors newbie
 
Join Date: Feb 2011
Try Chicken of the VNC as an Alternative

I've encountered this same problem (Snow Leopard hangs when trying to connect via VNC). Being able to quit NetAuthAgent and try again is a god-send.

However, as an alternative to this annoying problem, I've starting using ChickenOfTheVNC. I don't like it quite as much as the Mac's built-in VNC support, but at least it connects!

Maybe Apple will finally get around to fixing this problem -- some day!
BluesBrother is offline   0 Reply With Quote
Old Feb 21, 2011, 09:50 AM   #17
windowpain
macrumors 6502
 
Join Date: Apr 2008
Location: Japan
Wow, thanks for the information.
I was getting sick of having to reboot every time the screen sharing app decided to hang. A much better solution.

And the bookmarked links idea is great. Many thanks.
windowpain is offline   0 Reply With Quote
Old Feb 28, 2011, 03:19 PM   #18
clayj
Thread Starter
macrumors 604
 
clayj's Avatar
 
Join Date: Jan 2005
Location: 1123,6536,5321
Glad to help! :-)
__________________
mac pro 2.8ghz 8-core 24gb ram 16tb hd 30" acd | macbook air 2.0ghz 8gb ram 256gb ssd | mac mini 2.4ghz c2d | ipad air at&t 128gb space gray | ipad 2 wifi 16gb black | iphone 5 at&t 64gb black
clayj is offline   0 Reply With Quote
Old Jun 25, 2011, 05:51 PM   #19
Juan Enrique
macrumors newbie
 
Join Date: Jun 2011
Thanks

Very useful information, thank you!
Juan Enrique is offline   0 Reply With Quote
Old Oct 26, 2011, 10:28 AM   #20
onewheelskyward
macrumors newbie
 
Join Date: Oct 2011
Lion Update

Thanks for the clue! I had this issue with Lion this am, and while I didn't find a task called NetAuthAgent, I did have a NetAuthSysAgent running. It wasn't listed as not responding, but when I killed it my Screen Sharing was able to produce a connection, thus saving me effort of rebooting my machine.

So, for you 10.7 folks, kill NetAuthSysAgent.
onewheelskyward is offline   1 Reply With Quote
Old Jan 28, 2012, 01:13 PM   #21
lilgto64
macrumors member
 
Join Date: Apr 2009
Location: Ohio
Sometimes

Sometimes that helps and sometimes that does not.

Just a moment ago - after connecting numerous times to various systems on my network - screen sharing stopped working properly.

I clicked Share Screen - the connecting dialog popped put he disappeared - and the authentication window never appeared - and no remote window appears.

I Quit Screen Sharing and it says there are open connections - but there is no way to see them.

I did the force quit of both NetAuthAgent and NetAuthSysAgent - no luck.

Also did a logout - login - no luck.

Full reboot fixed it - so not sure if there is another way either in the Activity Monitor or maybe via the terminal - DNS flush or something perhaps - but there is something not entirely 100% with screen sharing.

I also use other products such as LogMeIn and TeamViewer and Timbuktu - so that I can still get into systems when I need to (don't necessarily have all of those on every remote system - but better to have more than only one way to access a remote system).
lilgto64 is offline   0 Reply With Quote
Old Mar 10, 2012, 12:13 PM   #22
JLMstriker8
macrumors newbie
 
Join Date: Mar 2012
I'm assuming the NetAuthAgent process that's hanging is on the client end?
Is there any way to do this remotely? I'm about 500 miles from my client machine at the moment so physically rebooting it is not an option.
I've tried telnet as well but it will not authenticate (most likely due to the NetAuthAgent, as I've now learned).

Is there any other way to reboot the machine remotely?
JLMstriker8 is offline   0 Reply With Quote
Old Jun 10, 2012, 05:44 PM   #23
Sitckybeak
macrumors newbie
 
Join Date: Jun 2012
Grrrrrrrr

I have tried each of the suggestions in this thread to no avail.
This problem has only recently started with me - I had been using screen sharing without issues for 18 months to 2 years.
Any insights into why this would be and/or possible solution gratefully received!
Sitckybeak is offline   0 Reply With Quote
Old Aug 7, 2012, 03:42 AM   #24
pkiula
macrumors member
 
Join Date: Mar 2008
Me too. Just started last week. Connecting from Macbook Air to Macbook Mini. Rebooting and the silly suggestions at the beginning of the thread don't work. Any other ideas?
pkiula is offline   0 Reply With Quote
Old Aug 9, 2012, 06:07 PM   #25
sweetrats
macrumors newbie
 
Join Date: Aug 2012
Me three

I just started having this problem today. I use a VPN then VNC to my work computer. I have been connecting like this without problem for years.

Screen Sharing opens and appear like its trying to connect, but just sits like that. Normally, when it can't connect I get a message saying so. Nothing.
I did try all the fixes above, rebooting, checking the activity monitor for NetAuthAgent - not there.

I can AFP and SSH no problem. But, I have a ton of work to do and really need to see my screen.

sweetrats is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Question about Screen Sharing with Virtual Display ozthegweat Mac OS X 10.7 Lion 8 Oct 3, 2011 08:52 AM
Connecting MBA to iMac for screen sharing? codeoverride MacBook Air 0 Aug 8, 2011 10:03 AM
Screen Sharing Problem rcp27 Mac OS X Server, Xserve, and Networking 2 Jun 7, 2011 08:54 AM
Screen sharing stopped working...... maclover001 OS X 0 Apr 18, 2009 11:10 PM
If Your Buying A New Computer Read This!!! Chef Medeski Marketplace Archive 2 14 Sep 7, 2006 10:18 AM


All times are GMT -5. The time now is 10:23 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC