Summary: | KRDC hangs when trying to connect to VNC host | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Stefan Becker <chemobejk> |
Component: | VNC | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ctrlaltca, foxfire-auspex, nicolas.fella, vasyl.demin |
Priority: | NOR | ||
Version: | 24.02.1 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Stefan Becker
2024-04-08 07:01:27 UTC
Just found a RDP host @ work. Connection with krdc works, it checks the certificate and then asks to username & password (I have no login there). So I assume that the RDP plugin is fully working and only the VNC plugin is broken. (In reply to Stefan Becker from comment #1) > Just found a RDP host @ work. Connection with krdc works, it checks the > certificate and then asks to username & password (I have no login there). So > I assume that the RDP plugin is fully working and only the VNC plugin is > broken. I'm not sure that I've encountered the exact same bug, but they're superficially similar enough that I'll just add my information here. Since upgrading to Fedora 40, KRDC does no longer connect to a Windows VM I use at work via RDP. Since Remmina shows no such issue, I assume that my experience may be related to this bug. I run the following versions: Operating System: Fedora Linux 40 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.7-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland krdc & krdc-libs: 24.02.2-1.fc40 If I run krdc in a terminal, I get the following output (which is new since Fedora 40, the host I'm trying to connect to has not changed in any meaningful way): kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/krdc/libkrdc_rdpplugin.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/krdc/libkrdc_testplugin.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/krdc/libkrdc_vncplugin.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed qt.core.qobject.connect: QObject::connect: No such signal KBookmarkManager::changed(QString,QString) KRDC: Starting RDP session [13:52:25:888] [18828:18828] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0 [13:52:25:888] [18828:18828] [WARN][com.freerdp.crypto] - CN = [censored] [13:52:39:629] [18828:18828] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer [13:52:39:629] [18828:18828] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D] [13:52:40:958] [18828:18828] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer [13:52:40:958] [18828:18828] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D] [13:52:40:958] [18828:18828] [ERROR][com.freerdp.core] - freerdp_post_connect failed KRDC: Unable to connect (In reply to foxfire-auspex from comment #2) > > I'm not sure that I've encountered the exact same bug, but they're > superficially similar enough that I'll just add my information here. Your bug is not a bug, I fear. The log clearly shows that FreeRDP crypto rejects the self-signed certificate offered by the RDP host. After that the connection is closed. KRDC does *NOT* freeze up as it does with VNC connections. > KRDC: Starting RDP session > [13:52:25:888] [18828:18828] [WARN][com.freerdp.crypto] - Certificate > verification failure 'self-signed certificate (18)' at stack position 0 > [13:52:25:888] [18828:18828] [WARN][com.freerdp.crypto] - CN = > [censored] I'm not sure if KRDC/FreeRDP has an option/dialog to ignore certificate errors. There may also have been a tightening of system TLS security settings in Fedora 40 (there have been several rounds of that in the last releases), which you would need to loosen to be able to connect. (In reply to Stefan Becker from comment #3) > I'm not sure if KRDC/FreeRDP has an option/dialog to ignore certificate > errors. There may also have been a tightening of system TLS security > settings in Fedora 40 (there have been several rounds of that in the last > releases), which you would need to loosen to be able to connect. Thank you very much for the input. It's somewhat embarrassing that this wasn't obvious to me. I'll investigate further on my own then. The original issue is possibly a duplicate of BUG 486178 Yeah, that looks like the same issue. *** This bug has been marked as a duplicate of bug 486178 *** |