Bug 481968 - RDP session won't launch - Could not connect to server
Summary: RDP session won't launch - Could not connect to server
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: RDP (show other bugs)
Version: 24.02.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords: qt6
: 482836 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-28 21:44 UTC by yamiyukisenpai
Modified: 2024-03-10 17:44 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 2024-02-28 21:44:38 UTC
SUMMARY
When I try to connect, I get the error (could not connect to server)

And not sure why I'm getting a certificate error, when I didn't get the same thing on the one from Flatpak

STEPS TO REPRODUCE
1. launch KRDC
2. Attempt to connect to a Windows server via RDP

OBSERVED RESULT
Popup that says "could not connect to the server"

EXPECTED RESULT
For it to connect to the server

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.6.10-76060610-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon Pro WX 3200 Series

ADDITIONAL INFORMATION
KRDC: Starting RDP session
[16:22:16:724] [2326247:2326247] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[16:22:16:724] [2326247:2326247] [WARN][com.freerdp.crypto] - CN = FMT-DC02.folksvfx.int
[16:22:21:469] [2326247:2326247] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer
[16:22:21:469] [2326247:2326247] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[16:22:21:836] [2326247:2326247] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer
[16:22:21:836] [2326247:2326247] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[16:22:21:836] [2326247:2326247] [ERROR][com.freerdp.core] - freerdp_post_connect failed
KRDC: Unable to connect
KRDC: ERRCONNECT_CONNECT_TRANSPORT_FAILED The connection transport layer failed.
Comment 1 Albert Astals Cid 2024-02-28 22:08:59 UTC
Arjen any idea?
Comment 2 Arjen Hiemstra 2024-02-29 09:05:55 UTC
Can you try connecting with xfreerdp directly? It seems there's some sort of problem with the connection.
Comment 3 Miguel 2024-02-29 10:28:29 UTC
Same here after upgrade:

KRDC: Unable to connect
KRDC: ERRCONNECT_CONNECT_TRANSPORT_FAILED The connection transport layer failed.
Comment 4 Miguel 2024-02-29 10:29:23 UTC
(In reply to Arjen Hiemstra from comment #2)
> Can you try connecting with xfreerdp directly? It seems there's some sort of
> problem with the connection.

xfreerdp connects correctly
Comment 5 Miguel 2024-02-29 14:30:12 UTC
I'm only able to connect to machines with domain

sending i.e login@domain.ext@ipofthehost
Comment 6 Miguel 2024-02-29 19:00:46 UTC
The only way to connect to hosts without domain is not passing username on the connection.
Copy and paste note working, can't connect drive to remote rdp.
Comment 7 Tony Murray 2024-03-08 01:07:54 UTC
This is fixed by https://invent.kde.org/network/krdc/-/merge_requests/84
Which I backported to the 24.02 branch, regrettably, I couldn't get it in before 24.02.0 was released.

It will be in 24.02.1 so things at least kind of function.
Comment 8 Tony Murray 2024-03-08 14:56:00 UTC
*** Bug 482836 has been marked as a duplicate of this bug. ***