bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
693 stars 117 forks source link

Question: RDP template file Cannot load RDP template file default.rdp due to malformed line 1: #77

Closed pbvdven closed 11 months ago

pbvdven commented 11 months ago

What i do i always get Cannot load RDP template file default.rdp due to malformed line 1: ��domain:s:testdomain **

template file is placed in workdir name default.rdp domain:s:testdomain connection type:i:2

i tried placing other content i Always get same message also used working one downloaded from rdpgw also same mallformed line 1

yaml config: Client: UsernameTemplate: "{{ username }}" Defaults: default.rdp

is this feature not operational or am i doing something wrong?

pbvdven commented 11 months ago

Sorry got it working already thanks file saved as text then changed to ANSI instead of UTF-8