师3626 发表于 2016-5-18 10:32:47

ARD and VNC on both Mac and Windows

这里有一个很好的关于ARD和VNC的互操作以及不同平台之间通信的文章,比较全面。

The "normal" version:
Yep. All generic VNC software will conflict with ARD. This is a good note for most admins out there.

The "geek" version:
Tell RealVNC to use port 5901. Look at the "Connection Options" section of the documentation for your server-side os/version.

The "too much information?" version:
Actually, VNC servers and ARD do just fine side by side. (Aside fromlistening and bonjour ahttp://images.apple.com/remotedesktop/images/indexhero20060321.jpgdvertising and that), both servers are actuallyinactive until they receive a connection request. The clincher is thatany services ...from Apache to ARD reports to SMB to VNC... always needto be listening to different sockets on different ports. In the goodold days, VNC servers could actually listen on several ports and wouldserve at different color depths and resolutions based on the portnumber of an incoming request. In fact even today, because ARD uses amostly standards-compliant VNC implementation, it has to use adifferent port for reports and commands and such so it won't conflictwith the inbuilt VNC server.

VNC is usually on port 5900 nowadays. ARD uses 5900 for its VNC withoutasking. ARD also uses (or has used) 3283, 5432, 5433, and 5988 forreports and other non-VNC communication. (See: Apple's list of common ports.) In my experience, ARD's VNC client can very reliably control standards-compliant VNC servers, though your mileage may vary.


[*]

[*]To control a non-ARD VNC server via ARD, just do whatever younormally would in ARD. When controlling, it may warn you that the VNCserver doesn't support keystroke encryption, etc. but should still workfine.
[*]To connect ARD to a VNC service running on a different port, choose"Add by Address… ⌥⇧⌘N" and in the address field, type the domain nameor IP address as you normally would, but append a full colon ":" andthe port number. For example, jsmith.example.com:5901 would connect tothe computer named jsmith but would look for the VNC service on port5901.
[*]To control a Mac which is running the OS's ARD-VNC server from athird-party VNC app, you must have 'plain' VNC access turnedserver-side (that is, on the Mac to be controlled: System Prefs >Sharing > Remote Management > Computer Settings > "VNCviewers…"). As long as you use a decent client, it should work reliablyafter that.


I routinely run the standard ARD "Remote Management" services on myservers for normal remote interaction, but then have a Vine Server setup on 5901 with vastly different settings to benefit low bandwidthconnections from the internet, from my iPod's VNC client, or throughbouncy ssh tunnels.

If you have any other experiences or questions, or especially if anyonewants try any of this and encounters problems, by all means post back.

From: http://discussions.apple.com/thread.jspa?threadID=1722872&tstart=0
页: [1]
查看完整版本: ARD and VNC on both Mac and Windows