Skip to content

Instantly share code, notes, and snippets.

@kamarton
Last active March 16, 2025 08:46
Show Gist options
  • Save kamarton/a8e5595b4de0a2e44c4c91b39c262718 to your computer and use it in GitHub Desktop.
Save kamarton/a8e5595b4de0a2e44c4c91b39c262718 to your computer and use it in GitHub Desktop.
RDP connection with multiple monitors - xfreerdp linux cli
#!/usr/bin/env bash
USERNAME=<username>
HOST=<host>
xfreerdp \
/monitors:0,1 \ # miltiple monitors with order
/multimon \ # multiple monitors
/u:$USERNAME \ # RDP username
/v:$HOST # RDP host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment