GNOME Bugzilla – Bug 570284
Cannot connect to Mac OS X 10.5 server
Last modified: 2010-08-20 18:54:45 UTC
My Mac Mini running Leopard has VNC enabled, but when I connect I get told "unsupported authentication method". Is this fixable?
Correction: "authentication method (30)"Thanks for taking the time to report this bug.
I'm afraid this is a Mac-specific security type. It's not part of RFB protocol, as listed at www.realvnc.com/docs/rfbproto.pdf. Do you know if it's documented somewhere? I don't even own a Mac to perform tests :P
As Jonh says, auth type 30 appears to be a undocumented OS-X extension. I've not been able to find details about this myself. If anyone can find a specification for this auth type, or LGPL compatible source code to demonstrate its use, we can then consider supporting it.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
I'd say that this shouldn't be closed, because supporting OS X VNC should be a goal. I personally don't know if it's documented. I've heard that turning on the use of passwords on the OS X VNC server will enable another auth type that vinagre does support.
Ross, that's true. I do not own a Mac to tell you exactly how to enable it, but indeed you have to enable some option there so that the Mac VNC Server follow the RFB/VNC spec. Then Vinagre/gtk-vnc will manage to connect. (In its default mode, Mac is not compatible with the specifications) So, I'll close this one as WONTFIX. Feel free to reopen it if you disagree.
Created attachment 161163 [details] [review] Patch to enable type 30 authentication (Apple remote desktop) I have attached a patch to enable auth type 30. The reverse engineering of the authentication was based on Daniel Keder's reverse engineering of the ARD protocol here: http://is.muni.cz/th/99305/fi_b/ . His work focused on the 'control' part of ARD, but the authentication seem to be the same (more or less) for what the Mac server calls auth type 30. I made some changes to dh.c to enable variable sized keys which also affects the code for the 'mslogon' authentication. I haven't tested this part. The ARD authentication at least works for me to connect to a computer running Mac OS X Snow Leopard Server.
Comment on attachment 161163 [details] [review] Patch to enable type 30 authentication (Apple remote desktop) Thanks. I've tested the mslogon auth and it still works. Just pushed your patch.
FWIW: The commit is: http://git.gnome.org/browse/gtk-vnc/commit/?id=416a0dc3592e831409e6e8c18929b785094ef87c