Can't connect to GNOME Remote Desktop session on Windows 10/11 (client sends wrong credentials on redirection)

Can't connect to GNOME Remote Desktop session on Windows 10/11 (client sends wrong credentials on redirection)

avatar

I've setup a Fedora server with GNOME Remote Desktop. I can connect to it from Remote Desktop Manager on Linux computers, but not on Windows 10/11 computers.


I can connect to the server using Microsoft's Remote Desktop Connection program. I initially thought it was a bug with GNOME Remote Desktop, but when I reported it here, they told me it was a bug in the Devolutions client.


They said this:


> [ERROR][com.winpr.sspi.NTLM] - [ntlm_fetch_ntlm_v2_hash]: Error: Could not find user in SAM database


The client sends wrong credentials (which is the error here). FreeRDPs clients, Remmina, and mstsc work fine here, and that also does not seem to contradict your experience here.


Considering that Devolutions RDM is a third party client (not an official Microsoft one), you should bring that issue to them, as it's a client error to send the wrong credentials on redirection (the client got one-time credentials via the Server Redirection PDU).


Please also tell them to also enable RDSTLS on Server Redirection, as clearly the client does not advertises it here (otherwise we wouldn't have here the NTLM part in the handover daemon log).

All Comments (14)

avatar

Hello James,


Thanks for contacting us on the matter.

This could be more complicated than I suggest, but it's a good start nonetheless.

Can you change the Username format setting in an RDP entry > Properties > Advanced > Advanced, Username Format.


Thanks for letting us know if this helps.


Regards,

Alex Belisle

avatar

Hi Alexandre,


It was already set to "No change". I tried changing it to every option on the list but all of them failed.

avatar

If it helps, here's my working .rdp file that opens correctly in Remote Desktop Connection (with full address:s:xxx.xxx.xxx.xxx being replaced with my actual server IP):


screen mode id:i:2
use multimon:i:0
desktopwidth:i:2560
desktopheight:i:1600
session bpp:i:32
winposstr:s:0,3,0,0,800,600
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:7
networkautodetect:i:1
bandwidthautodetect:i:1
displayconnectionbar:i:1
username:s:rdpuser
enableworkspacereconnect:i:0
disable wallpaper:i:0
allow font smoothing:i:0
allow desktop composition:i:0
disable full window drag:i:1
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:xxx.xxx.xxx.xxx
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectwebauthn:i:1
redirectclipboard:i:1
redirectposdevices:i:0
drivestoredirect:s:
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:
gatewayusagemethod:i:4
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:0
promptcredentialonce:i:0
gatewaybrokeringtype:i:0
rdgiskdcproxy:i:0
kdcproxyname:s:
enablerdsaadauth:i:0
use redirection server name:i:1