On Thu, Jan 30, 2020 at 5:40 AM Tushar Jain <[email protected]> wrote:
> Hi, > > Just to add on to my previous email, after i exit my RDP application, if i > click on "Disconnect" link of Guacamole menu, the session immediately > disconnects. Can i make this happen on the click of "Exit" button of RDP > application itself, instead of user having to ? Basically i want to > disconnect the RDP session as soon as exist the application. > > On Thu, Jan 30, 2020 at 3:46 PM Tushar Jain < > [email protected]> wrote: > >> Hi, >> >> I have published an RDP Application hosted on a remote server. After >> connecting through guacamole, the application works fine. But, when i exit >> the application, guacamole takes about 20 seconds to disconnect the RDP >> session. After 20 seconds i get the message "You have been disconnected". >> At the same time, when i check the RDP Session Host, it marks the session >> as "Disconnected". What could be the reason? Can i change this 20 sec to >> say 5 sec? >> >> Thanks! >> > A couple of things come to mind... First, the session disconnection, in this particular case, is managed mostly by the RDP server and not Guacamole. So, something on the RDP server side is causing a delay in the disconnection of the session such that it takes a few seconds for the session to actually close out. Depending on what RDP server you're using, this could be caused by processes shutting down, profiles being saved, or several other things. My suggestion would be to monitor the server during the time when you disconnect and try to see what's happening. Another possibility would be to make sure you're using RemoteApp (RAILS) functionality, which may handle this type of disconnect situation a little more cleanly. Depending on your RDP server (Windows vs xRDP) your level of success in using this will vary, but Guacamole does support this functionality as long as the RDP server does. -Nick
