You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

(Solved) How to fix VNC ARD screen sharing in Lion

How to fix VNC, Apple Remote Desktop (ARD), and screen sharing in OS X 10.7 Lion.

You can skip all the other threads and just read this.


First let's fix the Lion computer.

  1. Open System Preferences > Sharing
  2. Turn OFF Screen Sharing, Remote Login, Remote Management, and Remote Apple Events (just turn everything off)
  3. Now turn ON Screen Sharing, Remote Login, Remote Management, and Remote Apple Events
  4. Now turn everything OFF again. We have just "kickstarted" those services.
  5. Now enable the services you want. If you just want to access your computer through VNC or screen sharing, just turn on Screen Sharing.
  6. If you want Windows computers to access it, go to Screen Sharing > Computer Settings, click the VNC checkbox, and enter a VNC password.


If you administer a bunch of computers with ARD, then turn Remote Managment on. If you don't know what that last sentence means, leave Remote Management and remote Apple Events off.


The computer should now work. If not, reboot it.


If it still doesn't work, then you should try downgrading to ARD 3.4, but I don't think this is necessary.



Let's access the Lion computer from another Mac:

  1. From the other Mac, open /System/Library/Core Services/
  2. There is an application called Screen Sharing. Make an alias of it (click and drag while holding Apple and Option) in the Applications folder. Or drag it to the Dock.
  3. Now open the alias (or click the Dock icon).
  4. Type in the Bonjour name or IP address of your computer.
  5. Enter your OS X username and password.
  6. Tell it to save your password.


Viola, now you can use this to connect to your Lion computer, without having to login twice. You can also connect to Windows computers running VNC with it.


You can also connect by going to the Finder and hitting Apple-K or going to the Finder menubar Go > Connect to Server and finding the correct server. That will then launch Screen Sharing.



Let's access the Lion computer from a Windows PC:

  1. Open your VNC client
  2. Enter the Lion computer IP address
  3. Enter your VNC password
  4. You will now have to re-login with your OS X user password (unless you get a Windows client that supports direct login, but I don't know of one at the moment)


Let's access the Lion computer from an iPhone or iPad:

You could download Screens from the Apple store or...

  1. Download Mocha VNC Lite from the Apple store for free
  2. Configure Mocha but enter not just the VNC password, but also the Mac OS X user and password
  3. Viola, you can now VNC without logging in twice.




What did we actually do?

The key is called kickstarting ARD. You can find info here: http://support.apple.com/kb/HT2370, We did this manually by turning them on and then off.

This is like rebooting those systems. Once rebooted, they should work correctly. I don't believe that downgrading to ARD 3.4 is necessary, but instructions are here from Reubania https://discussions.apple.com/thread/3190260?start=15&tstart=0 (towards the bottom).


The second issue is around double-login. If you run a multiuser machine, this is a great feature. For most people, it's annoying to login twice. By configuring the Screen Sharing and Mocha apps to use OS X authentication, we bypass this annoyance. If you want to have double login for multi-user reasons, simply don't setup/save your password, or save the password for the account you do want to login with.

iMac, Mac OS X (10.7.1), Apple Remote Desktop

Posted on Aug 26, 2011 2:11 PM

Reply
58 replies

Dec 20, 2011 1:26 PM in response to rawsaxy

The Craw is right, you have two computers behind 1 router sharing a single public IP. At a minimum you would need to setup port forwarding on your router. But with Apple VNC I dont think it lets you customise the incoming port, so you will only be able to forward the VNC port to one machine.

Connect to server works on external networks - http://hints.macworld.com/article.php?story=20070226135647141

Yours is a networking problem. Try MobileMe's Back to My Mac, or something like Logmein/Teamviewer.

Not much else you can do

Dec 20, 2011 3:55 PM in response to rawsaxy

Still see a problem, I can't figure out how if you put the internet ip in how it will be able to route through to the proper machine at the other end without ports being forwarded. Also the same ports are always used so you would have them routed to one machine or the other. Not automatic.


If Ichat does that part that you need why don't you set up a private share with like dropbox to ID's on each of the machines ( http://db.tt/nk8pBDdP ) and use that as a way to share the files that you need and Ichat for the other.


Not perfect but will probably save you a ton of time.


Good Luck

Dec 22, 2011 8:41 PM in response to TheCraw

Thanks for the suggestions, but I already had forwarded all the necessary ports. According to many tutorials I have found, they all pretty much state the same thing; if you forward all the necessary ports, and utilize the external IP address from another computer, even if you are traveling, it works. Well, in my case it doesn't. I believe it may be that my modem/router which is a 2Wire 2701 model, doesn't support UPnP. But, opening/forwarding the ports Apple states, should make it work. Well, I rather not continue this task because it is just taking too much time. iChat is fine as long as someone is on the other end to accept screen share. But to be able to access my own computer when I am traveling, it doesn't seem possible with the set-ups available.


Thanks again. May you all have a blessed and beautiful Christmas. Jesus Loves You All!

Jan 27, 2012 12:39 PM in response to Saint Mac

Unfortunately this didn't work for me. The loginwindow console was still frozen and unresponsive whenever I tried to log in via Screen Sharing.


There still seems to be a glaring bug within Lion 10.7.2 Remote Management.


There was also another tip to put the screen to sleep by running `pmset sleepnow` while sshed in, but that also did not work for me.


The only thing that worked was to either


1. Disable Fast User Switching


or


2. killing the loginwindow console process while sshed in.


run the following command to get the process id (pid):


ps auxwww | grep 'loginwindow console'


then run:


sudo kill -9 pid


where pid is the # of the process id

Feb 13, 2012 11:28 PM in response to Saint Mac

I am using the VNC Viewer iOS app and the ARD refresh did not work for me.


I've been fiddling with this for a few weeks and just found this article, which did the trick.


http://www.realvnc.com/company/press/news/lion-information.html


From the article: "... you no longer need to specify a separate VNC password. Turn it off by opening System Preferences > Sharing > Screen Sharing, clicking the Computer Settings button, and turning off VNC Viewers may control screen with password. You must then restart Screen Sharing (turn it off and back on again)."


Hope this helps some people in a similar situation.


- BH

Feb 15, 2012 9:02 PM in response to Saint Mac

You are a god-send. Nearly saved my marriage. Thank you! Hubby has been on the rampage to use IPAD to remote control headless Mac Mini mid2011 i5 w/Mac OS X Lion 10.7.2 since purchased 3 days ago.


Apple mall shop tried for hours to get LogMeIn to work - nope.. Worked on everything in the store except Mac Mini 2011. I was up until 4am yesterday searching for options/software/discussions. Found your post but too tired and woke up husband next to me to go to bed to sleep. He woke up and said "Is it fixed?"


Just followed your excellent instructions and it worked! I should name one of my children after you.


Saint Mac, Thank you, Thank you, Thank you!

Feb 17, 2012 12:29 PM in response to Saint Mac

Since I upgraded to Lion, screensharing didn't work any more. All methods and tips I found here and in the internet did not work untill this one here: reset PRAM (some settings the Mac stores to have them accessible quicker)

- Turn Mac off

- Turn Mac on while holding down R, P, alt and cmd untill startup sound can be heard twice.


Since then it works like it did under Snow Leopard.

Feb 23, 2012 3:03 AM in response to Saint Mac

Here is what solved my problem. I had a fresh install of Lion server 10.7.3 on my Mac mini. Screen sharing was turned on but wouldn't work. The only thing that did it for me was adding a new service on the machine's firewall for VNC port 5900 TCP, and enabling it for some users. It is a bit strange that the new install did not have this service open on the firewall, and even stranger that I couldn't see the blocks in the firewall logs.

Hope this helps.

Feb 23, 2012 8:01 AM in response to guillame

@guillame: wait until tomorrow or some restarts of both machines. It worked that way for me too, but the next day it did not work for me any more.


@ all: the only way to get a usable screen sharing was to replace the ARDAgent with the one from the last update, 3.4., on all Macs. Instruciton see the third post here, from Reubania at 30th July 2011, 08:56 AM

http://www.mactalk.com.au/11/102585-os-x-lion-screen-sharing.html


I hope, Apple fixes this soon.


Regards

Philipp

Feb 27, 2012 4:23 AM in response to Saint Mac

Here's how I solved the problem on my Mac mini with shared screen under 10.7.3:


  • go to Systems Preferences > Security and confidentiality > Firewall
  • click on Advanced
  • set screensharingd to Allow all incoming connections
  • reboot the Mac mini (or the Mac with shared screen)


The firewall was blocking the connections for screensharingd daemon port 5900.


I hope that helps!

Feb 27, 2012 1:07 PM in response to Saint Mac

Sweet Lord, thank you! I'm so ****** with Lion at this point. I can't tell you how long I've been trying to connect via ScreenSharing form my SL iMac to my Lion Macbook. Your instructions were concise and worked immediately. Thank you very much! Apple, I love your products, but get your s#$t together with simple features working across platforms!

(Solved) How to fix VNC ARD screen sharing in Lion

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