Sessions Disconnect regardless of settings
Re: Sessions Disconnect regardless of settings
Even though TSplus (latest version , updated today) is set to 'use native windows shell when opening sessions'
When i look at a logged in user in task manager, I see login-session and logout when disconnected processes, surely they shouldn't be running ? is it ignoring the setting and using TSplus shell on login anyway for some reason ?
Please see screenshot ....
/edit -
if I manually kill the logoff on disconnect process for a user, then the problem is cured for that user, until they next log out or the server is restarted, their session remains alive if they disconnect, programs are still open when they reconnect! and they can take it over from another machine without it signing out!
So I think i'm onto something here, I could write a login script that kills the process which is a bit hacky but will solve my problem for now, I would rather solve it properly though!
/further edit -
For now I have renamed the logoff on disconnect executable to prevent it from being run, and this has cured the problem, as above I would rather find the correct cure, but I am happy to find a cure for now!
When i look at a logged in user in task manager, I see login-session and logout when disconnected processes, surely they shouldn't be running ? is it ignoring the setting and using TSplus shell on login anyway for some reason ?
Please see screenshot ....
/edit -
if I manually kill the logoff on disconnect process for a user, then the problem is cured for that user, until they next log out or the server is restarted, their session remains alive if they disconnect, programs are still open when they reconnect! and they can take it over from another machine without it signing out!
So I think i'm onto something here, I could write a login script that kills the process which is a bit hacky but will solve my problem for now, I would rather solve it properly though!
/further edit -
For now I have renamed the logoff on disconnect executable to prevent it from being run, and this has cured the problem, as above I would rather find the correct cure, but I am happy to find a cure for now!
Re: Sessions Disconnect regardless of settings
@Inetiauk your hack seems to have fixed my issue as well great catch
i did notice when using the html5 client I must go to start and disconnect I can not simply close the browser tab or it will automatically log off the session, but if I do start --> disconnect the session stays open.
also i have noticed the last few upgrades that the logondisconnect.exe has to be killed manually for the upgrades to work if not it get stuck trying to upgrade, maybe this is related?
i did notice when using the html5 client I must go to start and disconnect I can not simply close the browser tab or it will automatically log off the session, but if I do start --> disconnect the session stays open.
also i have noticed the last few upgrades that the logondisconnect.exe has to be killed manually for the upgrades to work if not it get stuck trying to upgrade, maybe this is related?
Re: Sessions Disconnect regardless of settings
Glad its helped you, lets hope there is a proper fix for this soon!chopcomp wrote:@Inetiauk your hack seems to have fixed my issue as well great catch
i did notice when using the html5 client I must go to start and disconnect I can not simply close the browser tab or it will automatically log off the session, but if I do start --> disconnect the session stays open.
also i have noticed the last few upgrades that the logondisconnect.exe has to be killed manually for the upgrades to work if not it get stuck trying to upgrade, maybe this is related?
I dont use the html5 client, just rdp client, so i haven't noticed this,
If any users are logged in via TSplus then it will need to be killed, I use the console to upgrade mine, I make sure all users are logged out, then connect via SimpleHelp (or teamviewer or similar will work)
Re: Sessions Disconnect regardless of settings
Hello,
I have forwarded this issue to our development team, you should not have to rename any of TSplus programs as it may result in unpredictable behaviors.
The behavior of session disconnection is different for HTML5 web client.
Open a windows explorer and locate the setting.js file in C:\Program Files (x86)\TSplus\Clients\www\software\html5
Edit this file with notepad and locate the parameter :
W.send_logoff = true; //if true, by event of browser closing (if notificated by browser), the session disconnets and logoff command gets sent to session.
Set this setting to false so that your client browser does not send a logoff command when tab or browser is closed. This feature was made so that portable devices are able to logoff their session more easily.
I have forwarded this issue to our development team, you should not have to rename any of TSplus programs as it may result in unpredictable behaviors.
The behavior of session disconnection is different for HTML5 web client.
Open a windows explorer and locate the setting.js file in C:\Program Files (x86)\TSplus\Clients\www\software\html5
Edit this file with notepad and locate the parameter :
W.send_logoff = true; //if true, by event of browser closing (if notificated by browser), the session disconnets and logoff command gets sent to session.
Set this setting to false so that your client browser does not send a logoff command when tab or browser is closed. This feature was made so that portable devices are able to logoff their session more easily.
Olivier
TSplus support team administrator

TSplus support team administrator

Re: Sessions Disconnect regardless of settings
Could you confirm please....
Should those processes run when it is set to use Windows shell on the session opening settings ?
Am I correct it's a sign the setting is being ignored if they are running ?
Thanks
Should those processes run when it is set to use Windows shell on the session opening settings ?
Am I correct it's a sign the setting is being ignored if they are running ?
Thanks
Re: Sessions Disconnect regardless of settings
Hello,
Could you check the following : Open a Windows explorer and locate the C:\Program Files (x86)\TSplus\Userdesktop\files folder. Look for a onesession.txt file, if present, delete it. It should prevent the logoff on disconnect process to launch.
Could you check the following : Open a Windows explorer and locate the C:\Program Files (x86)\TSplus\Userdesktop\files folder. Look for a onesession.txt file, if present, delete it. It should prevent the logoff on disconnect process to launch.
Re: Sessions Disconnect regardless of settings
I will give this a go out of office hours.
Thanks
Thanks