After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570284 - Cannot connect to Mac OS X 10.5 server
Cannot connect to Mac OS X 10.5 server
Status: RESOLVED FIXED
Product: gtk-vnc
Classification: Other
Component: general
0.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-vnc-maint
gtk-vnc-maint
Depends on:
Blocks:
 
 
Reported: 2009-02-02 21:50 UTC by Ross Burton
Modified: 2010-08-20 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to enable type 30 authentication (Apple remote desktop) (9.03 KB, patch)
2010-05-16 11:59 UTC, Håkon Enger
committed Details | Review

Description Ross Burton 2009-02-02 21:50:18 UTC
My Mac Mini running Leopard has VNC enabled, but when I connect I get told "unsupported authentication method".  Is this fixable?
Comment 1 Ross Burton 2009-02-02 21:52:43 UTC
Correction: "authentication method (30)"Thanks for taking the time to report this bug.
Comment 2 Jonh Wendell 2009-02-16 17:09:35 UTC
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
Comment 3 Daniel P. Berrange 2010-03-20 18:25:05 UTC
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.
Comment 4 Tobias Mueller 2010-05-05 10:49:24 UTC
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!
Comment 5 Ross Burton 2010-05-05 11:10:37 UTC
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.
Comment 6 Jonh Wendell 2010-05-05 11:21:03 UTC
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.
Comment 7 Håkon Enger 2010-05-16 11:59:30 UTC
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 8 Jonh Wendell 2010-08-20 18:14:52 UTC
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.