Page 1 of 1

Explain session name types

Posted: Wed Feb 27, 2019 5:21 pm
by cmarsura
Hi,
I have a bunch of Windows 2012 R2 servers installed with same Tsplus version but on certain servers if I issue the "query user" command from the command prompt I can see:
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
Anuser04 rdp-tcp#42 8 Active 1 27/02/2019 17:41
Anuser03 rdp-tcp#32 9 Active 6 27/02/2019 09:21

whereas on other Tsplus servers the same command produces following output:
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
Anuser06 session#17 7 Active 18 27/02/2019 15:51
Anuser05 session#13 8 Active . 27/02/2019 09:00

Of course, if I issue the command on a XenDesktop installed server I can see:
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
Anuser10 ica-cgp#18 8 Active 3 27/02/2019 09:14
Anuser09 ica-cgp#17 9 Active . 27/02/2019 08:30


What is the difference between "rdp-tcp" and "session" in the SESSIONNAME column?
Best

Re: Explain session name types

Posted: Mon Mar 11, 2019 8:54 am
by cmarsura
Any news ?

Re: Explain session name types

Posted: Mon Mar 11, 2019 10:00 am
by admin
Hello,

Sorry for late response.

Username is the name of your Windows user for this remote connection.
Sessionname is the ID of the session given to the user for this connection.

Re: Explain session name types

Posted: Tue Mar 12, 2019 2:28 pm
by cmarsura
Thanks for your response, but I think you missed the point: I have two similar servers, installed with same Tsplus version, but in one server the connected users appear listed under the 'SESSION' column as session#nn and on the other server the users are listed under same column as rdp-tcp#nn; command used to list users is the same "query user"

Why there are these differences in the column ?
May be that there is a slightly different configuration ?
The servers are cloned from same template, sysprepped and then installed with same Tsplus version.

Re: Explain session name types

Posted: Wed Mar 13, 2019 7:13 pm
by admin
Hello,

Ok this is related to your XenDesktop architecture, ICA-CGP means that you are connecting from a Windows client and is related to a citrix naming convention.

Re: Explain session name types

Posted: Thu Mar 14, 2019 2:25 pm
by cmarsura
No Olivier,
forget about XenDesktop...

What are I asking is about two almost identical servers, both installed with same tsplus version where constantly on one server the "query user" command list connected users with session#nn prefix whereas on the other are listed with the rdp-tcp#nn prefix.

Comparing the two installations I found that the AppControl.ini is different on the [Security] section:
From server where user are session#nn listed:

Code: Select all

[Security]
block_mstsc=no
http=on
httport=80
ip_html_pages=192.168.1.52
httpip=
progressbar=yes
screensaver=no
WebServerRootPath=C:\Program Files (x86)\FlexiCloud\Clients\www
alwaydesktop=no
defaultapppath=
no-default-application=
sessionname=Session

httpsport=443
VisualEffect=2
targetfolder=
targetdirectory=
webexplorer=Explorer
WinXshell=no
AppOnClient=yes

; defaultapppath setting enable to specify one single application for everyone --> if no application has been assigned to users
; If no-default-application is set to yes, then when no application has been assigned the session will -->logoff (instead of starting a default application)
From server where user are rdp-tcp#nn listed:

Code: Select all

[Security]
block_mstsc=no
http=on
httport=80
ip_html_pages=192.168.1.66
httpip=
progressbar=yes
screensaver=no
WebServerRootPath=C:\Program Files (x86)\FlexiCloud\Clients\www
alwaydesktop=no
defaultapppath=
no-default-application=
sessionname=RDP-Tcp
WinXshell=yes
httpsport=443
AppOnClient=yes
targetfolder=
targetdirectory=
webexplorer=Explorer
AppOnClientTitle=My Remote Applications

You can see some different values for following keys:
sessionname
WinXshell
AppOnClientTitle
VisualEffect


and sessionname may be the culprit for the different users prefixes.
What are the value meaning of these different keys ?

Although the servers are in the same version, I think that a server is coming from a tsplus version upgrade whereas the other is coming from a full installation, for example a server contains gs919w32.exe, pdfwriter.exe, Setup-RDPDevendere.exe in the UserDesktop\Files folder whereas in the other these are missing.
I need the servers to be as equal as possible.

Re: Explain session name types

Posted: Fri Mar 15, 2019 11:36 am
by admin
Hello,

https://docs.dl-files.com/tsplus/server-management

You can change the session name to match your preference in AdminTool > Sessions > Session Opening Preference : Session Name Preference

Re: Explain session name types

Posted: Tue Sep 03, 2019 10:15 am
by cmarsura
Not working: changing the session name in AdminTool > Sessions > Session Opening Preference > Session Name Preference and rebooting server does not change anything: session name showed by command "query user" continues to be "rdp-tcp#..."

Carlo