diff --git a/ironrdp_client/README.md b/ironrdp_client/README.md index 207f04c41..74f1fb9ec 100644 --- a/ironrdp_client/README.md +++ b/ironrdp_client/README.md @@ -1,46 +1,51 @@ # IronRDP client -A command-line RDP client, which performs connection to an RDP server up to the Active state. -The client collects the minimum information about the system (the screen width, height, DPI, etc.), - and takes other info from the command-line arguments (all the arguments have a default value). -If the RDP Connection Sequence completes, the client returns a `SUCCESS` exit code, -or an `error` exit code in case of failure. +A command-line RDP client, which performs connection to an RDP server and decodes RFX graphical updates. +If IronRDP client will encounter an error, then will return `error` exit code and print what caused +an error. + +## Prerequisites +Before connection to a Windows 10 RDP server please enable RFX feature: +1. run `gpedit.msc`; +2. go to `Administrative Templates` → `Windows Components` → `Remote Desktop Services` → +`Remote Desktop Session Host` → `Remote Session Environment` → +`RemoteFX for Windows Server 2008 R2`→ `Configure RemoteFX`; +3. tap Enabled. ## Command-line Interface ``` USAGE: - ironrdp_client [OPTIONS] --password --security_protocol ... --username + ironrdp_client [OPTIONS] --password --security-protocol ... --username FLAGS: -h, --help Prints help information -v, --version Prints version information OPTIONS: - --dig_product_id + --dig-product-id Contains a value that uniquely identifies the client [default: ] -d, --domain An optional target RDP server domain name - --ime_file-name + --ime-file-name The input method editor (IME) file name associated with the active input locale [default: ] - --keyboard_functional_keys_count + --keyboard-functional-keys-count The number of function keys on the keyboard [default: 12] - --keyboard_subtype + --keyboard-subtype The keyboard subtype (an original equipment manufacturer-dependent value) [default: 0] - --keyboard_type + --keyboard-type The keyboard type [default: ibm_enhanced] [possible values: ibm_pc_xt, olivetti_ico, ibm_pc_at, ibm_enhanced, nokia1050, nokia9140, japanese] - -l, --log_file + --log-file A file with IronRDP client logs [default: ironrdp_client.log] -p, --password A target RDP server user password - -s, --security_protocol ... + --security-protocol ... Specify the security protocols to use [default: hybrid_ex] [possible values: ssl, hybrid, hybrid_ex] - --static_channel ... Unique static channel name -u, --username A target RDP server user name ARGS: @@ -57,9 +62,9 @@ It worth to notice that the client takes mandatory arguments as 1. Run the RDP server (Windows RDP server, FreeRDP server, etc.); 2. Run the IronRDP client and specify the RDP server address, username and password: ``` - cargo run -- 192.168.1.100:3389 -u SimpleUsername -p SimplePassword! + cargo run 192.168.1.100:3389 -u SimpleUsername -p SimplePassword! ``` -3. After the RDP Connection Sequence finishes, -the client will print `RDP connection sequence finished` -in case of success, and (for example) `RDP failed because of negotiation error: ...` -in case of error. Additional logs are available in ``. +3. After the RDP Connection Sequence the client will start receive RFX updates +and save to the internal buffer. +In case of error, the client will print (for example) `RDP failed because of negotiation error: ...`. +Additional logs are available in `` (`ironrdp_client.log` by default).