On Fri, Nov 09, 2007 at 01:47:36AM -0500, Jim Kronebusch wrote:
> You put the file in /opt/ltsp/ppc/etc and name it
> XF86Config.yourcustom (or whatever you want). You can put 100 of
> these in there. Then in lts.conf you call out custom options to
> each machine, you can use the machine name or Mac address like so:
>
> [00:03:93:92:88:98]
> XSERVER = ati
> XF86CONFIG_FILE = XF86Config.yourcustom
Too much magic.
I'm not near the ltsp setup now, but I can ssh into the ltsp server.
It would really be helpful to understand more of the mechanics of
this.
The Edubuntu handbook says:
The lts.conf file will be parsed, and all of the parameters in
that file that pertain to this thin client will be set as
environment variables for the S20ltsp-client script to use.
Parsed by what? I couldn't find the script that parses the
lts.conf file (maybe it's a binary).
I don't have a ltsp-client, but a ltsp-client-setup and the only thing
it does is:
configure_x() {
# If the user has specified an xorg.conf file, then copy it over.
xserver_config="/etc/X11/xorg.conf"
[ -n "$X_CONF" ] && [ -f "$X_CONF" ] && \
cp "$X_CONF" "$xserver_config"
}
Does the parsing of XF86CONFIG_FILE from lts.conf set X_CONF (and
prefixes /etc/ to it)?
And where are things like X_HORZSYNC and X_VERTREFRESH used? In the
tool that builds xorg.conf? Which tool is that? When I goggle those
settings I see them used almost always with ltsp.
/etc/default/ltsp-client-setup has:
if [ -n "$(which xdebconfigurator)" ]; then # xdebconfigurator is installed
bindfiles="$bindfiles /etc/X11/xorg.conf"
else
# If not, copy the entire X config directories to get reconfigure
# working. This uses more memory on the client than the
# xdebconfigurator alternative.
copy_dirs="$copy_dirs /etc/X11 /var/lib/x11"
fi
But I don't have xdebconfigurator. In this case is it using
dpkg-reconfigure?
BTW -- if I have 40 machines that need the same settings in lts.conf
is there a way to group them or maybe do regex matches on the MAC or
hostname?
--
Bill Moseley
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_____________________________________________________________________
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