Connect to a Mac Remote Desktop using VNC

This will be a quick howto as it’s mostly a settings issue, but here goes:

Macs have come with a Remote Desktop server for quite some time now, and it’s great for using macs to manage macs remotely, though maybe not as nice as an NX or XMing solution.

When trying to manage an Apple computer using a Windows or Linux computer it’s a different story. When you attempt to open the connection the authorization works, but the window will close very quickly, with no apparent error.

The problem lies in the actual implementation of VNC in Apple’s Remote Desktop server (not to be confused with RDP – it’s MUCH slower). Apple has decided to only support one type of tiling, whereas most VNC clients will attempt to find the best solution in order to connect. Specifically, Apple uses HexTile, and if you specify this in the options or properties of your connection, it will work with no problems whatsoever.

If you’d like to make a .VNC configuration file in order to connect to your Mac server using a Windows VNC client (RealVNC used here), just take the following code and save it as a *.VNC configuration file, being careful to change the host from (null) to the remote Apple Remote Desktop server’s IP address (for example: 10.10.10.10).

[Connection]
Host=(null)
[Options]
UseLocalCursor=1
UseDesktopResize=1
FullScreen=0
FullColour=1
LowColourLevel=1
PreferredEncoding=hextile
AutoSelect=0
Shared=0
SendPtrEvents=1
SendKeyEvents=1
SendCutText=1
AcceptCutText=1
DisableWinKeys=1
Emulate3=0
PointerEventInterval=0
Monitor=
MenuKey=F8
AutoReconnect=1

I have tested this method on many Windows and Linux machines, using RealVNC, TightVNC, UltraVNC and even Chicken of the VNC for Mac OS X. It works fine, though I’d like to pound home again that I would really like to have the option to either tunnel application over SSH, or have some type of locally-accelerated RDP-compliant protocol (heck why not use LTSP 5.0?)
One can only dream…