xtc tips

xfreerdp parameters

Not all parameters of xfreerdp can be changed via input fields of xtc. Here is an overview of all parameters of xfreerdp.

Connect to a xrdp server

  1. Click the "Config" tab.
  2. Select "RDP (xfreerpd)" as the connection.
  3. Click the "New Connection" button.
  4. Enter a name and address.
  5. Choose a resolution and color depth.
  6. For better graphics output set the checkbox of "Glyph Cache".
  7. Don't set the checkbox for "Clipboard".
  8. In the input field "Additional parameter" enter: /relax-order-checks
  9. Click the "OK" button to save the connection parameters.

Connect to Windows

  1. Click the "Config" tab.
  2. Select "RDP (xfreerpd)" as the connection.
  3. Click the "New Connection" button.
  4. Enter a name and address.
  5. For auto login enter the user login name and the user password or set the checkbox "System login".
  6. Enter a domain name.
  7. Choose a resolution and color depth.
  8. For better graphics output, select "hw" from "GDI" and set the checkbox of "Glyph Cache".
  9. Set the checkbox for "Ignore certificate".
  10. Don't set the checkbox for "Clipboard". Some applications have problems forwarding the clipboard.
  11. Click the "OK" button to save the connection parameters.
  12. For the Windows login use as additional parameter: /sec:tls
  13. Make sure that ping is allowed in the Windows Firewall. To activate the rule for Windows 10, see here.

Here are some tips to improve the performance of xfreerdp by Joe Fellner

  1. GFX settings for Windows 10: Select checkbox GFX or set the parameter /gfx:AVC444. This will set up an H264 video stream.
  2. GFX settings for older systems (Server 2012 R2): Select checkbox RFX

USB redirection

To connect a USB stick, set this parameter: /drive:USB0,/media/usb0 Don't forget to choose "USB automount" in the tab "hardware".

Redirect Sound

For sound set the parameter: /sound:sys:alsa,format:1,quality:high,rate:44100,latency:50
To use a microphone, set this parameter: /microphone:sys:alsa,format:1,rate:44100

Multi Monitor

xtc supports with the Raspberry Pi 4 the Multi Monitor Mode.
For xfreerdpd this parameter must be used: /multimon
Insert the parameters into the input field "Additional Parameters".

Redirect Webcam

Forwarding a webcam works with xfreerdp version 3. Please note that xfreerdp version 3 is still under development.
First, test if the webcam works with your local system: start a terminal and enter this command: guvcview
If the webcam is detected, the camera image is displayed and there are various setting options.
Please note: the microphone of a webcam is not forwarded to Windows.
These settings have worked with several webcams:

  1. Select the connection type "RDP (xfreerdp)."
  2. Select the webcam in the combobox "USB device".
  3. For better graphics output, select "hw" from "GDI" and set the checkboxes for "GFX", "RFX" and "Glyph Cache".
  4. Redirect audio: Use the /sound and /microphone parameters. See also section "Redirect Sound".
  5. Select "Version 3". Only xfreerdp version 3 supports webcam.
  6. A headset is used as the microphone: select the headset under "output sound" in the "Hardware" tab (In my attempts, I had to select "USB - Audio Device" as headset).

How to install OpenVpn on Raspberry Pi?

To establish a OpenVPN connection, you need a file in the ovpn format. An ovpn file contains all parameters to establish a VPN connection: target system, access information, key. Firewalls, for example from sophos, can create an ovpn file.

  1. Activate "USB automount" in the "System" tab.
  2. Insert the USB stick with the ovpn file into the Raspberry Pi.
  3. Click the button "..." in the "VPN" tab.
  4. Change to the folder /media/usb0 in the open dialog.
  5. Choose the ovpn file and click the "open" button.
  6. The file is copied to the directory "/data/vpn".
When you need aditional files:
  1. Click the button "Additional files" in the "VPN" tab.
  2. Change to the folder /media/usb0 in the open dialog.
  3. Select the file you need and click the "open" button.
  4. The file is copied to the directory "/data/vpn" on xtc.