Bug 504747

Summary: KRDC simply does nothing after trying to remotely access another PC
Product: [Applications] krdc Reporter: José Rafael <joserafaeltic>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: critical CC: ctrlaltca
Priority: NOR    
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video bug krdc

Description José Rafael 2025-05-24 22:31:07 UTC
Created attachment 181716 [details]
video bug krdc

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Enter the ip of the remote computer
2. try to connect

Observed result
the background screen flashes and does nothing

Expected result
Remote access successful


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor 1: Intel® HD Graphics 4400
Graphics Processor 2: NVIDIA GeForce GT 740M


ADDITIONAL INFORMATION
The same thing happens on the side of the PC I want to connect to remotely

➜  ~ krdc                    
KRDC: Starting RDP session
[19:29:26:801] [72002:000119c2] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned a system error 32: Pipe quebrado
[19:29:26:801] [72002:000119c2] [ERROR][com.freerdp.core] - [transport_default_write]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[19:29:26:830] [72002:000119c2] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned a system error 32: Pipe quebrado
[19:29:26:831] [72002:000119c2] [ERROR][com.freerdp.core] - [transport_default_write]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[19:29:26:831] [72002:000119c2] [ERROR][com.freerdp.core] - [freerdp_connect]: freerdp_post_connect failed
KRDC: Unable to connect
Comment 1 Fabio 2025-05-27 21:31:57 UTC
Hi, looking at the logs the server is just refusing the connection.
Still, there's a bug since a popup/notification should appear informing the user of the connection error.
Comment 2 Fabio 2025-06-17 19:32:41 UTC
> Still, there's a bug since a popup/notification should appear informing the user of the connection error.

Error handling has been fixed in https://invent.kde.org/network/krdc/-/commit/74f0be969ae7c33d8d053d92e114acfe383d7c7a