DEV Community

Emile M.
Emile M.

Posted on • Edited on

Fix for Remote Desktop Error code 0x207 on Mac for Ubuntu

RDP Error Message
If you're like me and were staring at this error popup then allow me to share what worked for me:

Prerequisite

You should've already enabled Remote Login in Ubuntu 24's settings with a username and password
Ubuntu Remote Login settings
It doesn't have to be a real user on device, just a username and password for RDP authentication purposes


Steps

You've likely already done this first step but if you haven't

  1. 'Add PC' in Microsoft Remote Desktop App for Mac with all changes that you'd like.

    The Add PC dialog box for Microsoft Remote Desktop App

  2. Export the config to a location of your choosing

    The dropdown for exporting RDP config file

  3. Open the RDP config file with any text editor

  4. Edit the line that states:

    use redirection server name:i:0

    to

    use redirection server name:i:1

Note: the last 0 has to be changed to a 1

  1. Save file and open the RDP connection from this newly edited/saved file directly (Either by double-clicking or by dragging in the config to Microsoft Remote Desktop App)

That's it.

Hope it helped!

Top comments (7)

Collapse
 
daveswork profile image
Dave Jodhan

Chiming in from January 2025! This was the only fix that worked for me out of a mountain of other edits! Thank you!

Collapse
 
ranjana_dissanayaka profile image
Ranjana Dissanayaka

after more than 48 hours of trying to connect without any luck finally found this article. thank you so much.

Collapse
 
jfk profile image
Jfk

How the hell did you find that ??!!!!
Amazing. Bravo. Worked.

Collapse
 
diskerror profile image
Reid Woodbury

This works for connecting from MacOS Sequoia running Windows App to Debian 13 Gnome and xrdp. Thank you!

Collapse
 
jon_l_75d059b38869f17d80c profile image
Jon L

I made an account just to say. Thank you! This is the only fixed that worked for me and I tried everything and looked everywhere. Thank you so much!

Collapse
 
disinto profile image
Florian

It did work over here as well, thank you so much for the tip !

Collapse
 
tlaak profile image
Timo Laak

Thank you so much! This worked perfectly!