Fixing error code 0x207 connecting to Ubuntu remote login
I kept running into the referenced error when trying to set up the Microsoft RDP-based "Remote Login" feature in Ubuntu Desktop (I'm using 25 but this problem has existed for years at this point) using Microsoft's own "Windows App" (that is a really, really bad name by the way) on the Mac. From my research this also happens with the Windows RDP client as well.
The error indicates that a password has expired which is not right but apparently is an indicator that there is some authentication mismatch between what the GNOME RDP server is sending back to the client and what the client expects. This discussion on GitLab with one of the developers explains the reasons.
So what is the fix? That is here but basically is:
- Export the failing connection from Windows App
- Edit the resulting file, it is a text file
- Update the line that states:
use redirection server name:i:0
touse redirection server name:i:1 - Import the connection back into Windows App.
In my case the fix didn't work until I rebooted the machine. Not sure why that was but I assume that something needed to be cleaned up in the background to truly fix it.
I'd also note that I tried the RDP client in Jump Desktop (the software I usually use to connect between Mac and Mac/Windows machines. Unfortunately there is no Linux version of Jump Desktop Connect) which never worked, even with the fix above.