2

I'm logging into an rdp environment using Linux.

Everything works fine if the session is constantly in use. However, if the user walks away from his/her desk, and comes back say 5 minutes later, the session has automatically closed, and the user has to connect again.

Anyway to stop this from happening?


The terminal shows the following message when the session is closed:

rpc_client_on_fragment_receiving_event: Receiving Out-of_sequence RTS PDU
Network disconenct!
Failed to check FreeRDP file descriptor
  • Can you check if any error messages are being displayed on the terminal after the session gets closed. – beginer Jul 15 '14 at 9:13
  • @beginer, I've added the details you requested to the question. – oshirowanen Jul 15 '14 at 9:21
  • Have you strace ? Post it's output via pastebin – SHW Jul 19 '14 at 8:38
  • @SHW, how do I use strace. Do I type strace in the terminal and then run the rds command? – oshirowanen Jul 24 '14 at 10:09
  • It might be useful: github.com/FreeRDP/FreeRDP/issues/1202 info about patch sounds promising. – greenoldman Feb 23 '15 at 13:19
0

Are you aware of any network firewall in the path? That's usually the problem when a connection stays idle for too long - network equipment may terminate the connection.

I can't seem to find decent documentation on the internet about xfreerdp. Sending keep-alive probes or auto-reconnecting usually solve that problem, but it looks like xfreerdp supports neither.

Have you considered switching to remmina?

  • Yes, firewalls are in the path. I can't switch to remmina because it does not support TSG (Terminal Services Gateway for RDS). – oshirowanen Jul 22 '14 at 7:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.