XFREERDP(1)

πŸ“¦ version 2.11.7, in opensuse-leap 16.0

πŸ¦‹ NAME πŸ¦‹

okay bestie, this is xfreerdp(1) β€” the manual page for xfreerdp, aka the FreeRDP X11 client β€” and yes, the manual name is literally right there in the title vibe. πŸ’…


🌈 SYNOPSIS 🌈

here’s the tiny summoning spell, no cap:

xfreerdp [file] [options] [/v:server[:port]]

πŸŽ€ DESCRIPTION πŸŽ€

xfreerdp is an X11 Remote Desktop Protocol (RDP) client which is part of the FreeRDP project. An RDP server is built-in to many editions of Windows. Alternative servers included xrdp and VRDP (VirtualBox).


✨ OPTIONS ✨

okay bestie, grab a snack β€” this is the full option menu, no skips, no cap. πŸ“

  • /a:addin[,options], /addin:addin[,options] β€” Addin
  • /action-script:file-name β€” Action script (default:~/.config/freerdp/action.sh)
  • /admin, /console β€” Admin (or console) session
  • +aero β€” desktop composition (default:off)
  • /app:path or ||alias β€” Remote application program
  • /app-cmd:parameters β€” Remote application command-line parameters
  • /app-file:file-name β€” File to open with remote application
  • /app-guid:app-guid β€” Remote application GUID
  • /app-icon:icon-path β€” Remote application icon for user interface
  • /app-name:app-name β€” Remote application name for user interface
  • /app-workdir:workspace path β€” Remote application workspace path
  • /assistance:password β€” Remote assistance password
  • /auto-request-control: β€” Automatically request remote assistance input control
  • +async-channels β€” Asynchronous channels (experimental) (default:off)
  • +async-input β€” Asynchronous input (default:off)
  • +async-update β€” Asynchronous update (default:off)
  • /audio-mode:mode β€” Audio output mode
  • +auth-only β€” Authenticate only (default:off)
  • -authentication β€” Authentication (experimental) (default:on)
  • +auto-reconnect β€” Automatic reconnection (default:off)
  • /auto-reconnect-max-retries:retries β€” Automatic reconnection maximum retries, 0 for unlimited [0,1000]
  • +bitmap-cache β€” bitmap cache (default:off)
  • /bpp:depth β€” Session bpp (color depth) (default:16)
  • /buildconfig β€” Print the build configuration
  • /cert:[deny,ignore,name:name,tofu,fingerprint:hash:hash as hex[,fingerprint:hash:another hash]] β€” Certificate accept options. Use with care!
    • deny β€” Automatically abort connection if the certificate does not match, no user interaction.
    • ignore β€” Ignore the certificate checks altogether (overrules all other options)
    • name β€” Use the alternate <name> instead of the certificate subject to match locally stored certificates
    • tofu β€” Accept certificate unconditionally on first connect and deny on subsequent connections if the certificate does not match
    • fingerprints β€” A list of certificate hashes that are accepted unconditionally for a connection
  • /cert-deny β€” [deprecated, use /cert:deny] Automatically abort connection for any certificate that can not be validated.
  • /cert-ignore β€” [deprecated, use /cert:ignore] Ignore certificate
  • /cert-name:name β€” [deprecated, use /cert:name:<name>] Certificate name
  • /cert-tofu β€” [deprecated, use /cert:tofu] Automatically accept certificate on first connect
  • /client-build-number:number β€” Client Build Number sent to server (influences smartcard behaviour, see [MS-RDPESC])
  • /client-hostname:name β€” Client Hostname to send to server
  • /clipboard:[use-selection:atom] β€” Redirect clipboard.
    • use-selection:<atom> β€” (X11) Specify which X selection to access. Default is CLIPBOARD. PRIMARY is the X-style middle-click selection. (default:on)
  • /codec-cache:[rfx|nsc|jpeg] β€” Bitmap codec cache
  • -compression, -z β€” compression (default:on)
  • /compression-level:level β€” Compression level (0,1,2)
  • +credentials-delegation β€” credentials delegation (default:off)
  • /d:domain β€” Domain
  • -decorations β€” Window decorations (default:on)
  • /disp β€” Display control
  • /drive:name,path β€” Redirect directory <path> as named share <name>. Hotplug support is enabled with /drive:hotplug,*. This argument provides the same function as "Drives that I plug in later" option in MSTSC.
  • +drives β€” Redirect all mount points as shares (default:off)
  • /dvc:channel[,options] β€” Dynamic virtual channel
  • /dynamic-resolution β€” Send resolution updates when the window is resized
  • /echo, /echo β€” Echo channel
  • -encryption β€” Encryption (experimental) (default:on)
  • /encryption-methods:[40,][56,][128,][FIPS] β€” RDP standard security encryption methods
  • /f β€” Fullscreen mode (<Ctrl>+<Alt>+<Enter> toggles fullscreen)
  • -fast-path β€” fast-path input/output (default:on)
  • +fipsmode β€” FIPS mode (default:off)
  • /floatbar[:sticky:[on|off],default:[visible|hidden],show:[always|fullscreen||window]] β€” floatbar is disabled by default (when enabled defaults to sticky in fullscreen mode)
  • -fonts β€” smooth fonts (ClearType) (default:on)
  • /frame-ack:number β€” Number of frame acknowledgement
  • /from-stdin[:force] β€” Read credentials from stdin. With <force> the prompt is done before connection, otherwise on server request.
  • /g:gateway[:port] β€” Gateway Hostname
  • /gateway-usage-method:[direct|detect], /gum:[direct|detect] β€” Gateway usage method
  • /gd:domain β€” Gateway domain
  • /gdi:sw|hw β€” GDI rendering
  • /geometry β€” Geometry tracking channel
  • +gestures β€” Consume multitouch input locally (default:off)
  • /gfx[:RFX] β€” RDP8 graphics pipeline
  • +gfx-progressive β€” RDP8 graphics pipeline using progressive codec (default:off)
  • +gfx-small-cache β€” RDP8 graphics pipeline using small cache mode (default:off)
  • +gfx-thin-client β€” RDP8 graphics pipeline using thin client mode (default:off)
  • +glyph-cache β€” Glyph cache (experimental) (default:off)
  • /gp:password β€” Gateway password
  • -grab-keyboard β€” Grab keyboard (default:on)
  • -grab-mouse β€” Grab mouse (default:on)
  • /gt:[rpc|http[,no-websockets]|auto[,no-websockets]] β€” Gateway transport type
  • /gu:[[domain\]user|user[@domain]] β€” Gateway username
  • /gat:access token β€” Gateway Access Token
  • /h:height β€” Height (default:768)
  • -heartbeat β€” Support heartbeat PDUs (default:on)
  • /help, /? β€” Print help
  • +home-drive β€” Redirect user home as share (default:off)
  • /ipv6, /6 β€” Prefer IPv6 AAA record over IPv4 A record
  • /kbd:0xid or name β€” Keyboard layout
  • /kbd-lang:0xid β€” Keyboard active language identifier
  • /kbd-fn-key:value β€” Function key value
  • /kbd-list β€” List keyboard layouts
  • /kbd-lang-list β€” List keyboard languages
  • /kbd-remap:List of key=value,... pairs to remap scancodes β€” Keyboard scancode remapping
  • /kbd-subtype:id β€” Keyboard subtype
  • /kbd-type:id β€” Keyboard type
  • /load-balance-info:info-string β€” Load balance info
  • /log-filters:tag:level[,tag:level[,...]] β€” Set logger filters, see wLog(7) for details
  • /log-level:[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE] β€” Set the default log level, see wLog(7) for details
  • /max-fast-path-size:size β€” Specify maximum fast-path update size
  • /max-loop-time:time β€” Specify maximum time in milliseconds spend treating packets
  • +menu-anims β€” menu animations (default:off)
  • /microphone[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel]], /mic[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel]] β€” Audio input (microphone)
  • /monitor-list β€” List detected monitors
  • /monitors:id[,id[,...]] β€” Select monitors to use
  • -mouse-motion β€” Send mouse motion (default:on)
  • /multimon[:force] β€” Use multiple monitors
  • +multitouch β€” Redirect multitouch input (default:off)
  • +multitransport β€” Support multitransport protocol (default:off)
  • -nego β€” protocol security negotiation (default:on)
  • /network:[modem|broadband|broadband-low|broadband-high|wan|lan|auto] β€” Network connection type
  • /nsc, /nscodec β€” NSCodec support
  • +offscreen-cache β€” offscreen bitmap cache (default:off)
  • /orientation:[0|90|180|270] β€” Orientation of display in degrees
  • +old-license β€” Use the old license workflow (no CAL and hwId set to 0) (default:off)
  • /p:password β€” Password
  • /parallel[:name[,path]] β€” Redirect parallel device
  • /parent-window:window-id β€” Parent window id
  • +password-is-pin β€” Use smart card authentication with password as smart card PIN (default:off)
  • /pcb:blob β€” Preconnection Blob
  • /pcid:id β€” Preconnection Id
  • /pheight:height β€” Physical height of display (in millimeters)
  • /play-rfx:pcap-file β€” Replay rfx pcap file
  • /port:number β€” Server port
  • -suppress-output β€” suppress output when minimized (default:on)
  • +print-reconnect-cookie β€” Print base64 reconnect cookie after connecting (default:off)
  • /printer[:name[,driver]] β€” Redirect printer device
  • /proxy:[proto://][user:password@]host:port β€” Proxy settings: override env. var (see also environment variable below). Protocol "socks5" should be given explicitly where "http" is default.
  • /pth:password-hash, /pass-the-hash:password-hash β€” Pass the hash (restricted admin mode)
  • /pwidth:width β€” Physical width of display (in millimeters)
  • /rdp2tcp:executable path[:arg...] β€” TCP redirection
  • /reconnect-cookie:base64-cookie β€” Pass base64 reconnect cookie to the connection
  • /redirect-prefer:FQDN|IP|NETBIOS,[...] β€” Override the preferred redirection order
  • /relax-order-checks, /relax-order-checks β€” Do not check if a RDP order was announced during capability exchange, only use when connecting to a buggy server
  • /restricted-admin, /restrictedAdmin β€” Restricted admin mode
  • /rfx β€” RemoteFX
  • /rfx-mode:[image|video] β€” RemoteFX mode
  • /scale:[100|140|180] β€” Scaling factor of the display (default:100)
  • /scale-desktop:percentage β€” Scaling factor for desktop applications (value between 100 and 500) (default:100)
  • /scale-device:100|140|180 β€” Scaling factor for app store applications (default:100)
  • /sec:[rdp|tls|nla|ext] β€” Force specific protocol security
  • +sec-ext β€” NLA extended protocol security (default:off)
  • -sec-nla β€” NLA protocol security (default:on)
  • -sec-rdp β€” RDP protocol security (default:on)
  • -sec-tls β€” TLS protocol security (default:on)
  • /serial[:name[,path[,driver[,permissive]]]], /tty[:name[,path[,driver[,permissive]]]] β€” Redirect serial device
  • /shell:shell β€” Alternate shell
  • /shell-dir:dir β€” sets the shell working directory, bestie. Which directory the shell starts in. That's it, that's the whole vibe 🐚
  • /size:widthxheight or percent%[wh] β€” screen size, lowkey the main character of window setup. Default is 1024x768. You can also do the percent thing: %h for percent of height, %w for percent of width ✨
  • /smart-sizing[:widthxheight] β€” scales the remote desktop to your window size. Resize away, icon πŸ’…
  • /smartcard[:str[,str...]] β€” redirects the smartcard devices that have any of the <str> in their names. Picky but in a good way πŸŽ€
  • /smartcard-logon β€” activates Smartcard Logon authentication. Heads up: this one is marked EXPERIMENTAL: NLA not supported β€” so like, it's giving beta energy, don't @ me if NLA's a no 😭
  • /sound[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel,][latency:latency,][quality:quality]], /audio[:[sys:sys,][dev:dev,][format:format,][rate:rate,][channel:channel,][latency:latency,][quality:quality]] β€” audio output (sound). Two spellings, same slay πŸ”‰
  • /span β€” spans the screen over multiple monitors. Multi-monitor girlies rise πŸ–₯️πŸ–₯️
  • /spn-class:service-class β€” the SPN authentication service class. Fancy auth stuff, iykyk πŸ”
  • /ssh-agent, /ssh-agent β€” SSH Agent forwarding channel. (Yes, it's listed twice in here β€” iconic of it, honestly 🫢)
  • /t:title, /title:title β€” sets the window title. Name your window something cute ✨
  • -themes β€” themes. Default is on, so this bad boy starts enabled and you're toggling it off πŸ’…
  • /timeout:time in ms, /timeout:time in ms β€” advanced setting for high latency links: adjust the connection timeout, and use this if you keep hitting timeout failures with your connection. Default is 9000. (Also listed twice. We love a repetitive queen πŸ‘‘)
  • /tls-ciphers:[netmon|ma|ciphers] β€” allowed TLS ciphers. Keep your crypto cute and correct πŸ”’
  • /tls-seclevel:level β€” TLS security level. Defaults to 1, and the default value is 1. So... 1. Ngl, very consistent of it 🌸
  • +enforce-tlsv1_2 β€” forces TLS1.2 for the connection. Some servers have a buggy TLS version negotiation and will straight-up fail without this. Default is off πŸ’€
  • -toggle-fullscreen β€” Alt+Ctrl+Enter toggles fullscreen. Default is on πŸ–΅
  • /tune:setting:value,setting:value β€” [experimental] directly manipulates freerdp settings. Use with extreme caution! For real, this is the "trust me bro, I know what I'm doing" option πŸ™ˆ Default is empty 🫠
  • /tune-list β€” prints the options allowed for /tune. Your cheat sheet πŸ“‹
  • /u:[[domain\]user|user[@domain]] β€” username. Pick your format, bestie πŸ‘€
  • +unmap-buttons β€” lets the server see the real physical pointer button. Default is off πŸ–±οΈ
  • /v:server[:port] β€” server hostname. The who-and-where of it all πŸ—ΊοΈ
  • /vc:channel[,options] β€” static virtual channel. Very niche, very valid πŸ’œ
  • /version β€” prints the version. Shoutout to knowing what you're running ✨
  • /video β€” video optimized remoting channel. Smooth frames only 🎬
  • /vmconnect[:vmid] β€” Hyper-V console. Use port 2179, disable negotiation πŸ–₯️
  • /w:width β€” width. Default is 1024 πŸ“
  • -wallpaper β€” wallpaper. Default is on πŸ–ΌοΈ
  • +window-drag β€” full window drag. Default is off πŸͺŸ
  • /window-position:xposxypos β€” window position. Place her wherever she belongs πŸ“
  • /wm-class:class-name β€” sets the WM_CLASS hint for the window instance. Window manager girlies, this one's for you πŸ’…
  • /workarea β€” uses the available work area πŸ—‚οΈ

🌈 ENVIRONMENT VARIABLES 🌈

the wlog environment variable, bestie

xfreerdp uses wLog as its log facility, and you can refer to the corresponding man page β€” wlog(7) β€” for more informations (yes, "informations", we're keeping it πŸ’–).

Important bit, no cap: arguments passed via /log-level or /log-filters have precedence over the environment variables. So the flags win the argument, every time 🫢


✨ EXAMPLES ✨

Okay this is the part where it all comes together. Buckle up, we're doing the whole runway πŸ¦‹

  • xfreerdp connection.rdp /p:Pwd123! /f β€” connect in fullscreen mode using a stored configuration connection.rdp and the password Pwd123! πŸ–΅
  • xfreerdp /u:USER /size:50%h /v:rdp.contoso.com β€” connect to host rdp.contoso.com with user USER and a size of 50 percent of the height. If width (w) is set instead of height (h) β€” like /size:50%w β€” then 50 percent of the width is used πŸ“
  • xfreerdp /u:CONTOSO\\JohnDoe /p:Pwd123! /v:rdp.contoso.com β€” connect to host rdp.contoso.com with user CONTOSO\\JohnDoe and password Pwd123! πŸ‘‘
  • xfreerdp /u:JohnDoe /p:Pwd123! /w:1366 /h:768 /v:192.168.1.100:4489 β€” connect to host 192.168.1.100 on port 4489 with user JohnDoe, password Pwd123!. The screen width is set to 1366 and the height to 768 πŸ“
  • the Hyper-V console moment, which honestly needs its own code block:
xfreerdp /u:JohnDoe /p:Pwd123!
/vmconnect:C824F53E-95D2-46C6-9A18-23A5BB403532 /v:192.168.1.100

Establish a connection to host 192.168.1.100 with user JohnDoe, password Pwd123! and connect to Hyper-V console (use port 2179, disable negotiation) with VMID C824F53E-95D2-46C6-9A18-23A5BB403532 🧚

  • +clipboard β€” activates clipboard redirection. Copy-paste girlies, we ate πŸ“‹
  • /drive:home,/home/user β€” activates drive redirection of /home/user as the home drive πŸ’Ύ
  • /smartcard:<device> β€” activates smartcard redirection for device device πŸŽ€
  • /printer:<device>,<driver> β€” activates printer redirection for printer device using driver driver πŸ–¨οΈ
  • /serial:<device> β€” activates serial port redirection for port device πŸ”Œ
  • /parallel:<device> β€” activates parallel port redirection for port device 🧡
  • /sound:sys:alsa β€” activates audio output redirection using device sys:alsa πŸ”Š
  • /microphone:sys:alsa β€” activates audio input redirection using device sys:alsa 🎀
  • /multimedia:sys:alsa β€” activates multimedia redirection using device sys:alsa 🎬
  • /usb:id,dev:054c:0268 β€” activates USB device redirection for the device identified by 054c:0268 πŸ”₯

http://www.freerdp.com/ β€” go say hi 🌸


πŸ‘‘ AUTHOR πŸ‘‘

The FreeRDP Team β€” absolute legends, no notes 🫢


And that's the whole page, bestie! πŸ’– You officially know more about xfreerdp than like 90% of the people who use it. Go forth and connect ✨

This lil manual page is from the freerdp source and it's dated 2026-04-14 β€” so if you're reading this in the far future, hi, hope the RDP still slaps πŸŒˆβ­πŸ’…

πŸ“¦ where this page comes from