Hello Trenta sis! This is our implementation on raspberryPIs for 2008 R2 TS farm with session brooker and DNS round robin. Just change DOMAIN to your domain and FARM to your dns name for the TS farm. Hope it works on 2012 as well :) Also the kbd layout may be changed to your choice :) If you don't want a popup with username and pass, just use the last line with correct /u and /p directly
apt-get install yad touch rdp.sh #!/bin/bash frmdata=$(yad --title "FARM" --form --field "Username:" --field "Password:":H) frmname=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }') frmpass=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $2 }') xfreerdp /f /cert-ignore /d:DOMAIN /u:$frmname /p:$frmpass /sec-nla /load-balance-info:tsv://FARM /kbd:0x0000041D /v:FARM -- ☆ Johan "Jo" Nidelius ☼ have a sunshiny day ☼ ♥ +46 (0) 730-459949 ✈ http://www.nidelius.com -- On Sat, Aug 27, 2016 at 9:44 AM, Trenta sis <trenta....@gmail.com> wrote: > Hi, > > I'm trying to configure a ts farm with windows 2012 r2 using dns round > robin+connectionbroker and 2 session brokers and freerdp > > We have configured and tested from windows 10 machine and works great , > putting one machine offline ping and rdp is only redirected to server that > is online. > > Our problem is that failover from linux with freerdp, ping and freerdp > connection > is not working correctly when one machine is offline, it seems that with > linux/freerdp is not managing failover as windows. > > Tried +auto-reconnect, but seems that this is for reconnecting after > initial connection, when it fails tries 20 attempts... > > command used is xfreerdp /v:server +auto-reconnect /cert-ignore > > anybody has implemented a full automatic failover for ts farm with windows > 2012? or where I can implement an automatic reconnect in this situations > (normally with 3 or 4 attemps reconnect to correct server correclty)? > > Thanks > ------------------------------------------------------------ > ------------------ > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > ------------------------------------------------------------------------------ _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel