2018-02-01 18:59:55 +03:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
|
|
* FreeRDP Client Command-Line Interface
|
|
|
|
*
|
|
|
|
* Copyright 2018 Bernhard Miklautz <bernhard.miklautz@thincast.com>
|
|
|
|
* Copyright 2018 Thincast Technologies GmbH
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
#ifndef CLIENT_COMMON_CMDLINE_H
|
|
|
|
#define CLIENT_COMMON_CMDLINE_H
|
|
|
|
|
2022-02-16 13:20:38 +03:00
|
|
|
#include <freerdp/config.h>
|
2020-03-09 16:57:20 +03:00
|
|
|
|
2018-02-01 18:59:55 +03:00
|
|
|
#include <winpr/cmdline.h>
|
|
|
|
|
2021-10-06 10:47:30 +03:00
|
|
|
static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = {
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "a", COMMAND_LINE_VALUE_REQUIRED, "<addin>[,<options>]", NULL, NULL, -1, "addin", "Addin" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "action-script", COMMAND_LINE_VALUE_REQUIRED, "<file-name>", "~/.config/freerdp/action.sh",
|
|
|
|
NULL, -1, NULL, "Action script" },
|
|
|
|
{ "admin", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "console",
|
|
|
|
"Admin (or console) session" },
|
|
|
|
{ "aero", COMMAND_LINE_VALUE_BOOL, NULL, NULL, BoolValueFalse, -1, NULL,
|
|
|
|
"desktop composition" },
|
2022-10-20 13:43:51 +03:00
|
|
|
{ "app", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"program:[<path>|<||alias>],cmd:<command>,file:<filename>,guid:<guid>,icon:<filename>,name:<"
|
|
|
|
"name>,workdir:<directory>",
|
|
|
|
NULL, NULL, -1, NULL, "Remote application program" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-cmd", COMMAND_LINE_VALUE_REQUIRED, "<parameters>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:cmd:<command>] Remote application command-line parameters" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-file", COMMAND_LINE_VALUE_REQUIRED, "<file-name>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:file:<filename>] File to open with remote application" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-guid", COMMAND_LINE_VALUE_REQUIRED, "<app-guid>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:guid:<guid>] Remote application GUID" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-icon", COMMAND_LINE_VALUE_REQUIRED, "<icon-path>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:icon:<filename>] Remote application icon for user interface" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-name", COMMAND_LINE_VALUE_REQUIRED, "<app-name>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:name:<name>] Remote application name for user interface" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "app-workdir", COMMAND_LINE_VALUE_REQUIRED, "<workspace path>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /app:workdir:<directory>] Remote application workspace path" },
|
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "assistance", COMMAND_LINE_VALUE_REQUIRED, "<password>", NULL, NULL, -1, NULL,
|
|
|
|
"Remote assistance password" },
|
2019-11-25 11:54:56 +03:00
|
|
|
{ "auto-request-control", COMMAND_LINE_VALUE_FLAG, "", NULL, NULL, -1, NULL,
|
|
|
|
"Automatically request remote assistance input control" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "async-channels", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Asynchronous channels (experimental)" },
|
|
|
|
{ "async-update", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Asynchronous update" },
|
|
|
|
{ "audio-mode", COMMAND_LINE_VALUE_REQUIRED, "<mode>", NULL, NULL, -1, NULL,
|
|
|
|
"Audio output mode" },
|
|
|
|
{ "auth-only", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Authenticate only" },
|
2022-10-06 23:47:32 +03:00
|
|
|
{ "auth-pkg-list", COMMAND_LINE_VALUE_REQUIRED, "<!ntlm,kerberos>", NULL, NULL, -1, NULL,
|
|
|
|
"Authentication package filter (comma-separated list, use '!' to exclude)" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "authentication", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
2021-02-14 20:35:42 +03:00
|
|
|
"Authentication (experimental)" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "auto-reconnect", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Automatic reconnection" },
|
|
|
|
{ "auto-reconnect-max-retries", COMMAND_LINE_VALUE_REQUIRED, "<retries>", NULL, NULL, -1, NULL,
|
|
|
|
"Automatic reconnection maximum retries, 0 for unlimited [0,1000]" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "bitmap-cache", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:bitmap[:on|off]] bitmap cache" },
|
2022-05-30 23:32:23 +03:00
|
|
|
{ "persist-cache", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:persist[:on|off]] persistent bitmap cache" },
|
2022-05-30 23:32:23 +03:00
|
|
|
{ "persist-cache-file", COMMAND_LINE_VALUE_REQUIRED, "<filename>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:persist-file:<filename>] persistent bitmap cache file" },
|
2022-10-20 10:59:16 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "bpp", COMMAND_LINE_VALUE_REQUIRED, "<depth>", "16", NULL, -1, NULL,
|
|
|
|
"Session bpp (color depth)" },
|
|
|
|
{ "buildconfig", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_BUILDCONFIG, NULL, NULL, NULL, -1,
|
|
|
|
NULL, "Print the build configuration" },
|
2022-10-20 10:59:16 +03:00
|
|
|
{ "cache", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"[bitmap[:on|off],codec[:rfx|nsc],glyph[:on|off],offscreen[:on|off],persist,persist-file:<"
|
|
|
|
"filename>]",
|
|
|
|
NULL, NULL, -1, NULL, "" },
|
2020-02-12 14:03:43 +03:00
|
|
|
{ "cert", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"[deny,ignore,name:<name>,tofu,fingerprint:<hash>:<hash as hex>[,fingerprint:<hash>:<another "
|
|
|
|
"hash>]]",
|
|
|
|
NULL, NULL, -1, NULL,
|
|
|
|
"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" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "cert-deny", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cert:deny] Automatically abort connection for any certificate that can "
|
2020-02-12 14:03:43 +03:00
|
|
|
"not be validated." },
|
|
|
|
{ "cert-ignore", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cert:ignore] Ignore certificate" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "cert-name", COMMAND_LINE_VALUE_REQUIRED, "<name>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cert:name:<name>] Certificate name" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "cert-tofu", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cert:tofu] Automatically accept certificate on first connect" },
|
2022-10-19 15:00:48 +03:00
|
|
|
#endif
|
2020-01-13 12:50:14 +03:00
|
|
|
{ "client-build-number", COMMAND_LINE_VALUE_REQUIRED, "<number>", NULL, NULL, -1, NULL,
|
|
|
|
"Client Build Number sent to server (influences smartcard behaviour, see [MS-RDPESC])" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "client-hostname", COMMAND_LINE_VALUE_REQUIRED, "<name>", NULL, NULL, -1, NULL,
|
|
|
|
"Client Hostname to send to server" },
|
2020-03-18 23:59:12 +03:00
|
|
|
{ "clipboard", COMMAND_LINE_VALUE_BOOL | COMMAND_LINE_VALUE_OPTIONAL, "[use-selection:<atom>]",
|
|
|
|
BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Redirect clipboard. "
|
|
|
|
" * use-selection:<atom> ... (X11) Specify which X selection to access. Default is "
|
|
|
|
"CLIPBOARD."
|
|
|
|
" PRIMARY is the X-style middle-click selection." },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "codec-cache", COMMAND_LINE_VALUE_REQUIRED, "[rfx|nsc|jpeg]", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:codec:[rfx|nsc|jpeg]] Bitmap codec cache" },
|
2022-10-20 10:59:16 +03:00
|
|
|
#endif
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "compression", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, "z", "compression" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "compression-level", COMMAND_LINE_VALUE_REQUIRED, "<level>", NULL, NULL, -1, NULL,
|
|
|
|
"Compression level (0,1,2)" },
|
|
|
|
{ "credentials-delegation", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"credentials delegation" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "d", COMMAND_LINE_VALUE_REQUIRED, "<domain>", NULL, NULL, -1, NULL, "Domain" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "decorations", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Window decorations" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "disp", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL, "Display control" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "drive", COMMAND_LINE_VALUE_REQUIRED, "<name>,<path>", NULL, NULL, -1, NULL,
|
|
|
|
"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", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Redirect all mount points as shares" },
|
2022-10-06 17:03:31 +03:00
|
|
|
{ "dump", COMMAND_LINE_VALUE_REQUIRED, "<record|replay>,<file>", NULL, NULL, -1, NULL,
|
|
|
|
"record or replay dump" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "dvc", COMMAND_LINE_VALUE_REQUIRED, "<channel>[,<options>]", NULL, NULL, -1, NULL,
|
|
|
|
"Dynamic virtual channel" },
|
|
|
|
{ "dynamic-resolution", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Send resolution updates when the window is resized" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "echo", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "echo", "Echo channel" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "encryption", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Encryption (experimental)" },
|
|
|
|
{ "encryption-methods", COMMAND_LINE_VALUE_REQUIRED, "[40,][56,][128,][FIPS]", NULL, NULL, -1,
|
|
|
|
NULL, "RDP standard security encryption methods" },
|
|
|
|
{ "f", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Fullscreen mode (<Ctrl>+<Alt>+<Enter> toggles fullscreen)" },
|
|
|
|
{ "fast-path", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"fast-path input/output" },
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "fipsmode", COMMAND_LINE_VALUE_BOOL, NULL, NULL, NULL, -1, NULL, "FIPS mode" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "floatbar", COMMAND_LINE_VALUE_OPTIONAL,
|
2022-02-24 15:56:58 +03:00
|
|
|
"sticky:[on|off],default:[visible|hidden],show:[always|fullscreen|window]", NULL, NULL, -1,
|
2019-10-24 15:44:01 +03:00
|
|
|
NULL,
|
|
|
|
"floatbar is disabled by default (when enabled defaults to sticky in fullscreen mode)" },
|
|
|
|
{ "fonts", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"smooth fonts (ClearType)" },
|
|
|
|
{ "frame-ack", COMMAND_LINE_VALUE_REQUIRED, "<number>", NULL, NULL, -1, NULL,
|
|
|
|
"Number of frame acknowledgement" },
|
|
|
|
{ "from-stdin", COMMAND_LINE_VALUE_OPTIONAL, "force", NULL, NULL, -1, NULL,
|
|
|
|
"Read credentials from stdin. With <force> the prompt is done before connection, otherwise "
|
|
|
|
"on server request." },
|
|
|
|
{ "g", COMMAND_LINE_VALUE_REQUIRED, "<gateway>[:<port>]", NULL, NULL, -1, NULL,
|
|
|
|
"Gateway Hostname" },
|
|
|
|
{ "gateway-usage-method", COMMAND_LINE_VALUE_REQUIRED, "[direct|detect]", NULL, NULL, -1, "gum",
|
|
|
|
"Gateway usage method" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "gd", COMMAND_LINE_VALUE_REQUIRED, "<domain>", NULL, NULL, -1, NULL, "Gateway domain" },
|
|
|
|
{ "gdi", COMMAND_LINE_VALUE_REQUIRED, "sw|hw", NULL, NULL, -1, NULL, "GDI rendering" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "geometry", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Geometry tracking channel" },
|
|
|
|
{ "gestures", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Consume multitouch input locally" },
|
2018-02-01 18:59:55 +03:00
|
|
|
#ifdef WITH_GFX_H264
|
2022-10-20 10:16:18 +03:00
|
|
|
{ "gfx", COMMAND_LINE_VALUE_OPTIONAL,
|
|
|
|
"[[RFX|AVC420|AVC444],mask:<value>,small-cache[:on|off],thin-client[:on|off],progressive[:on|"
|
|
|
|
"off]]",
|
|
|
|
NULL, NULL, -1, NULL, "RDP8 graphics pipeline" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
|
|
|
{ "gfx-h264", COMMAND_LINE_VALUE_OPTIONAL, "[[AVC420|AVC444],mask:<value>]", NULL, NULL, -1,
|
|
|
|
NULL, "[DEPRECATED, use /gfx:avc420] RDP8.1 graphics pipeline using H264 codec" },
|
2021-06-22 15:39:10 +03:00
|
|
|
#endif
|
2018-02-01 18:59:55 +03:00
|
|
|
#else
|
2022-10-20 10:16:18 +03:00
|
|
|
{ "gfx", COMMAND_LINE_VALUE_OPTIONAL,
|
|
|
|
"RFX,mask:<value>,small-cache[:on|off],thin-client[:on|off],progressive[:on|off]]", NULL,
|
|
|
|
NULL, -1, NULL, "RDP8 graphics pipeline" },
|
|
|
|
#endif
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
|
|
|
{ "gfx-progressive", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"[DEPRECATED, use /gfx:progressive] RDP8 graphics pipeline using progressive codec" },
|
|
|
|
{ "gfx-small-cache", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"[DEPRECATED, use /gfx:small-cache] RDP8 graphics pipeline using small cache mode" },
|
|
|
|
{ "gfx-thin-client", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"[DEPRECATED, use /gfx:thin-client] RDP8 graphics pipeline using thin client mode" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "glyph-cache", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:glyph[:on|off]] Glyph cache (experimental)" },
|
2022-10-20 10:59:16 +03:00
|
|
|
#endif
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "gp", COMMAND_LINE_VALUE_REQUIRED, "<password>", NULL, NULL, -1, NULL, "Gateway password" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "grab-keyboard", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Grab keyboard" },
|
2020-06-29 22:05:12 +03:00
|
|
|
{ "grab-mouse", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL, "Grab mouse" },
|
2021-03-05 14:59:33 +03:00
|
|
|
{ "gt", COMMAND_LINE_VALUE_REQUIRED, "[rpc|http[,no-websockets]|auto[,no-websockets]]", NULL,
|
|
|
|
NULL, -1, NULL, "Gateway transport type" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "gu", COMMAND_LINE_VALUE_REQUIRED, "[[<domain>\\]<user>|<user>[@<domain>]]", NULL, NULL, -1,
|
|
|
|
NULL, "Gateway username" },
|
|
|
|
{ "gat", COMMAND_LINE_VALUE_REQUIRED, "<access token>", NULL, NULL, -1, NULL,
|
|
|
|
"Gateway Access Token" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "h", COMMAND_LINE_VALUE_REQUIRED, "<height>", "768", NULL, -1, NULL, "Height" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "heartbeat", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Support heartbeat PDUs" },
|
|
|
|
{ "help", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_HELP, NULL, NULL, NULL, -1, "?",
|
|
|
|
"Print help" },
|
|
|
|
{ "home-drive", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Redirect user home as share" },
|
|
|
|
{ "ipv6", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "6",
|
|
|
|
"Prefer IPv6 AAA record over IPv4 A record" },
|
2018-02-01 18:59:55 +03:00
|
|
|
#if defined(WITH_JPEG)
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "jpeg", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL, "JPEG codec support" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "jpeg-quality", COMMAND_LINE_VALUE_REQUIRED, "<percentage>", NULL, NULL, -1, NULL,
|
|
|
|
"JPEG quality" },
|
2018-02-01 18:59:55 +03:00
|
|
|
#endif
|
2022-10-20 11:44:18 +03:00
|
|
|
{ "kbd", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"[layout:[0x<id>|<name>],lang:<0x<id>>,fn-key:<value>,type:<value>,subtype:<value>,unicode[:"
|
|
|
|
"on|off],remap:<key1>=<value1>,remap:<key2>=<value2>]",
|
|
|
|
NULL, NULL, -1, NULL,
|
|
|
|
"Keyboard related options:"
|
|
|
|
"* layout: set the keybouard layout announced to the server"
|
|
|
|
"* lang: set the keyboard language identifier sent to the server"
|
|
|
|
"* fn-key: Function key value" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-11-07 21:31:26 +03:00
|
|
|
{ "kbd-lang", COMMAND_LINE_VALUE_REQUIRED, "0x<id>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use / kbd:lang:<value>] Keyboard active language identifier" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "kbd-fn-key", COMMAND_LINE_VALUE_REQUIRED, "<value>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /kbd:fn-key:<value>] Function key value" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "kbd-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /list:kbd] List keyboard layouts" },
|
2021-09-10 14:03:09 +03:00
|
|
|
{ "kbd-scancode-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use list:kbd-scancode] List keyboard RDP scancodes" },
|
2019-11-08 17:42:05 +03:00
|
|
|
{ "kbd-lang-list", COMMAND_LINE_VALUE_OPTIONAL | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /list:kbd-lang] List keyboard languages" },
|
2020-10-28 14:22:48 +03:00
|
|
|
{ "kbd-remap", COMMAND_LINE_VALUE_REQUIRED,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /kbd:remap] List of <key>=<value>,... pairs to remap scancodes", NULL, NULL,
|
|
|
|
-1, NULL, "Keyboard scancode remapping" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "kbd-subtype", COMMAND_LINE_VALUE_REQUIRED, "<id>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /kbd:subtype]Keyboard subtype" },
|
2022-10-20 11:44:18 +03:00
|
|
|
{ "kbd-type", COMMAND_LINE_VALUE_REQUIRED, "<id>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /kbd:type] Keyboard type" },
|
2021-09-10 16:46:33 +03:00
|
|
|
{ "kbd-unicode", COMMAND_LINE_VALUE_FLAG, "", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /kbd:unicode[:on|off]] Send unicode symbols, e.g. use the local "
|
2022-10-20 11:44:18 +03:00
|
|
|
"keyboard map. ATTENTION: Does not work with every "
|
2021-09-10 16:46:33 +03:00
|
|
|
"RDP server!" },
|
2022-10-20 11:44:18 +03:00
|
|
|
#endif
|
2022-02-05 01:59:16 +03:00
|
|
|
{ "kerberos", COMMAND_LINE_VALUE_REQUIRED,
|
2022-10-06 23:47:32 +03:00
|
|
|
"[kdc-url:<url>,lifetime:<time>,start-time:<time>,renewable-lifetime:<time>,cache:<path>,"
|
|
|
|
"armor:<path>,pkinit-anchors:<path>,pkcs11-module:<name>]",
|
2022-02-05 01:59:16 +03:00
|
|
|
NULL, NULL, -1, NULL, "Kerberos options" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "load-balance-info", COMMAND_LINE_VALUE_REQUIRED, "<info-string>", NULL, NULL, -1, NULL,
|
|
|
|
"Load balance info" },
|
2022-10-19 16:18:14 +03:00
|
|
|
{ "list", COMMAND_LINE_VALUE_REQUIRED | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"[kbd|kbd-scancode|kbd-lang|smartcard|monitor|tune]" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "log-filters", COMMAND_LINE_VALUE_REQUIRED, "<tag>:<level>[,<tag>:<level>[,...]]", NULL, NULL,
|
|
|
|
-1, NULL, "Set logger filters, see wLog(7) for details" },
|
|
|
|
{ "log-level", COMMAND_LINE_VALUE_REQUIRED, "[OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE]", NULL,
|
|
|
|
NULL, -1, NULL, "Set the default log level, see wLog(7) for details" },
|
|
|
|
{ "max-fast-path-size", COMMAND_LINE_VALUE_REQUIRED, "<size>", NULL, NULL, -1, NULL,
|
|
|
|
"Specify maximum fast-path update size" },
|
|
|
|
{ "max-loop-time", COMMAND_LINE_VALUE_REQUIRED, "<time>", NULL, NULL, -1, NULL,
|
|
|
|
"Specify maximum time in milliseconds spend treating packets" },
|
|
|
|
{ "menu-anims", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"menu animations" },
|
|
|
|
{ "microphone", COMMAND_LINE_VALUE_OPTIONAL,
|
|
|
|
"[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,][channel:<channel>]", NULL, NULL, -1,
|
|
|
|
"mic", "Audio input (microphone)" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2022-02-02 01:23:34 +03:00
|
|
|
{ "smartcard-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /list:smartcard] List smartcard informations" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "monitor-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /list:monitor] List detected monitors" },
|
2022-10-19 16:18:14 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "monitors", COMMAND_LINE_VALUE_REQUIRED, "<id>[,<id>[,...]]", NULL, NULL, -1, NULL,
|
|
|
|
"Select monitors to use" },
|
|
|
|
{ "mouse-motion", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Send mouse motion" },
|
2022-01-18 18:06:25 +03:00
|
|
|
{ "mouse-relative", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Send mouse motion with relative addressing" },
|
2020-02-25 17:21:16 +03:00
|
|
|
#if defined(CHANNEL_TSMF_CLIENT)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "multimedia", COMMAND_LINE_VALUE_OPTIONAL, "[sys:<sys>,][dev:<dev>,][decoder:<decoder>]",
|
2022-10-20 13:57:02 +03:00
|
|
|
NULL, NULL, -1, "mmr", "[DEPRECATED], use /video] Redirect multimedia (video)" },
|
2020-02-25 17:21:16 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "multimon", COMMAND_LINE_VALUE_OPTIONAL, "force", NULL, NULL, -1, NULL,
|
|
|
|
"Use multiple monitors" },
|
|
|
|
{ "multitouch", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Redirect multitouch input" },
|
|
|
|
{ "multitransport", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Support multitransport protocol" },
|
|
|
|
{ "nego", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"protocol security negotiation" },
|
|
|
|
{ "network", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"[modem|broadband|broadband-low|broadband-high|wan|lan|auto]", NULL, NULL, -1, NULL,
|
|
|
|
"Network connection type" },
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "nsc", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "nscodec", "NSCodec support" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "offscreen-cache", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /cache:offscreen[:on|off]] offscreen bitmap cache" },
|
2022-10-20 10:59:16 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "orientation", COMMAND_LINE_VALUE_REQUIRED, "[0|90|180|270]", NULL, NULL, -1, NULL,
|
|
|
|
"Orientation of display in degrees" },
|
|
|
|
{ "old-license", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Use the old license workflow (no CAL and hwId set to 0)" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "p", COMMAND_LINE_VALUE_REQUIRED, "<password>", NULL, NULL, -1, NULL, "Password" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "parallel", COMMAND_LINE_VALUE_OPTIONAL, "<name>[,<path>]", NULL, NULL, -1, NULL,
|
|
|
|
"Redirect parallel device" },
|
|
|
|
{ "parent-window", COMMAND_LINE_VALUE_REQUIRED, "<window-id>", NULL, NULL, -1, NULL,
|
|
|
|
"Parent window id" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "pcb", COMMAND_LINE_VALUE_REQUIRED, "<blob>", NULL, NULL, -1, NULL, "Preconnection Blob" },
|
|
|
|
{ "pcid", COMMAND_LINE_VALUE_REQUIRED, "<id>", NULL, NULL, -1, NULL, "Preconnection Id" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "pheight", COMMAND_LINE_VALUE_REQUIRED, "<height>", NULL, NULL, -1, NULL,
|
|
|
|
"Physical height of display (in millimeters)" },
|
|
|
|
{ "play-rfx", COMMAND_LINE_VALUE_REQUIRED, "<pcap-file>", NULL, NULL, -1, NULL,
|
|
|
|
"Replay rfx pcap file" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "port", COMMAND_LINE_VALUE_REQUIRED, "<number>", NULL, NULL, -1, NULL, "Server port" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "suppress-output", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"suppress output when minimized" },
|
|
|
|
{ "print-reconnect-cookie", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Print base64 reconnect cookie after connecting" },
|
|
|
|
{ "printer", COMMAND_LINE_VALUE_OPTIONAL, "<name>[,<driver>]", NULL, NULL, -1, NULL,
|
|
|
|
"Redirect printer device" },
|
2022-04-04 17:11:56 +03:00
|
|
|
{ "proxy", COMMAND_LINE_VALUE_REQUIRED, "[<proto>://][<user>:<password>@]<host>[:<port>]", NULL,
|
2019-10-24 15:44:01 +03:00
|
|
|
NULL, -1, NULL,
|
|
|
|
"Proxy settings: override env. var (see also environment variable below). Protocol "
|
|
|
|
"\"socks5\" should be given explicitly where \"http\" is default." },
|
|
|
|
{ "pth", COMMAND_LINE_VALUE_REQUIRED, "<password-hash>", NULL, NULL, -1, "pass-the-hash",
|
|
|
|
"Pass the hash (restricted admin mode)" },
|
|
|
|
{ "pwidth", COMMAND_LINE_VALUE_REQUIRED, "<width>", NULL, NULL, -1, NULL,
|
|
|
|
"Physical width of display (in millimeters)" },
|
|
|
|
{ "rdp2tcp", COMMAND_LINE_VALUE_REQUIRED, "<executable path[:arg...]>", NULL, NULL, -1, NULL,
|
|
|
|
"TCP redirection" },
|
|
|
|
{ "reconnect-cookie", COMMAND_LINE_VALUE_REQUIRED, "<base64-cookie>", NULL, NULL, -1, NULL,
|
|
|
|
"Pass base64 reconnect cookie to the connection" },
|
|
|
|
{ "redirect-prefer", COMMAND_LINE_VALUE_REQUIRED, "<FQDN|IP|NETBIOS>,[...]", NULL, NULL, -1,
|
|
|
|
NULL, "Override the preferred redirection order" },
|
|
|
|
{ "relax-order-checks", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "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", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "restrictedAdmin",
|
|
|
|
"Restricted admin mode" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "rfx", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL, "RemoteFX" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "rfx-mode", COMMAND_LINE_VALUE_REQUIRED, "[image|video]", NULL, NULL, -1, NULL,
|
|
|
|
"RemoteFX mode" },
|
|
|
|
{ "scale", COMMAND_LINE_VALUE_REQUIRED, "[100|140|180]", "100", NULL, -1, NULL,
|
|
|
|
"Scaling factor of the display" },
|
|
|
|
{ "scale-desktop", COMMAND_LINE_VALUE_REQUIRED, "<percentage>", "100", NULL, -1, NULL,
|
|
|
|
"Scaling factor for desktop applications (value between 100 and 500)" },
|
|
|
|
{ "scale-device", COMMAND_LINE_VALUE_REQUIRED, "100|140|180", "100", NULL, -1, NULL,
|
|
|
|
"Scaling factor for app store applications" },
|
|
|
|
{ "sec", COMMAND_LINE_VALUE_REQUIRED, "[rdp|tls|nla|ext]", NULL, NULL, -1, NULL,
|
|
|
|
"Force specific protocol security" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "sec-ext", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /sec:ext] NLA extended protocol security" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "sec-nla", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /sec:nla] NLA protocol security" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "sec-rdp", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /sec:rdp] RDP protocol security" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "sec-tls", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /sec:tls] TLS protocol security" },
|
2022-10-19 15:09:03 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "serial", COMMAND_LINE_VALUE_OPTIONAL, "<name>[,<path>[,<driver>[,permissive]]]", NULL, NULL,
|
|
|
|
-1, "tty", "Redirect serial device" },
|
2022-10-14 20:39:12 +03:00
|
|
|
{ "server-name", COMMAND_LINE_VALUE_REQUIRED, "<name>", NULL, NULL, -1, NULL,
|
|
|
|
"User-specified server name to use for validation (TLS, Kerberos)" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "shell", COMMAND_LINE_VALUE_REQUIRED, "<shell>", NULL, NULL, -1, NULL, "Alternate shell" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "shell-dir", COMMAND_LINE_VALUE_REQUIRED, "<dir>", NULL, NULL, -1, NULL,
|
|
|
|
"Shell working directory" },
|
|
|
|
{ "size", COMMAND_LINE_VALUE_REQUIRED, "<width>x<height> or <percent>%[wh]", "1024x768", NULL,
|
|
|
|
-1, NULL, "Screen size" },
|
|
|
|
{ "smart-sizing", COMMAND_LINE_VALUE_OPTIONAL, "<width>x<height>", NULL, NULL, -1, NULL,
|
|
|
|
"Scale remote desktop to window size" },
|
|
|
|
{ "smartcard", COMMAND_LINE_VALUE_OPTIONAL, "<str>[,<str>...]", NULL, NULL, -1, NULL,
|
|
|
|
"Redirect the smartcard devices containing any of the <str> in their names." },
|
2022-02-24 15:56:58 +03:00
|
|
|
{ "smartcard-logon", COMMAND_LINE_VALUE_OPTIONAL,
|
|
|
|
"[cert:<path>,key:<key>,pin:<pin>,csp:<csp name>,reader:<reader>,card:<card>]", NULL, NULL,
|
|
|
|
-1, NULL, "Activates Smartcard (optional certificate) Logon authentication." },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "sound", COMMAND_LINE_VALUE_OPTIONAL,
|
|
|
|
"[sys:<sys>,][dev:<dev>,][format:<format>,][rate:<rate>,][channel:<channel>,][latency:<"
|
|
|
|
"latency>,][quality:<quality>]",
|
|
|
|
NULL, NULL, -1, "audio", "Audio output (sound)" },
|
|
|
|
{ "span", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Span screen over multiple monitors" },
|
|
|
|
{ "spn-class", COMMAND_LINE_VALUE_REQUIRED, "<service-class>", NULL, NULL, -1, NULL,
|
|
|
|
"SPN authentication service class" },
|
|
|
|
{ "ssh-agent", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, "ssh-agent",
|
|
|
|
"SSH Agent forwarding channel" },
|
2022-05-26 18:42:28 +03:00
|
|
|
{ "sspi-module", COMMAND_LINE_VALUE_REQUIRED, "<SSPI module path>", NULL, NULL, -1, NULL,
|
|
|
|
"SSPI shared library module file path" },
|
2021-09-21 10:56:56 +03:00
|
|
|
{ "disable-output", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Deactivate all graphics decoding in the client session. Useful for load tests with many "
|
|
|
|
"simultaneous connections" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "t", COMMAND_LINE_VALUE_REQUIRED, "<title>", NULL, NULL, -1, "title", "Window title" },
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "themes", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL, "themes" },
|
2020-03-23 10:51:35 +03:00
|
|
|
{ "timeout", COMMAND_LINE_VALUE_REQUIRED, "<time in ms>", "9000", NULL, -1, "timeout",
|
|
|
|
"Advanced setting for high latency links: Adjust connection timeout, use if you encounter "
|
|
|
|
"timeout failures with your connection" },
|
2022-10-19 17:59:37 +03:00
|
|
|
{ "tls", COMMAND_LINE_VALUE_REQUIRED, "[ciphers|seclevel|secrets-file|enforce]", NULL, NULL, -1,
|
|
|
|
NULL,
|
2022-10-19 14:50:33 +03:00
|
|
|
"TLS configuration options:"
|
|
|
|
" * ciphers:[netmon|ma|<cipher names>]"
|
|
|
|
" * seclevel:<level>, default: 1, range: [0-5] Override the default TLS security level, "
|
|
|
|
"might be required for older target servers"
|
|
|
|
" * secrets-file:<filename>"
|
2022-10-19 17:59:37 +03:00
|
|
|
" * enforce[:[ssl3|1.0|1.1|1.2|1.3]] Force use of SSL/TLS version for a connection. Some "
|
|
|
|
"servers have a buggy TLS "
|
|
|
|
"version negotiation and might fail without this. Defaults to TLS 1.2 if no argument is "
|
|
|
|
"supplied. Use 1.0 for windows 7" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "tls-ciphers", COMMAND_LINE_VALUE_REQUIRED, "[netmon|ma|ciphers]", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /tls:ciphers] Allowed TLS ciphers" },
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "tls-seclevel", COMMAND_LINE_VALUE_REQUIRED, "<level>", "1", NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /tls:seclevel] TLS security level - defaults to 1" },
|
2022-08-16 11:40:32 +03:00
|
|
|
{ "tls-secrets-file", COMMAND_LINE_VALUE_REQUIRED, "<filename>", NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /tls:secrets:file] File were TLS secrets will be stored in the "
|
2022-10-19 14:50:33 +03:00
|
|
|
"SSLKEYLOGFILE format" },
|
2022-06-23 03:17:43 +03:00
|
|
|
{ "enforce-tlsv1_2", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /tls:enforce:1.2] Force use of TLS1.2 for connection. Some "
|
2022-10-19 14:50:33 +03:00
|
|
|
"servers have a buggy TLS version negotiation and "
|
2022-06-23 09:36:25 +03:00
|
|
|
"might fail without this" },
|
2022-10-19 15:00:48 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "toggle-fullscreen", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL,
|
|
|
|
"Alt+Ctrl+Enter to toggle fullscreen" },
|
2020-04-11 12:55:11 +03:00
|
|
|
{ "tune", COMMAND_LINE_VALUE_REQUIRED, "<setting:value>,<setting:value>", "", NULL, -1, NULL,
|
|
|
|
"[experimental] directly manipulate freerdp settings, use with extreme caution!" },
|
2022-10-20 13:57:02 +03:00
|
|
|
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
2022-10-19 17:03:20 +03:00
|
|
|
{ "tune-list", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT, NULL, NULL, NULL, -1, NULL,
|
2022-10-20 13:57:02 +03:00
|
|
|
"[DEPRECATED, use /list:tune] Print options allowed for /tune" },
|
2022-10-19 16:18:14 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "u", COMMAND_LINE_VALUE_REQUIRED, "[[<domain>\\]<user>|<user>[@<domain>]]", NULL, NULL, -1,
|
|
|
|
NULL, "Username" },
|
|
|
|
{ "unmap-buttons", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"Let server see real physical pointer button" },
|
2020-02-26 13:12:46 +03:00
|
|
|
#ifdef CHANNEL_URBDRC_CLIENT
|
2020-04-24 02:16:10 +03:00
|
|
|
{ "usb", COMMAND_LINE_VALUE_REQUIRED,
|
|
|
|
"[dbg,][id:<vid>:<pid>#...,][addr:<bus>:<addr>#...,][auto]", NULL, NULL, -1, NULL,
|
|
|
|
"Redirect USB device" },
|
2020-02-26 13:12:46 +03:00
|
|
|
#endif
|
2019-10-24 15:44:01 +03:00
|
|
|
{ "v", COMMAND_LINE_VALUE_REQUIRED, "<server>[:port]", NULL, NULL, -1, NULL,
|
|
|
|
"Server hostname" },
|
|
|
|
{ "vc", COMMAND_LINE_VALUE_REQUIRED, "<channel>[,<options>]", NULL, NULL, -1, NULL,
|
|
|
|
"Static virtual channel" },
|
|
|
|
{ "version", COMMAND_LINE_VALUE_FLAG | COMMAND_LINE_PRINT_VERSION, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Print version" },
|
|
|
|
{ "video", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL,
|
|
|
|
"Video optimized remoting channel" },
|
|
|
|
{ "vmconnect", COMMAND_LINE_VALUE_OPTIONAL, "<vmid>", NULL, NULL, -1, NULL,
|
|
|
|
"Hyper-V console (use port 2179, disable negotiation)" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "w", COMMAND_LINE_VALUE_REQUIRED, "<width>", "1024", NULL, -1, NULL, "Width" },
|
2018-05-17 11:08:05 +03:00
|
|
|
{ "wallpaper", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL, "wallpaper" },
|
2019-11-06 17:24:51 +03:00
|
|
|
{ "window-drag", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL,
|
|
|
|
"full window drag" },
|
|
|
|
{ "window-position", COMMAND_LINE_VALUE_REQUIRED, "<xpos>x<ypos>", NULL, NULL, -1, NULL,
|
|
|
|
"window position" },
|
|
|
|
{ "wm-class", COMMAND_LINE_VALUE_REQUIRED, "<class-name>", NULL, NULL, -1, NULL,
|
|
|
|
"Set the WM_CLASS hint for the window instance" },
|
2018-02-01 18:59:55 +03:00
|
|
|
{ "workarea", COMMAND_LINE_VALUE_FLAG, NULL, NULL, NULL, -1, NULL, "Use available work area" },
|
|
|
|
{ NULL, 0, NULL, NULL, NULL, -1, NULL, NULL }
|
|
|
|
};
|
|
|
|
#endif /* CLIENT_COMMON_CMDLINE_H */
|