Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Screen Sharing does not accept my password anymore

Hi


I have a headless Mac Mini Server running Snow Leopard Server 10.6.8 and a MacBook Pro running Snow Leopard 10.6.8. I detected this morning, that I'm not able to connect from the MacBook Pro to my Mac Mini over Screen Sharing. All other services, mail server, iCal server, Address Book server, file sharing over SMB or AFP even connecting over VNC do work.


- I select the Mac Mini symbol in Finder

- in column view, I select Share Screen...

- in the connection dialog, I add the password (username is already predefined)

- on connect, I get: Authentication failed to "servername". Please verify you have entered the correct name and password.



I use the same username and password with Server Admin, or logging in locally over VNC so I know this is correct.I'm sure I did not change any settings concerning screen sharing (I did some experiments with WebDAV recently)


I'm not sure, when I used Screen Sharing the last time, is there a log on the server for this? Could be, the problem was introduced with 10.6.8, but I'm not sure. From the logs I see, Screen Sharing did work on July, 16th. This would narrow it down to: iTunes 10.4 (not likely), Migration Assistant Update for Mac OS X SL 1.0, and Remote Desktop Client Update 3.5.1.


On the server, I found the following log entries: Jul 21 20:24:33 servername AppleVNCServer[1362]: no such user: user@LKDC:SHA1.xxxxxx: 2


Any help on this problem?

Screen Sharing Version 1.1.1-OTHER, Mac OS X (10.6.8)

Posted on Jul 21, 2011 9:37 PM

Reply
43 replies

Jul 21, 2011 9:48 PM in response to andifor

Well, it's still not working, but the following discussion is helpful, as I have the same effect, connecting over servername.local rejects my username / password, but connecting over IP address allows me to log in (see https://discussions.apple.com/thread/3092316?answerId=15362874022#15362874022)


This leads me to some other speculation. After the last screen sharing session, I changed the ip address of the MacBook Pro to DHCP and back to fixed IP address, could this be associated somehow? (just guessing) The server never changed its IP address.

Jul 25, 2011 6:32 AM in response to Phil William

Still not working for me, either. None of the suggestions have fixed the behavior. It seems to be the server side, since I ran software updates on the client side and that didn't break anything, but as soon as I ran the updates on the server, it broke the connection. I tried kinit and kdestroy as suggested on one of the three threads about this breaking on 10.6.8, and that didn't help either. I am contemplating putting another VNC server on the computer.


Sadly, I have been slowly replacing the built in functionality of the Mac Server OS (on the regular OS I don't need these things as much) with third party apps for some time now because of these sorts of things. Every time an update comes something seems to break or doesn't work quite right out of the box. FTP, Java, MySQL/PHP, rsync to name a few, and now VNC.

Jul 26, 2011 3:49 PM in response to andifor

Sorry if this makes you feel stupid. I had the same problem with 4 macs in the house. The problem manifested after the latest set of Lion-related updates (all my macs are still on Snow Leopard). After stopping everything and running software update to get all the gear running the same version of everything, I still could not get screen sharing to work, getting the login error despite connecting ok via finder.


It was really a very simple fix, at least in my case. Many of us, especially i/t geeks, will set up our user account with a more unix-like user-id. For example "John Doe" will have the user-id "doej" or something of the sort. That user-id was the value I used when connecting via finder and screen sharing. Thinking back to some crazy Windows login problems, I tried using my "display name" on the account (instead of the actual user-id) in the user-id field of the authentication popup for screen sharing instead. The display name (most people just put their real name in when running setup) is what appears for your account in the initial login list on start up. It worked.

Jul 27, 2011 5:24 AM in response to andifor

Sorry if that didn't come out right. I should have taken the time to get the correct labels off of the user preferences dialogue and it would have made more sense.


When you create a new user, there are two fields: one for "Full Name" (typically the user's actual name) and another for "Account name" (this usually a more Unix-like user-id). On my system, typing "John Doe" into the Full Name box automatically populates "johndoe" into the Account Name box. I would guess the majority of Mac users will leave that default in there, type in a password and hint and complete creating the account.


Interestingly, you cannot view the Account name in the user preferences dialogue once the account is created. However, the Account name is used as the name of your Home folder.


In the past, I've used that Account name when connecting to shares in finder. I just verified that when you open finder and click "Connect As" and choose "Registered User," the authentication prompt in SL automatically has the Account name in the user field. Once connected in finder, all I had to do is click Screen Sharing and it would just open up. Presumably since I had already authenticated via finder. After the last updates, I started getting a password prompt only when attempting to start screen sharing. Finder still worked the same as before, and I was able to view all my folders. Using the Full Name instead of the Account name got me through the second password prompt and opened the screen sharing session.


I tried authenticating the finder with the Full Name instead, and still got the second authentication prompt when launching screen sharing. Clearly Apple has made a change to screen sharing that no longer passes through your finder authentication.


If you've somehow already been using the Full Name, and not the Account name, to authenticate in finder, this fix doesn't help you.


What I meant by "feeling stupid" is going to great lengths to step through a lot of troublesome reboots and whatnot, only to discover that the problem is an arcane, and apparently pointless change with which user name on the account authenticates for two apparently related features (you do go through finder to get to screen sharing!). I certainly didn't mean you were stupid. I wouldn't blame you for having to figure out something Apple changed up after years for no apparent reason. I wasn't real happy about it either after wasting an hour or so figuring it out. My poor choice of words was really meant in the spirit of that "d'oh!" moment when you find the trivial 5 second fix after spending that hour (or days) doing lots of potentially risky stuff to no avail.

Jul 27, 2011 8:39 PM in response to th0mas_l

Sweet Sassy Molassy! That was it! Thanks, th0mas_l. I wouldn't even have thought to enter my full name since the computer kept autofilling my account name. I was going deep into the bowels of kerberos nonsense to try to figure out what was going on. The confusing thing is that you can connect with your account name if you connect via the machine's IP address.

Jul 29, 2011 10:05 PM in response to th0mas_l

th0mas_l wrote:


I tried using my "display name" on the account (instead of the actual user-id)

Thanks so much. I was having this issue after upgrading Mac OS X Server 10.6.7 to 10.6.8, and using my full name instead of my account name was exactly the solution. I never would have thought of that.



th0mas_l wrote:


Interestingly, you cannot view the Account name in the user preferences dialogue once the account is created.

Actually you can but it's concealed. On Mac OS X Snow Leopard (client version), in the Accounts pane of System Preferences, click the lock to unlock it (if necessary), then Control-click (or right-click) the account name in the list, and select the menu item that appears: Advanced Options. Probably a good idea to heed the warning about not changing any values there unless you know exactly what will happen.

Screen Sharing does not accept my password anymore

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