XFREERDP(1)
π¦ 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,0for 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 certificatestofuβ Accept certificate unconditionally on first connect and deny on subsequent connections if the certificate does not matchfingerprintsβ 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 isCLIPBOARD.PRIMARYis 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, seewLog(7)for details/log-level:[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]β Set the default log level, seewLog(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 andhwIdset to0) (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 between100and500) (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:widthxheightorpercent%[wh]β screen size, lowkey the main character of window setup. Default is1024x768. You can also do the percent thing:%hfor percent of height,%wfor 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 markedEXPERIMENTAL: 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 ison, 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 is9000. (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 to1, and the default value is1. 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 isoffπ-toggle-fullscreenβ Alt+Ctrl+Enter toggles fullscreen. Default isonπ΅/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 isoffπ±οΈ/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 port2179, disable negotiation π₯οΈ/w:widthβ width. Default is1024π-wallpaperβ wallpaper. Default isonπΌοΈ+window-dragβ full window drag. Default isoffπͺ/window-position:xposxyposβ window position. Place her wherever she belongs π/wm-class:class-nameβ sets theWM_CLASShint 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 configurationconnection.rdpand the passwordPwd123!π΅xfreerdp /u:USER /size:50%h /v:rdp.contoso.comβ connect to hostrdp.contoso.comwith userUSERand a size of50percent of the height. If width (w) is set instead of height (h) β like/size:50%wβ then50percent of the width is used πxfreerdp /u:CONTOSO\\JohnDoe /p:Pwd123! /v:rdp.contoso.comβ connect to hostrdp.contoso.comwith userCONTOSO\\JohnDoeand passwordPwd123!πxfreerdp /u:JohnDoe /p:Pwd123! /w:1366 /h:768 /v:192.168.1.100:4489β connect to host192.168.1.100on port4489with userJohnDoe, passwordPwd123!. The screen width is set to1366and the height to768π- 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/useras thehomedrive πΎ/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 devicesys:alsaπ/microphone:sys:alsaβ activates audio input redirection using devicesys:alsaπ€/multimedia:sys:alsaβ activates multimedia redirection using devicesys:alsaπ¬/usb:id,dev:054c:0268β activates USB device redirection for the device identified by054c:0268π₯
π LINKS π
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
- opensuse-leap 16.0: freerdp2 2.11.7-bp160.3.1 Β· Apache-2.0
- opensuse-leap 16.0: freerdp2 2.11.7-bp160.3.1 Β· Apache-2.0
- opensuse-leap 16.0: freerdp2 2.11.7-bp160.3.1 Β· Apache-2.0
- opensuse-leap 16.0: freerdp2 2.11.7-bp160.3.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms