Summary: | KRDC does not connect to Apple VNC servers (unsupported auth type - GetCredential) | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | quickfished <sduchesne> |
Component: | VNC | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eljefedelito, pfeiffer, w01dnick |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.10 | |
Sentry Crash Report: | |||
Attachments: | Here is output with KDE 4.9.4 from openSUSE binaries. (192.168.0.108 — Mac IP) |
Description
quickfished
2011-05-25 11:21:20 UTC
Can you please try to run KRDC from command line and post the output? Thank you. I have similar behavoir with standard AppleVNCServer. There is no output in konsole, but I've used Wireshark to determine what is wrong. After server & client described their versions, server sent security types list: 05 1e 1f 20 02 23 So 5 types, 30, 31, 32, 2, 35. I know only 2 - standard VNC security connection type. And vncviewer selects 2 and all is OK. But KRDC selects 30 (0x1e) and nothing happens. PS I'm using 4.8 RC2 (4.7.97) Please make sure that you are using a recent version of libvncserver (0.9.8 or newer). This version fixes issues with OSx. According to my package manager LibVNCServer version is 0.9.8_git201104301110. By the way vncviewer works fine. It uses the same library, doesn't it? I have this issue as well, Krdc 4.8.4 using libvncserver0 0.9.9+dfsg-1 on Debian Sid (2012.12.12). Blue screen on connection attempt and that's all I get. I need more information for this issue. Please do the following: run kdebugdialog, enable all krdc items (use the filter). Run KRDC from Konsole, try to connect to this server. Post all relevant output here. Thank you for your help. Created attachment 75995 [details]
Here is output with KDE 4.9.4 from openSUSE binaries. (192.168.0.108 — Mac IP)
"GCrypt support is not compiled in" Looks like a packageing issue of your distribution. Can you please check if libvncserver depends on libgcrypt and report it back here. Some new results after an analysis: * The log of Nickolay Krachkovsky shows a package issue (as stated above). * If libvncserver is linked against gcrypt, I get this output: krdc(4662)/krdc (VNC backend) VncClientThread::outputHandler: "VNC server supports protocol version 3.889 (viewer 3.8)" krdc(4662)/krdc (VNC backend) VncClientThread::checkOutputErrorMessage: "INTERNAL:APPLE_VNC_COMPATIBILTY" krdc(4662)/krdc (VNC backend) VncView::outputErrorMessage: "INTERNAL:APPLE_VNC_COMPATIBILTY" krdc(4662)/krdc (VNC backend) VncClientThread::outputHandler: "We have 2 security types to read" krdc(4662)/krdc (VNC backend) VncClientThread::outputHandler: "0) Received security type 30" krdc(4662)/krdc (VNC backend) VncClientThread::outputHandler: "1) Received security type 35" krdc(4662)/krdc (VNC backend) VncClientThread::outputHandler: "Unknown authentication scheme from VNC server: 30, 35" * The issue above is because Apple VNC requires authentication with username AND password (unlike "normal" VNC which only requires a password). So two things needs to be fixed in KRDC: * Show a proper message if authentication is not possible (because the auth type is unsupported). * Implement GetCredentialProc in the VNC plugin of KRDC. *** Bug 286138 has been marked as a duplicate of this bug. *** vncviewer uses mode 2 (only password is needed) and successfully connects to AppleVNCServer. Is it able to add to KRDC similar functionality? If some modes aren't supported, try next modes? Almost forgot. openSUSE's libvncserver doesn't depend on libgcrypt. FWIW, since libvncserver 0.9.8.x I can successfully connect to my AppleVNCServer with krdc. However ARD authentication would certainly be preferred, because the credentials are then transferred encrypted, instead of in plain text. FYI, I have worked on the ARD authentication stuff and it's working fine for me. I will commit it soon. Nickolay: please report this packaging issue to your distribution. SVN commit 1330943 by uwolfer: add support for ARD (Apple Remote Desktop) authentication - it does not fail silently while authenticate (blue background forever)) - minor fixes for VNC plugin qt-only version M +30 -3 vncclientthread.cpp M +10 -2 vncclientthread.h M +31 -12 vncview.cpp M +2 -2 vncview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1330943 SVN commit 1330945 by uwolfer: Manual Backport: - replace new message with an existing one - I consider this as a bugfix because it could fail silently without this change SVN commit 1330943 by uwolfer: add support for ARD (Apple Remote Desktop) authentication - it does not fail silently while authenticate - minor fixes for VNC plugin qt-only version FIXED-IN: 4.10 M +30 -3 vncclientthread.cpp M +10 -2 vncclientthread.h M +31 -12 vncview.cpp M +2 -2 vncview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1330945 |