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.

Lion broke screen sharing, VNC?

Lion is installed fine and dandy on my iMac. However, I cannot use Screen Sharing from my laptop (not upgraded... Yet) nor can I use VNC from my PC or iPad to connect to the iMac. Everything gets a "could not connect" error with no useful information.


I have Remote Administration turned on with thiMac and could use VNC just before the Lion upgrade went in.


Any pointers/suggestions?

iMac, Mac OS X (10.7)

Posted on Jul 20, 2011 12:15 PM

Reply
200 replies

Aug 4, 2011 8:28 AM in response to Flux Labs

Flux Labs wrote:


The way I resolved the issue without downgrading ARD is to reinstall ARD 3.5 from http://support.apple.com/kb/DL1423. Once this is re-installed, enable then disable Remote Mangement or Screen Sharing in Preferences.


This fixed my problem! Now VNC Viewer or Mocha VNC let me input the password for the account and I can access my mini everytime.

Aug 5, 2011 6:09 PM in response to Shawn Grinter 2

My Mocha VNC settings are the same, and yet still no joy connecting. I downloaded the latest Mocha update which added Lion support, including user login. I tried that to no avail. Now it immediately comes back with "connection refused".


On the OS X Sharing settings, I've tried it with and without the VNC user can connect...with password option, and get the same results. I don't even see anything logged on the Console when connection attempts are refused.


Any ideas?

Aug 5, 2011 9:30 PM in response to Geordon

The technical reasons for at least most of the problems you guys are having (maybe not all) has to do with VNC Encoding types. You need to change the settings in your VNC clients to "Use Alternate Encodings" or specify manually which ones to enable or disable. I have found the following settings to be appropriate for each encoding type:


ZRLE: enabled

Tight: DISABLED

Zlib: enabled

ZlibHex: DISABLED

Hextile: DISABLED

CoRRE: enabled

RRE: enabled

Raw: enabled


If you have certain encoding types enabled which Lion does not support (but Snow Leopard used to support) you will get either "disconnected" errors or it will never connect in the first place.


I hope this helps! One other suggestion: Don't jump to accusations when old stuff stops working. Apple is still supporting VNC wholeheartedly, but also moving forward to add multiple user support. That's awesome!!


By the way, I also had the server-related problems some people here had. Restarting the Screen Sharing service (and the computer) did the trick. YMMV



All the best,


Ryan

www.artisantech.com

Aug 11, 2011 7:51 AM in response to Michael C M

I have been experiencing the same problem as most here, but it just started for me. VNC was working just fine going from Windows XP at work using Real VNC to my mac running Lion.


The one change I made on my mac was running the Lion Server App. Not sure if theres a way to undo whatever it did.


Also noticed that I am able to use VNC from my iPod Touch using iTeleport, BUT only from home on my Local Network. When I try to access from a remote location, I get the same issue as with Real VNC.. It connects, sometimes I am able to click on the User I would like to login as, but after that, the keyboard is ignored.


However, if I click on Restart or Shutdown instead of a User Name, I am able to type the authentication to Restart or Shutdown.

Lion broke screen sharing, VNC?

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