This document describes how i made a web terminal with Linux Terminal
Server Project 2.09pre3 using OpenBSD as the server. If i can find time to
do so, i may use what i learned to modify the LTSP install scripts to
support OpenBSD. This document contains data customized to my situation,
such as the DNS server IPs, client name, and X server info and thus should
not be followed directly. These directions also aren't incredibly precise,
but if demand warrants i can clean them up some.
Download packages:
lts_core-2.09pre3.tgz
lts_kernel-2.09pre3.tgz
lts_localapps-2.09pre3.tgz
lts_local_netscape-2.09pre3.tgz
lts_x_core-2.09pre3.tgz
lts_x_fonts-2.09pre3.tgz
For the core
package:
unpack
Modify the IP_* section in CONFIG
echo "Red
Hat Linux release 6.2" > /etc/redhat-release
./install.sh
Add to
/etc/exports:
/opt/ltsp/i386 -ro -maproot=root
ws001.lib.drake.edu
#/var/opt/ltsp/swapfiles -maproot=root
ws001
#/home -maproot=root ws001
Uncomment
the tftp line in /etc/inetd.conf
Enable nfs_server, portmap in
/etc/rc.conf
For each of the packages kernel, x_core, x_fonts,
localapps,
local_netscape:
Unpack
./install.sh
rm /etc/redhat-release
Edit /opt/ltsp/i386/etc/lts.conf, making the following additions
or
changes:
[Default]
DNS_SERVER = 10.3.0.5
DNS_SERVER_2 = 10.3.0.6
LOCAL_APPS = Y
LOCAL_WM = Y
[ws001]
XSERVER
= i810
MODULE_01 = agpgart
X_MOUSE_BUTTONS = 2
X_MODE_0 = 800x600
Edit
rc.local:
After the DNS_SERVER lines, add these lines:
for i
in 2 3 4 5 6 7 8 9 10; do
DNS_SERVER=`get_cfg
DNS_SERVER_${i}`
if [ -n "${DNS_SERVER}" ]; then
echo "nameserver ${DNS_SERVER}" >>/tmp/resolv.conf
fi
done
Comment out these sections:
Mounting additional
filesystems
the next LOCAL_APPS section (it does mkdir
/tmp/var/nis)
Change the start_ws build to (all on one line):
echo "/usr/X11R6/bin/xinit /usr/local/netscape/netscape
-geometry =800x600+0+0 -- /usr/X11R6/bin/${XBINARY} -ac"
>/tmp/start_ws
Comment out the Local app daemon stuff section
Copy an
xinit to /opt/ltsp/i386/usr/X11R6/bin/. I think i grabbed the
xinit from
some version of Red Hat.
Copy Netscape and .netscape/ into
/opt/ltsp/i386/. The Netscape and
.netscape/ should be the files that
Navigator would create if it were
run on a read-write filesystem. Inside of
.netscape/ create a symlink
called "l" (lowercase L) that points to "/tmp"
which will be used in
the next step.
Now we need to edit the Netscape
binary so that it doesn't complain
about its lock file on startup. With a
hex editor, edit
/opt/ltsp/i386/usr/local/netscape/netscape. Change
"netscape/lock" to
"netscape/l/ock" and "%s/lock" with "%s/l/ck".
Tell
your system administrator to make the necessary changes on the DHCP server,
and everything should be set!
------------------------------------------------------------------------
Dan Ramaley
Digital Media Library Specialist
515 271-1934
Cowles Library 140, Drake University
_____________________________________________________________________
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.openprojects.net