Linux Commands Examples

A great documentation place for Linux commands


FreeRDP X11 client


xfreerdp [options] server[:port] [[options] server[:port] ...]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


/usr/bin/xfreerdp --plugin rdpdr --data disk:usbdrive:/media/usbrdp -- $*


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).



Attach to the admin console of the server.

-a bpp

Sets the color depth for the connection to bpp bits per pixel. Valid values are 8, 15, 16, 24 and 32. The default value is the color depth of the FreeRDP-window.

-c dir

Sets the working-dir to dir. This parameter is only used when an AlternateShell (-s shell) is requested. dir should contain the executable file specified in the AlternateShell.


Removes the windows decorations.


Domain used in authentication.


start in full screen mode. This mode can always be en- and disabled using Ctrl-Alt-Enter.

-T text

Sets the window title to text.

-g geometry

Sets the size of the FreeRDP window (and of the remote desktop, when establishing a new connection). geometry can have one of the following forms:

WxH - in this case the resulting window will be of WxH pixels.

P% - in this case the resulting window will be P% of your screen.

• The special keyword workarea - in this case the resulting window will be of the same size as your workarea.

-k id

Sets the keyboard-layout-id to id.


Don't send mouse motion events.

-n hostname

Set the reported client hostname to hostname. Default is to automatically detect the hostname.


Play audio on the console instead of redirecting to the client.

-p password

Password used in authentication.

-s shell

Sets the startup-shell to shell. This parameter should contain a complete path to the alternate shell. If the alternete shell requires a different working directory use -c dir.

-t port

Connect to port, instead of the default 3389.

-u username

Username used in authentication.

-x flag

Set the experiance performance flags. flag can be one of:

• m - (modem): Equivalent to 15.

• b - (broadband): Equivalent to 1.

• l - (lan): Equivalent to 0.

num - A hexadecimal number that represents a bit-mask, were numbers mean the following [1] :

• 1: Disable desktop wallpaper.

• 2: Disable full-window drag (only the window outline is displayed when the window is moved).

• 4: Disable menu animations.

• 8: Disable user interface themes.

• 20: Disable mouse cursor shadows.

• 40: Disable cursor blinking.

• 80: Enable font smoothing.

• 100: Enable Desktop Composition.


Enable compression.


initialize a RemoteApp connection. This implies -g workarea.


load an extension


Skips authentication. This is useful e.g. for the current FreeRDP server that doesn't yet support server-side authentication.


Prompts for unspecified arguments -u username, -p password, -d domain and connection host. This is useful to hide arguments from ps. Also useful for scripts that will feed these arguments to the client via (what else?) stdin.


Disables fast-path. Use slow-path packets instead, which have larger headers. It might be good for debugging certain issues when you suspect it might be linked to the parsing of one of the two header types.


GDI rendering backend. backend can be either sw (software) or hw (hardware).


Disable off screen bitmaps.


Disable bitmap cache.


load a plugin


Enable RemoteFX.


RemoteFX operational flags. flags can be either v[ideo], i[mage]), default is video.


Enable NSCodec.


Disable wallpaper.


Enable composition (RDVH only, not to be confused with remote composition).


Disable full window drag.


Disable menu animations.


Disable theming.


Disable Standard RDP encryption.


Disable TLS encryption.


Disable network level authentication.

--sec proto

force protocol security. proto can be one of rdp, tls or nla.


force NTLM protocol version. version can be one of 1 or 2.


ignore verification of logon certificate.


Print version information.




Taken from MS-RDPBCGR Section - Extended Info Packet


MS-RDPBCGR Section - Extended Info Packet


The FreeRDP Team

How can this site be more helpful to YOU ?

give  feedback