Still can no longer login to gnome-remote-desktop

Continuation of https://discourse.gnome.org/t/can-no-longer-login-to-gnome-remote-desktop-kerberos-error

I still get

mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:746] [1566726:0017ea8c] [ERROR][com.winpr.sspi.Kerberos] - [retrieveTgtForPrincipal]: krb5_kt_start_seq_get (Permission denied [13])
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:746] [1566726:0017ea8c] [ERROR][com.winpr.sspi.Kerberos] - [retrieveTgtForPrincipal]: krb5_kt_start_seq_get (Permission denied [13])
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read retries exceeded
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.peer] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.nla] - [nla_server_recv_stream]: nla_recv() error: -1
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.transport] - [transport_accept_nla]: client authentication failure
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [WARN][com.winpr.sspi] - [winpr_DeleteSecurityContext]: DeleteSecurityContext status SEC_E_INVALID_HANDLE [0x80090301]
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.peer] - [peer_recv_callback_internal]: CONNECTION_STATE_NEGO - rdp_server_accept_nego() fail
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017ea8c] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [RDP] Network or intentional disconnect, stopping session
mars 23 01:08:39 hermes gnome-remote-desktop-daemon[1566726]: [01:08:39:766] [1566726:0017e806] [WARN][com.freerdp.core.rdp] - [rdp_send_deactivate_all][0x558edb1a4460]: rdpMcs::userId == 0, skip sending PDU_TYPE_DEACTIVATE_ALL
mars 23 01:08:40 hermes org.kde.kdeconnect.daemon.desktop[4026]: qt.bluetooth.bluez: No uuids found for "C3:2B:1C:94:8E:36"
mars 23 01:08:40 hermes PackageKit[1566514]: get-updates transaction /202762_ccabdebc from uid 1000 finished with success after 2056ms
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.peer] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.nla] - [nla_server_recv_stream]: nla_recv() error: -1
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.transport] - [transport_accept_nla]: client authentication failure
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.peer] - [peer_recv_callback_internal]: CONNECTION_STATE_NEGO - rdp_server_accept_nego() fail
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017eab7] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017e806] [WARN][com.freerdp.core.rdp] - [rdp_send_deactivate_all][0x558edb1a4460]: rdpMcs::userId == 0, skip sending PDU_TYPE_DEACTIVATE_ALL
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [01:08:41:432] [1566726:0017e806] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned an error: error:80000020:system library::Broken pipe
mars 23 01:08:41 hermes gnome-remote-desktop-daemon[1566726]: [RDP] Network or intentional disconnect, stopping session

this with gnome-remote-desktop 49.2-2 or 50~beta-1 on Debian Forky (testing)

and client crash when login to gnome-remote-desktop via gnome-connections or remmina (I can get remmina to work with “!u2u”).
Mind the client crashes even if I feed no password or the correct password the same.

libfreerdp-server3-3 3.24.1+dfsg-1
libwinpr3-3 3.24.1+dfsg-1
libpipewire-0.3-0t64 1.6.2-1
libkrb5-3 1.22.1-2
gnome-control-center 1:50~beta-1

gnome-connections

mars 23 16:14:08 cyclope org.gnome.Connections[161461]: [16:14:08:429] [161461:000276b5] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack positio
n 0                                                                                                                                                                                                                
mars 23 16:14:08 cyclope org.gnome.Connections[161461]: [16:14:08:429] [161461:000276b5] [WARN][com.freerdp.crypto] - [verify_cb]: CN = GNOME, C = US                                                              
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:655] [161461:000276b5] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_InitializeSecurityContextA]: krb5_get_credentials (Server not found in Kerber
os database [-1765328377])                                                                                                                                                                                         
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:655] [161461:000276b5] [WARN][com.winpr.sspi] - [winpr_InitializeSecurityContextA]: InitializeSecurityContextA status SEC_E_NO_CREDENTIALS [0x800
9030e]                                                                                                                                                                                                             
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:656] [161461:000276b5] [ERROR][com.freerdp.core.auth] - [credssp_auth_authenticate]: InitializeSecurityContext status SEC_E_NO_CREDENTIALS [0x800
9030e]                                                                                                                                                                                                             
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:656] [161461:000276b5] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x55f83c8b7620]: CONNECTION_STATE_NLA - nla_recv_pdu() fail       
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:656] [161461:000276b5] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x55f83c8b7620]: CONNECTION_STATE_NLA status STATE_RUN_FAILED [-1]
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:656] [161461:000276b5] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STATE_RUN
_FAILED [-1]                                                                                                                                                                                                       
mars 23 16:14:11 cyclope org.gnome.Connections[161461]: [16:14:11:656] [161461:000276b5] [ERROR][com.freerdp.core] - [rdp_client_wait_for_activation]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]            
mars 23 16:14:11 cyclope kernel: gnome-connectio[161461]: segfault at 62f8 ip 00007f34c5cde253 sp 00007fff63ecc558 error 4 in libc.so.6[a6253,7f34c5c60000+168000] likely on CPU 0 (core 0, socket 0)              
mars 23 16:14:11 cyclope kernel: Code: 48 8d 35 d9 5d 10 00 48 8d 3d c9 ba 10 00 e8 14 2b f9 ff 0f 1f 40 00 48 85 ff 0f 84 57 01 00 00 40 f6 c7 0f 0f 85 3d 01 00 00 <4c> 8b 57 f8 4d 89 d1 49 83 e1 f8 4c 3b 0d 8b
 0f 14 00 73 69 48 8b                                                                                                                                                                                              
mars 23 16:14:11 cyclope systemd-coredump[161848]: Process 161461 (gnome-connectio) of user 1000 terminated abnormally with signal 11/SEGV, processing...   

remmina

mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:345] [163963:0002839c] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack p
osition 0                                                                                                                                                                                                          
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:345] [163963:0002839c] [WARN][com.freerdp.crypto] - [verify_cb]: CN = GNOME, C = US                                                        
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.winpr.sspi.Kerberos] - [kerberos_InitializeSecurityContextA]: krb5_get_credentials (Server not found in 
Kerberos database [-1765328377])                                                                                                                                                                                   
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [WARN][com.winpr.sspi] - [winpr_InitializeSecurityContextA]: InitializeSecurityContextA status SEC_E_NO_CREDENTIALS 
[0x8009030e]                                                                                                                                                                                                       
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.freerdp.core.auth] - [credssp_auth_authenticate]: InitializeSecurityContext status SEC_E_NO_CREDENTIALS 
[0x8009030e]                                                                                                                                                                                                       
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x563a1ec536a0]: CONNECTION_STATE_NLA - nla_recv_pdu() fail 
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.freerdp.core.rdp] - [rdp_recv_callback_int][0x563a1ec536a0]: CONNECTION_STATE_NLA status STATE_RUN_FAILE
D [-1]                                                                                                                                                                                                             
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->ReceiveCallback() - STA
TE_RUN_FAILED [-1]                                                                                                                                                                                                 
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: [16:19:04:372] [163963:0002839c] [ERROR][com.freerdp.core] - [rdp_client_wait_for_activation]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]      
mars 23 16:19:04 cyclope org.remmina.Remmina.desktop[163963]: free(): invalid pointer                                                                                                                              
mars 23 16:19:04 cyclope systemd-coredump[164989]: Process 163963 (remmina) of user 1000 terminated abnormally with signal 6/ABRT, processing...                                                                   
mars 23 16:19:04 cyclope systemd[1]: Started systemd-coredump@7-12290-164989_164990-0.service - Process Core Dump (PID 164989/UID 0).       

Had similiar problem on Ubuntu 24.04. Using freerdp nightly builds on the client solved that.

I cannot verify if this works on Debian forky as gnome-remote-desktop on forky link to freerdp 3.24.1 and freerdp nightly is from 27th of February version 3.23. But Ubuntu nightly is also the latest on the 27th of February…
@ppira What gives apt policy freerdp-nightly and ldd /usr/libexec/gnome-remote-desktop-daemon on your box that works? (sorry ldd /usr/bin/gnome-connections, I initially missed that you told to install it on the client side not server side. Not that in remmina if !u2u is set in the settings for RDP all is fine)
What is weird is that Debian forky freerdp3 seems to be newer than the freerdp-nightly with regards to commits of freerdp3 upstream git (3.24.1 is 5 days ago, while nightly is one month ago).

Note that aFreeRDP on android connects fine to gnome-remote-desktop, even if my setup has something uncommon (this box is a Samba AD member thus has kerberos set up).