As far as I can tell krdc should be as cross-platform as LibVNCServer and FreeRDP are and indeed it builds and runs almost "out of the box" on Mac. However there is a key translation issue when I connect to a VNC server on a Linux client while using the regular Cocoa QPA. The same executable runs fine when I use Qt's XCB QPA. To me that suggests that LibVNCServer is not to blame but gets fed the wrong keys. One explanation would be that QKeyEvent::nativeVirtualKey() returns a keysymbol that LibVNCServer understands, presumably X11 keysym definitions. NB: I have not been able to test RDP for lack of a suitable server I have access to. Likewise I cannot ATM test VNC connections from Mac to Mac other than to the local server which may not be representative.
Created attachment 104328 [details] patch for the keysym translation issue This patch adapts the solution from http://italc.sourcearchive.com/documentation/1.0.9.1/vncview_8cpp-source.html The test `if (QGuiApplication::platformName() == QStringLiteral("xcb"))` must probably include the wayland QPA, if that platform also returns X11/RFB keysyms from QKeyEvent::nativeVirtualKey().
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!