Dear LTSP users,
lately we experienced some performance problems and lags during input
e.g. with matlab and other programs. Once the font server was rebooted
and suddenly all sessions on thin clients froze and continued working
when the font server was up again. This indicates that the current
configuration only uses the fontserver and NOT the local fonts that
come with the LTSP. This probably causes the performance problems and
stops all sessions if the xfs is not reachable. Therefor local fonts
should be included.
Unfortunately I was not able to understand a certain part of the
/usr/share/ltsp/screen-x-common script. Especially: What is "X_ARGS"?
get_xfs_settings() {
# set default font path
# use XFS_SERVER if defined, otherwise
# attempt to use servers passed on commandline
if boolean_is_true "$USE_XFS" ; then
if [ -z "$XFS_SERVER" ]; then
# attempt to use other servers
for SRV in $@ ; do
XFS_SERVER="$XFS_SERVER $SRV"
done
fi
for SRV in $XFS_SERVER ; do
xfs_line="tcp/${SRV}:7100"
if [ -z "$(echo $X_ARGS | grep $xfs_line)" ]; then
if nc -z -w 5 $SRV 7100 >/dev/null ; then
X_ARGS="$X_ARGS -fp
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,$xfs_line"
#those are paths to local fonts
fi
fi
done
fi
}
We included local fonts here and the Fontserver (xfs) in lts.conf. I
think this is not a proper way to use local fonts. How does the
automatic X-configuration work? How can we instruct X to use the local
fonts? Without adding the paths to fonts xset -q returns:
Font Path:
tcp:/10.153.106.228,built-ins
After adding the paths xset -q:
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,tcp:/10.153.106.228,built-ins
This might increase performance for setups with XFS.
Yours sincerely
Peter
------------------------------------------------------------------------------
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net