Chapter 13. Commands on the ThinLinc Server
In this chapter, we will describe the commands shipped as part of the ThinLinc server that are meant for
the common user.
Commands in /opt/thinlinc/bin
tl-best-winserver server [server ...]
The tl-best-winserver command asks the Windows Terminal Servers listed on its commandline for
their respective load status. It then prints the name of the least loaded terminal server on standard
out, and exits. If the file .thinlinc/last-winserver exists in the user’s home directory, the
server listed there will be checked for sessions owned by the user. If such a session exists,
tl-best-winserver will print the name of that terminal server regardless of its load, since the user
should get his/her old session when logging in again. The information that this script prints out is
used by tl-run-rdesktop when it chooses which Windows Terminal Server to connect to.
tl-session-param [options ] parameter
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.
tl-config options
The tl-config command is used to access configuration parameters used by the ThinLinc system. It
is also used to set parameters from scripts, and can be used instead of an editor when some
parameter needs to be changed. tl-config uses hivetool, part of the Hiveconf system. See Chapter 15
for more information about Hiveconf.
tl-desktop-restore
When a user’s Gnome or KDE desktop needs to be reset to default, the command
tl-desktop-restore can be run. This will move the settings directories for KDE and Gnome to a
backup directory named .old-thinlinc-desktop in the user’s home directory, which will make
both Gnome and KDE revert to the default settings.
137
Comentarios a estos manuales