That makes no sense to me. First, what do you mean by "Mac OSX 5". Second, what VNC server is running on the Macs? Third, why are you using such an old version of UltraVNC?
Please be aware that Apple broke VNC compatibility with its 10.7 Lion release (if that's what you were talking about) -- very few VNC programs are compatible with the supposed native VNC server support.