Bug 7083 - Describe Session Parameters (tl-session-param)
Summary: Describe Session Parameters (tl-session-param)
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Documentation (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Samuel Mannehed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-24 10:18 CET by Karl Mikaelsson
Modified: 2022-03-18 14:46 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2017-11-24 10:18:26 CET
In our documentation, we explain that the tl-session-param command can access some "session information".

> The tl-session-param command is used to access the
> session information managed by the VSM server. This includes
> information sent by the client, such as if the client has exported
> any local drives, or what language is set on the client side. This
> command is used by for example tl-set-clientlang.sh, documented
> later in this chapter.

As of right now, these parameters are:

> /status = normal
> /client_ip = 10.47.3.163
> /last_connection = 1511511946.92
> /uid = 1253001123
> /session_pid = 25246
> /fbsize_x = 1280
> /fbsize_y = 1024
> /connectionstatus = connected
> /agenthost = 127.0.0.1
> /termserv_hostname = tl01.lab.lkpg.cendio.se
> /sessionstart = 1511511946.92
> /display = 6
> /client_params/
> /client_params/hwaddr = 02:42:3B:49:67:B3
> /client_params/screen_size = 1280 1024
> /client_params/capabilities/
> /client_params/capabilities/localdrives/
> /client_params/capabilities/localdrives/aliases/
> /client_params/capabilities/serial/
> /client_params/capabilities/smartcard/
> /client_params/capabilities/sound/
> /client_params/capabilities/printer/
> /client_params/capabilities/client_lang = en_US.utf8
> /client_params/capabilities/client_platform = Linux
> /client_params/capabilities/client_version = 4.8.0post
> /client_params/capabilities/client_build = 5573



Apart from some obvious duplication (/client_params/screen_size, /fbsize_x, /fbsize_y) we don't have any documentation on what these parameters actually mean - we leave it to the user to piece things together. Most of them are quite self-explanatory but it's easy to miss facts like that the /client_params/screen_size, /fbsize_x and /fbsize_y are not updated throughout the session lifetime - they indicate the resolution the session _started_ at.

Note You need to log in before you can comment on or make changes to this bug.