Chapter 14. Server Configuration
Worth noting is that the environment variable TLPROFILE is available when running the scripts in
xstartup.d, for decisions based on what profile will be run.
2. The command tl-run-profile is run. This runs the commands associated with the selected profile, for
example startkde to start a KDE session.
3. When the commands run by tl-run-profile exits, xstartup.default runs the command
tl-run-xlogout.d which runs scripts and commands located in the directory
/opt/thinlinc/etc/xlogout.d. The same information that applies to files in xstartup.d (as
documented in 1) applies to files in this directory.
Note: Scripts in /opt/thinlinc/etc/xstartup.d and /opt/thinlinc/etc/xlogout.d are run on
the agent, with the same rights as the user owning the session.
14.4.4. Session Startup with a Client Supplied Start Program
If the client has requested that the session should be started with a command supplied by the client, VSM
agent will set the environment variable TLCOMMAND to this command. In this case, the profile selection
dialog will be disabled and tl-run-profile will execute the command specified by the client, instead of a
profile command. To disable client supplied start programs, create the file
/opt/thinlinc/etc/xstartup.d/00-no-startprog.sh, containing:
unset TLCOMMAND
14.4.5. Configuring available profiles
The profiles choosable via the tl-select-profile command are configured via Hiveconf, under the
/profiles path. The default configuration includes a number of examples.
The default parameter must be present, and specifies the default profile. The profile chooser will have
this entry selected when it starts, and it may also be used automatically for some error conditions.
The order parameter selects which profiles should be available for selection, and the order in which
they are displayed.
If the show_intro parameter is true, a configurable introduction text will be displayed and requires user
input to proceed with the logon process. The introduction parameter is a text that will be displayed if
introduction is shown, this text block does also supports Pango Markup format styling for a fancier text
layout.
Each profile is defined under a section named /profiles/<profile key>. It has the following fields:
xdg_session
Connects this ThinLinc profile with a system desktop session configuration. The directories
/etc/X11/sessions and /usr/share/xsessions will be searched for a file matching
<xdg_session>.desktop. It is recommended that this field is used for all modern desktop
environments as it sets up important environment variables.
163
Comentarios a estos manuales