- Broker farm of 2 RDS 2012 R2
- Raspberry Pi 3
- WTware 5.9.94
- RoundRobin DNS name : RDS-HLM
Two weeks ago, I was in version 5.4.78, and I feel that since an update of the RDS servers, I had temporary session randomly.
So I updated WTware (5.4.94), but I still encounter temporary profiles.
When I log in several times with the same user, I get a temporary profile, always once every two !
Here log of RDS when I have temporary session :
And log of Raspberry :
------------------------------------------------------------------------------------
NO TEMPORARY SESSION
16-28-53-523| [ gm] [ 194.784128] Free ram before fork terminal client /sbin/rdpclient (session 7 ): 920824 Kb.
16-28-53-538| [ gm] [ 194.784361] Run '/sbin/rdpclient 7', log '/tmp/rdpclient.out', env '', pid ''.
16-28-53-554| [ pfac] [ 194.784590] Run /sbin/rdpclient 7.
16-28-53-554| [ pfac] [ 194.784856] Ok, PID 705.
16-28-53-554| [ rdpclient 705] [ 194.792387] RDP Terminal Client, WTware 5.4.94/RPi, pipe 7, pid 705.
16-28-53-554| [ rdpclient 705] [ 194.793178] Use /lib/ui32.so.
16-28-53-569| [ rdpclient 705] [ 194.793955] Make RDP session with 192.168.4.51, 192.168.4.49, port 3389.
16-28-53-569| [ rdpclient 705] [ 194.794030] Username: "rj".
16-28-53-585| [ rdpclient 705] [ 194.794089] Password: present.
16-28-53-601| [ rdpclient 705] [ 194.794145] No PIN.
16-28-53-601| [ rdpclient 705] [ 194.794200] Domain: "DOM-HLM.LOCAL".
16-28-53-616| [ rdpclient 705] [ 194.794255] No shell.
16-28-53-632| [ rdpclient 705] [ 194.794310] No directory.
16-28-53-632| [ rdpclient 705] [ 194.794364] Window: 1440x900@24.
16-28-53-648| [ rdpclient 705] [ 194.794419] PFlags 0x0000002E.
16-28-53-648| [ rdpclient 705] [ 194.794473] Keyboard 00000409:00000000.
16-28-53-663| [ rdpclient 705] [ 194.794529] My hostname "CL0001".
16-28-53-663| [ rdpclient 705] [ 194.795305] TCP: connection with 192.168.4.51:3389 established.
16-28-53-663| [ rdpclient 705] [ 194.795367] Turn keepalive on.
16-28-53-679| [ rdpclient 705] [ 194.796262] Free ram after buffers allocation: 919956 KB.
16-28-53-679| [ rdpclient 705] [ 194.796342] Use Balance Info 43 bytes: 'tsv://MS Terminal Services Plugin.1.RDS-HLM'.
16-28-53-679| [ rdpclient 705] [ 194.800591] Server supports GFX Pipeline.
16-28-53-694| [ rdpclient 705] [ 194.803129] Process RDP server certificate.
16-28-53-694| [ rdpclient 705] [ 194.803209] RDP5 encryption (X.509).
16-28-53-710| [ rdpclient 705] [ 194.808634] Timezone '(UTC+01:00) Brussels, Copenhagen, Madrid, Paris'.
16-28-53-726| [ rdpclient 705] [ 194.808699] Enable font smoothing and Desktop Composition.
16-28-53-726| [ rdpclient 705] [ 194.871392] GFX codec.
16-28-54-148| [ rdpclient 705] [ 195.411694] Run 4 tile threads.
16-28-54-398| [ rdpclient 705] [ 195.656636] LOGON_EX_LOGONERRORS: ErrorNotificationType 0xfffffffe, ErrorNotificationData 0x0000002b.
16-28-56-304| [ rdpclient 705] [ 197.571124] SessionId 0x0000002b: DOM-HLM\rj.
------------------------------------------------------------------------------------
TEMPORARY SESSION
16-29-59-447| [ gm] [ 260.704122] Free ram before fork terminal client /sbin/rdpclient (session 8 ): 921024 Kb.
16-29-59-462| [ gm] [ 260.704326] Run '/sbin/rdpclient 8', log '/tmp/rdpclient.out', env '', pid ''.
16-29-59-478| [ pfac] [ 260.704555] Run /sbin/rdpclient 8.
16-29-59-478| [ pfac] [ 260.704822] Ok, PID 713.
16-29-59-478| [ rdpclient 713] [ 260.712441] RDP Terminal Client, WTware 5.4.94/RPi, pipe 8, pid 713.
16-29-59-478| [ rdpclient 713] [ 260.713258] Use /lib/ui32.so.
16-29-59-494| [ rdpclient 713] [ 260.714036] Make RDP session with 192.168.4.49, 192.168.4.51, port 3389.
16-29-59-494| [ rdpclient 713] [ 260.714114] Username: "rj".
16-29-59-509| [ rdpclient 713] [ 260.714171] Password: present.
16-29-59-509| [ rdpclient 713] [ 260.714227] No PIN.
16-29-59-525| [ rdpclient 713] [ 260.714283] Domain: "DOM-HLM.LOCAL".
16-29-59-525| [ rdpclient 713] [ 260.714338] No shell.
16-29-59-540| [ rdpclient 713] [ 260.714393] No directory.
16-29-59-556| [ rdpclient 713] [ 260.714448] Window: 1440x900@24.
16-29-59-556| [ rdpclient 713] [ 260.714503] PFlags 0x0000002E.
16-29-59-572| [ rdpclient 713] [ 260.714557] Keyboard 00000409:00000000.
16-29-59-572| [ rdpclient 713] [ 260.714613] My hostname "CL0001".
16-29-59-587| [ rdpclient 713] [ 260.715526] TCP: connection with 192.168.4.49:3389 established.
16-29-59-587| [ rdpclient 713] [ 260.715588] Turn keepalive on.
16-29-59-603| [ rdpclient 713] [ 260.716593] Free ram after buffers allocation: 920156 KB.
16-29-59-603| [ rdpclient 713] [ 260.716670] Use Balance Info 43 bytes: 'tsv://MS Terminal Services Plugin.1.RDS-HLM'.
16-29-59-603| [ rdpclient 713] [ 260.721577] Server supports GFX Pipeline.
16-29-59-619| [ rdpclient 713] [ 260.723957] Process RDP server certificate.
16-29-59-619| [ rdpclient 713] [ 260.724064] RDP5 encryption (X.509).
16-29-59-619| [ rdpclient 713] [ 260.729718] Timezone '(UTC+01:00) Brussels, Copenhagen, Madrid, Paris'.
16-29-59-634| [ rdpclient 713] [ 260.729786] Enable font smoothing and Desktop Composition.
16-29-59-650| [ rdpclient 713] [ 260.800662] GFX codec.
16-30-00-181| [ rdpclient 713] [ 261.439710] Run 4 tile threads.
16-30-00-509| [ rdpclient 713] [ 261.780928] Server Redirection flags 0x00000b0d.
16-30-00-540| [ rdpclient 713] [ 261.781058] Server 192.168.4.51.
16-30-00-556| [ rdpclient 713] [ 261.781121] User "rj".
16-30-00-556| [ rdpclient 713] [ 261.781178] Domain "DOM-HLM".
16-30-00-556| [ rdpclient 713] [ 261.781234] Send Disconnect Provider Ultimatum.
16-30-00-572| [ gm] [ 261.781430] TSClient (sessionId 8, pid 713) gracefully end.
16-30-00-572| [ gm] [ 261.789608] Free ram before fork terminal client /sbin/rdpclient (session 9): 921448 Kb.
16-30-00-587| [ gm] [ 261.789754] Run '/sbin/rdpclient 9', log '/tmp/rdpclient.out', env '', pid ''.
16-30-00-603| [ pfac] [ 261.789973] Run /sbin/rdpclient 9.
16-30-00-603| [ pfac] [ 261.790380] Ok, PID 720.
16-30-00-619| [ pfac] [ 261.790462] Process pid 713 terminated, status 00000009.
16-30-00-634| [ rdpclient 720] [ 261.797589] RDP Terminal Client, WTware 5.4.94/RPi, pipe 9, pid 720.
16-30-00-634| [ rdpclient 720] [ 261.798459] Use /lib/ui32.so.
16-30-00-650| [ rdpclient 720] [ 261.799228] Make RDP session with 192.168.4.51, port 3389.
16-30-00-650| [ rdpclient 720] [ 261.799314] Username: "rj".
16-30-00-665| [ rdpclient 720] [ 261.799389] Password: present.
16-30-00-681| [ rdpclient 720] [ 261.799448] No PIN.
16-30-00-681| [ rdpclient 720] [ 261.799502] Domain: "DOM-HLM".
16-30-00-697| [ rdpclient 720] [ 261.799557] No shell.
16-30-00-697| [ rdpclient 720] [ 261.799611] No directory.
16-30-00-712| [ rdpclient 720] [ 261.799665] Window: 1440x900@24.
16-30-00-712| [ rdpclient 720] [ 261.799720] PFlags 0x0000002E.
16-30-00-728| [ rdpclient 720] [ 261.799774] Keyboard 00000409:00000000.
16-30-00-728| [ rdpclient 720] [ 261.799830] My hostname "CL0001".
16-30-00-744| [ rdpclient 720] [ 261.799926] TCP: connecting to 192.168.4.51:3389.
16-30-00-744| [ rdpclient 720] [ 261.800538] TCP: connection with 192.168.4.51:3389 established.
16-30-00-759| [ rdpclient 720] [ 261.800603] Turn keepalive on.
16-30-00-775| [ rdpclient 720] [ 261.801485] Free ram after buffers allocation: 920728 KB.
16-30-00-775| [ rdpclient 720] [ 261.801550] Empty Balance Info.
16-30-00-790| [ rdpclient 720] [ 261.805834] Server supports GFX Pipeline.
16-30-00-790| [ rdpclient 720] [ 261.805896] Redirected Session ID 0x00000000.
16-30-00-806| [ rdpclient 720] [ 261.808282] Process RDP server certificate.
16-30-00-806| [ rdpclient 720] [ 261.808342] RDP5 encryption (X.509).
16-30-00-822| [ rdpclient 720] [ 261.813589] Timezone '(UTC+01:00) Brussels, Copenhagen, Madrid, Paris'.
16-30-00-853| [ rdpclient 720] [ 261.813652] Enable font smoothing and Desktop Composition.
16-30-00-853| [ rdpclient 720] [ 261.870098] GFX codec.
16-30-01-119| [ rdpclient 720] [ 262.389005] Run 4 tile threads.
16-30-01-259| [ rdpclient 720] [ 262.530881] LOGON_EX_LOGONERRORS: ErrorNotificationType 0xfffffffe, ErrorNotificationData 0x0000002c.
16-30-05-306| [ rdpclient 720] [ 266.571805] SessionId 0x0000002c: DOM-HLM\rj.
------------------------------------------------------------------------------------
We can see that in case it works, we have much less log.
We do not find the part I highlighted in green in the case of a temporary session, except that we have a "Server Redirection" flag, which initiates a connection again.
And when this second connection is established, we do not find the IP address of both RDS, but only one (line highlighted in pink).
Another thing, during the second connection, the domain name is not really correct : "DOM-HLM" instead of "DOM-HLM.LOCAL"
We only have redirected message when we first connect to the first RDS (.49).
This is my template configuration :
Code: Select all
server=rds-hlm
domain=DOM-HLM.LOCAL
keyboard=fr
graphic=a
loadbalanceinfo=tsv://MS Terminal Services Plugin.1.RDS-HLM
language=fr,default
timezone=Romance Standard Time
vnc=on
vnc_password=hex:fcbf.................
infobox=never
bpp=16
skin=sample
chrome_language=fr_be
Thank you,
Regards