RDP not working for me after update

Hello,

I’ve updated to latest gnome-remote-desktop in EndeavourOS (Arch based):

extra/gnome-remote-desktop 42.2-1 (182.2 KiB 712.6 KiB) [gnome] (Installed)
    GNOME Remote Desktop server

When I try to access my screen from a Windows laptop I get errors.

When using the old Remote Desktop Connection application (mstsc.exe) I see in the log:

May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:917] [3540:3828] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [ERROR][com.winpr.sspi.NTLM] - Message Integrity Check (MIC) verification failed!
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [WARN][com.winpr.sspi] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [WARN][com.freerdp.core.nla] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [ERROR][com.freerdp.core.transport] - client authentication failure
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:923] [3540:3828] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
May 30 10:44:42 ironyman gnome-remote-de[3540]: Unable to check file descriptor, closing connection
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:942] [3540:3846] [WARN][com.freerdp.core.connection] - server supports only NLA Security
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:942] [3540:3846] [ERROR][com.freerdp.core.connection] - Protocol security negotiation failure
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:946] [3540:3846] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
May 30 10:44:42 ironyman gnome-remote-desktop-daemon[3540]: [10:44:42:946] [3540:3846] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
May 30 10:44:42 ironyman gnome-remote-de[3540]: Unable to check file descriptor, closing connection

When using the newer “Remote Desktop” app from the Microsoft store, I get:

May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:722] [3540:3810] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [ERROR][com.winpr.sspi.NTLM] - Message Integrity Check (MIC) verification failed!
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [WARN][com.winpr.sspi] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [WARN][com.freerdp.core.nla] - CompleteAuthToken status SEC_E_MESSAGE_ALTERED [0x8009030F]
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [ERROR][com.freerdp.core.transport] - client authentication failure
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
May 30 10:43:59 ironyman gnome-remote-desktop-daemon[3540]: [10:43:59:730] [3540:3810] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
May 30 10:43:59 ironyman gnome-remote-de[3540]: Unable to check file descriptor, closing connection

The command line status is:

[user@host ~]$ grdctl status
RDP:
	Status: enabled
	TLS certificate: /home/user/.local/share/gnome-remote-desktop/rdp-tls.crt
	TLS key: /home/user/.local/share/gnome-remote-desktop/rdp-tls.key
	View-only: no
	Username: (hidden)
	Password: (hidden)
VNC:
	Status: disabled
	Auth method: password
	View-only: no
	Password: (hidden)

This is with Xorg server. Any ideas?

Forgot to mention that this worked for me before the update, though only with mstsc.exe

Just switched to Wayland and I was able to share the screen! So looks like a problem with Xorg only?

Argh! Back in Xorg and now it works… No idea what caused this. I did re-login after updating and then found out about the problem. Not sure how logging out/in twice more (with Wayland inbetween) has fixed it for me…

Will leave this here in case anyone else comes across…

1 Like

Curious if anyone ever came up with a root cause analysis for this?