Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Disable Screen Sharing's 'no encryption' warning System 10.5
After following this write-up by robg (on how to restore the bonus screen sharing buttons) and enabling the Screen Sharing Bonjour Browser, I have started using Leopard's built-in Screen Sharing.app as a VNC client to connect to a Linux box at work.

However, the built-in VNC server I use on Linux does not support encryption, so Screen Sharing displays a warning message about it without an option to disable it. I guess it would be OK if I just had to click 'Continue' every time I had to initiate a connection, but the warning message keeps popping up after half of my mouse clicks during the connection, making it very impractical to use.

In the end, this did not turn out to be an insurmountable obstacle. Thanks to the method outlined in robg's article on how to find hidden preferences, I found one that turns off the warning message. In Terminal, enter this command:
defaults write com.apple.ScreenSharing dontWarnOnVNCEncryption -bool TRUE
As expected, replacing TRUE in the above command with FALSE brings back the annoying warning messages.
    •    
  • Currently 2.27 / 5
  You rated: 4 / 5 (11 votes cast)
 
[10,713 views]  

10.5: Disable Screen Sharing's 'no encryption' warning | 5 comments | Create New Account
Click here to return to the '10.5: Disable Screen Sharing's 'no encryption' warning' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Disable Screen Sharing's 'no encryption' warning
Authored by: mzs on Feb 09, '09 09:29:18AM

I tunnel my vnc over ssh, and I only get the warning at the beginning. Just add this when you ssh into the Linux box:

-L5910:127.0.0.1:5900

Then open vnc://localhost:5910/ in Screen Sharing.app, in fact I have it do it automatically from my ssh command line with this:

-o PermitLocalCommand=yes -o LocalCommand='/usr/bin/open vnc://localhost:5910/'

Then once you connect Screen Sharing.app will pop-up and connect to the Linux box (with that warning).

It is a really bad idea to just allow TCP port 5900 be unencrypted for all to see. That warning is there for a reason.



[ Reply to This | # ]
10.5: Disable Screen Sharing's 'no encryption' warning
Authored by: barefootguru on Feb 09, '09 11:16:51AM

I like the LocalCommand—cheers! Note you shouldn't need the path to 'open'.



[ Reply to This | # ]
10.5: Disable Screen Sharing's 'no encryption' warning
Authored by: leamanc on Feb 10, '09 07:59:45AM
It is a really bad idea to just allow TCP port 5900 be unencrypted for all to see. That warning is there for a reason.
I would guess the hint submitter, like myself and many others, are connecting to these VNC servers on a LAN, behind a router, and the machines aren't exposed to the Internet. If the rest of your network is secure, there's not much to worry about.

[ Reply to This | # ]
10.5: Disable Screen Sharing's 'no encryption' warning
Authored by: nickv2002 on Feb 10, '09 01:03:04AM

Works great! I was just looking for info on how to do this for my local VNC connection to my Linux torrent box.

Thanks



[ Reply to This | # ]
10.5: Disable Screen Sharing's 'no encryption' warning
Authored by: sd on Feb 10, '09 01:07:34PM

thanks



[ Reply to This | # ]