Help with KRDC
from seathru@lemmy.sdf.org to linux@lemmy.ml on 02 Mar 01:05
https://lemmy.sdf.org/post/30298235

PC A and B are running Fedora 41, both on the same local network. I used to be able to use KRDC to remote desktop from PC A to B. After letting both PCs update a couple weeks ago, it’s no longer working. When I try, I get the username and password prompt. But after entering, I get a “Could not connect to server” error in KRDC. I get the following errors in the terminal:

KRDC: Starting RDP session

[17:35:18:316] [5149:5149] [WARN][com.freerdp.crypto] - Certificate verification failure ‘self-signed certificate (18)’ at stack position 0

[17:35:18:316] [5149:5149] [WARN][com.freerdp.crypto] - C = XX, L = Default City, O = Default Company Ltd

[17:35:31:266] [5149:5149] [ERROR][com.freerdp.core.capabilities] - expected PDU_TYPE_DEMAND_ACTIVE 0001, got 0006

[17:35:31:266] [5149:5149] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

[17:35:31:266] [5149:5149] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

[17:35:32:486] [5149:5149] [ERROR][com.freerdp.core.capabilities] - expected PDU_TYPE_DEMAND_ACTIVE 0001, got 0006

[17:35:32:486] [5149:5149] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

[17:35:32:486] [5149:5149] [ERROR][com.freerdp.core] - rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

[17:35:32:486] [5149:5149] [ERROR][com.freerdp.core] - freerdp_post_connect failed

KRDC: Unable to connect

Unfortunately I don’t know what update broke it. I just hit ‘update all’ and walked away. Thanks for any help. Also open to suggestions on any better remote desktop programs.

#linux

threaded - newest

just_another_person@lemmy.world on 02 Mar 01:45 next collapse

Disable SSL/TLS and try again.

[deleted] on 02 Mar 19:17 next collapse

.

ikidd@lemmy.world on 03 Mar 04:17 next collapse

So I just had a laptop with 41 on pre-6.3 Plasma, and I could RDP into it fine. I updated and could no longer RDP in. I didn’t see a process in htop for /usr/bin/krdpserver when I turned it on-off-on-off-on in Settings-Remote Desktop. So I move the video quality slider and it says it needs to restart the server, so I do that, and now I see it in htop and can rdp in.

I try it the other direction, no go. Try the same trick and while it has a server running now in htop, I just get a black screen on connection from the first computer. So I down the one in Settings, and just run /usr/bin/krdpserver from a terminal. That helps me figure out that it’s upset about my multimonitor setup now. So I run krdpserver -u ikidd -p 1111 --monitor 3 --quality 100 and then it connects, though only to the single monitor I specify, of course.

I’m also using the commandline xfreerdp directly instead of the KRDC wrapper. I don’t have a lot of trust in that wrapper. My typical commandline is something like xfreerdp /v:192.168.8.131 /u:ikidd /p:“1111” /dynamic-resolution +clipboard /cert:ignore /console /size:1920x1080

Hopefully that gives you something to work with. You can also check bugs.kde.org/buglist.cgi?component=general&produc…

chaoticnumber@lemmy.dbzer0.com on 03 Mar 11:06 collapse

Yup. Go back a version of xfreerdp. Done.

sudo dnf downgrade xfreerdp (or whst ever is the name of the package)