
[exports]
The /etc/exports file controls what directories will
be available for workstations to mount.

The following directories are typically exported:

${B}/opt/ltsp/i386${N}          For x86 based workstations, this is the
                        directory that is mounted as the workstations
                        root filesystem.  This should be exported read-only.

${B}/var/opt/ltsp/swapfiles${N} This is where the swapfiles are stored, if you
                        have Swap over NFS enabled.  This MUST be exported
                        read-write.

${B}/home${N}                   When local apps are enabled, this directory
                        will be mounted, giving the applications
                        access to the users home directory.  Usually
                        exported read-write.
#-------------------------------------------------------------------------------
[Xaccess]
The ${B}Xaccess${N} file is the Access control file for
XDMCP connections.  That is, it controls whether remote
computers can connect up and get a graphical login prompt
from the server.

The only change that needs to be made to this file is
the un-commenting of the wild-card record that allows
any host to get a login prompt.


#-------------------------------------------------------------------------------
[Xservers]
The ${B}Xservers${N} file determines whether a GUI login
will appear on the server console.  Normally, when you enable
the Display manager (XDM,GDM,KDM), that will also enable
the graphical login on the server.  This is controlled by
an entry in the Xservers file.  If the entry for 
display :0 exists, then an X server will be started for the
console.  If it is commented out, then the X server will
NOT be started for the console.  You can still run X on
the console by running ${B}startx${N}.

#-------------------------------------------------------------------------------
[Xsetup_workstation]
The ${B}Xsetup_workstation${N} script is a new script
that will setup the screen, before the graphical login is
displayed. It will set the background color, and then
display the LTSP logo in the upper left of the screen.


#-------------------------------------------------------------------------------
[dhcpd.conf]
This is a sample file for configuring the DHCP daemon.
It will be placed in the /etc directory, and you can
copy it to ${B}/etc/dhcpd.conf${N} and then make some
changes to match your local environment.

#-------------------------------------------------------------------------------
[kdmrc]
If you are running the KDE Display Manager (KDM), this
file will control many aspects of the behaviour of KDM.

The only item we are concerned with is whether it will
listen for requests from remote workstations.  This is 
controlled by the ${B}Enable${N} entry in the ${B}Xdmcp${N}
section.

#-------------------------------------------------------------------------------
[gdm.conf]
If you are running the Gnome Display Manager (GDM), this
file will control many aspects of the behaviour of GDM.

The only item we are concerned with is whether it will
listen for requests from remote workstations.  This is 
controlled by the ${B}Enable${N} entry in the ${B}xdmcp${N}
section.

#-------------------------------------------------------------------------------
[gdm_Init_Default]
The Default file in the /etc/X11/gdm/Init directory is
executed by GDM, before the login prompt is displayed.
Typically, the background color is setup, and a logo
of some sort is displayed.

We create a symbolic link to the xdm/Xsetup_workstation
script, so the background will be the same, whether you
use XDM or GDM.

#-------------------------------------------------------------------------------
[inetd_bootp]
If you are using BOOTP for serving IP addresses to 
workstations, you need to enable the bootp daemon (bootpd)
in the /etc/inetd.conf file.

#-------------------------------------------------------------------------------
[hosts.allow]
If you are using TCPWRAPPERS as a means of limiting access
to the server, then the ${B}/etc/hosts.allow${N} file will need
a couple of entries, to allow the workstations to get at some
of the services that are needed.

here is an example of the entries that we add:

    bootpd:    0.0.0.0
    in.tftpd:  192.168.0.
    portmap:   192.168.0.

#-------------------------------------------------------------------------------
[inittab]
In order for the server to run the display manager, the
server should be running in runlevel 5.  That is the runlevel
that will cause the /etc/X11/prefdm script to run.

The default runlevel is controlled by the ${B}initdefault${N}
entry.  We change the following:

    id:3:initdefault:

To:

    id:5:initdefault:

#-------------------------------------------------------------------------------
[ltsp.gif]
The ltsp.gif file is the LTSP.org logo that displays in
the upper left corner of the screen, when the login dialog
box is displayed.

#-------------------------------------------------------------------------------
[nfs]
In order to allow the workstation to mount its root filesystem
from the server, NFS needs to be enabled.  This is done
by creating a symbolic link called S60nfs, in the rc5.d
directory.

#-------------------------------------------------------------------------------
[portmap]
Aside from NFS, the server also needs to have the portmapper
enabled, so that the workstation can send a query to the
server, and get the RPC port number for the NFS and Mountd
services.

This is enabled by creating a symbolic link called S60nfs,
in the rc5.d directory.

#-------------------------------------------------------------------------------
[syslogd]
The workstation needs a way to log error messages and event
messages, so we use the syslog mechanism.  The server needs
to be configured to accept the messages from remote workstations.

#-------------------------------------------------------------------------------
[xdm-config]
This is the main configuration file for the XDM display manager.
This will control which scripts get executed for which clients.

Also, there is an entry in this file that will restrict or
allow XDM to listen on the network for remote XDMCP requests.

#-------------------------------------------------------------------------------
[kdm-config]
This is the main configuration file for the KDM display manager.
This will control which scripts get executed for which clients.

Also, there is an entry in this file that will restrict or
allow KDM to listen on the network for remote XDMCP requests.

#-------------------------------------------------------------------------------
[gdm-config]
This is the main configuration file for the GDM display manager.
This will control which scripts get executed for which clients.

Also, there is an entry in this file that will restrict or
allow GDM to listen on the network for remote XDMCP requests.

#-------------------------------------------------------------------------------
[wdm-config]
This is the main configuration file for the WDM display manager.
This will control which scripts get executed for which clients.

Also, there is an entry in this file that will restrict or
allow WDM to listen on the network for remote XDMCP requests.

#-------------------------------------------------------------------------------
[xinetd_tftpd]
The TFTP daemon needs to be enabled so that the workstation
can request the kernel.

#-------------------------------------------------------------------------------
[inetd_tftpd]
The tftp service needs to be enabled in the /etc/inetd.conf file.

