
Chapter 14. Server Configuration
Figure 14-3. The ThinLinc profiles and xstartup.default
As described in Section 14.4.1, /opt/thinlinc/etc/xstartup.default is executed if there is no
~/.thinlinc/xstartup for the user. This file, in its unmodified version as delivered with ThinLinc,
executes three steps, as outlined in Figure 14-3.
1. The command tl-run-xstartup.d is executed, which causes all files in
/opt/thinlinc/etc/xstartup.d/ to be executed. Files that have filenames ending with .sh
will be sourced as shell scripts. Other files are executed normally. This way, environment variables
that persist down to the session command can be set in
*
.sh files.
If a specific execution order is needed for the scripts in the xstartup.d/ directory, let the names of
the scripts begin with numbers, where a script with a lower number will be executed before one with
a higher number. For example 10setuphomedir will be executed before 20copyfiles.
By default, the script /opt/thinlinc/etc/xstartup.d/20-tl-select-profile.sh will invoke
tl-select-profile, to let the user choose among the possible profiles. See Section 14.4.5 for
documentation on how to setup profiles. If only one profile is available, tl-select-profile will select it
without asking the user. The environment variable TLPROFILE is set to the name of the selected
profile.
162
Comentarios a estos manuales