It doesn’t work with FreeRDP version 3, only version 2, so it’s necessary to install that specific version.
To use RDP Gate on MAC OS, you’ll need to install Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If you already have Homebrew installed, remove any previous version of FreeRDP:
brew uninstall freerdp
Now, to install version 2 of FreeRDP:
curl https://raw.githubusercontent.com/Homebrew/homebrew-core/f46590d43c90e2a6852ddcefda7348d8806c8551/Formula/f/freerdp.rb -o /tmp/freerdp.rb
brew install --cask xquartz
brew install --cask /tmp/freerdp.rb
To connect with a resolution of 1900x1000, use:
xfreerdp /size:1900x1000 /v:<IP_SENHASEGURA>:3389 /relax-order-checks +glyph-cache +bitmap-cache
Or, to use full screen:
xfreerdp /f /v:<IP_SENHASEGURA>:3389 /relax-order-checks +glyph-cache +bitmap-cache
If you encounter any error regarding the DISPLAY environment variable, try restarting your computer.
If restarting does not work, try opening the XQuartz application, go to the XQuartz icon in the Dock, right-click, Applications → Terminal. This will open a terminal, try connecting from there.
Note: You may need to use the command with /opt/homebrew/bin/xfreerdp instead of xfreerdp when used this way.