Chapter 14. Server Configuration
/profiles/windows_desktop
name=<span foreground="blue" size="x-large">Windows Desktop</span>
description=This is a standard <b>Windows</b> desktop.
cmdline=${TLPREFIX}/bin/tl-run-windesk -G windows_desktop
14.4.6. Configuring different Linux Desktops based on the selected
profile
Please read Chapter 17 for documentation on how to configure different desktops with for example
different menu and desktop icons depending on what profile were selected.
14.4.7. Speeding up Session Startup
If a user has a complicated session startup with many time-consuming operations, it can take quite a
while before the user’s desktop environment (for example KDE or Gnome) begins to start. Prime
examples of when this happens is when mounting local drives, or when mounting some shared
directories from a Netware server.
One way of speeding up this process is to execute some of the operations in the background. Most often,
there is no need to mount the local drives before starting KDE, because it takes longer time to start KDE
than it takes to mount the local drives. The two operations can easily run in parallel. The same goes for
the example of mounting shared directories.
The easiest way to accomplish this is to add an & sign after commands run by scripts in
/opt/thinlinc/etc/xstartup.d.
Make sure that commands that must be run before starting the window environment are run sequentially.
For example, configuring desktops via TLDC must be done before starting KDE.
14.4.8. Configuring the language environment on the server based on the
client language
The ThinLinc client reports the language settings on the client side when requesting a session. This can
be used to configure the language on the server side. The idea is that in an environment where several
languages are in use, a user could automatically get their preferred language based on what their client
computer is configured for.
To activate this, a symlink needs to be created:
# ln -s /opt/thinlinc/libexec/tl-set-clientlang.sh /opt/thinlinc/etc/xstartup.d/00-tl-set-clientlang.sh
Also, make sure no other parts of the startup environment are trying to set the LANG variable. For
example, on Fedora, the files /etc/profile.d/lang.sh and /etc/profile/lang.csh will
override the LANG variable set by tl-set-clientlang.sh.
165
Komentáře k této Příručce