Assuming that the required software is installed, we need to configure NFS to mount the fonts and operating system for our thin client workstations, configure XFree86 to provide remote display access, and configure our Xsession to deliver our choice of window manager to our client systems.
In order to load the configuration information, base system fonts, and OS image from the host machine using NFS, you need to provide read access to the directory or directories where that data is located. To do this, you will need to edit the /etc/exports file.
/etc/exports is an access control list which provides an entry for any directory that can be exported to an NFS client using the exportfs command. Configuring /etc/exports is easy.
To provide read access to any system which requests resources in /home/ncbridge, you would enter the following line into /etc/exports:
For better security, you can also specify access to individual client systems. To do this, simply enter:
/home/ncbridge client1.yourdomain.com (ro) /home/ncbridge client2.yourdomain.com (ro) /home/ncbridge client3.yourdomain.com (ro)
/etc/exports also provides facilities such as globbing for grouping like-named groups together. For example, to provide read-only access to similarly named clients:
/home/ncbridge client*.yourdomain.com (ro)
Xaccess is a file which XDM reads to determine which X Terminals can login and access software running on the host machine. An X Terminal sends a request to XDM which in turn runs an Xsetup script which sets up the login screen and displays the xlogin widget which handles authentication, and on successful authentication sets up a session between client applications on a host machine and an X Terminal.
The only configuration changes typically needed here involve setting up the access control to restrict global access to the xserver, and to add individual authorized hosts by IP address. Assuming that you are allowing multiple clients to log in, your configuration should look something like this:
#* # Allow any X server can get a login window 220.127.116.11 # Only allow specific systems to login. 18.104.22.168 22.214.171.124 126.96.36.199 188.8.131.52 !* # Prevent all other systems from using XDM
If you are not running terminals from a DNS server and/or are not allocating IP addresses using DHCP (as we are not), you will need to add an entry for each X Terminal in /etc/hosts on the Linux host machine.
184.108.40.206 # One system per line with optional 220.127.116.11 # parameters for lprhost and loghost 18.104.22.168 22.214.171.124 126.96.36.199
The X Font Server (XFS) provides system fonts to X display servers. It is the only way to provide anti-aliased fonts such as freetype to most X Terminals.
On most Linux systems, xfs is started from a script in /etc/init.d, and/or on startup from one or more scripts, /etc/rc.d/init.d or in one of the run-level initialization scripts in /etc/rc[0-6].d. The most important thing to verify is that the X Terminal and the X Host are broadcasting and listening on the same port. Some X Terminals use the default XFS port, 7100, for other services, so XFS can be run on an unassigned port, such as 7102, in order to avoid a conflict.
The Xsession file controls much of the information regarding a particular host machines X environment. Examples of things that might be set in this file include logging, choosing a desktop manager to run, and which keyboard mappings to use. These settings are highly environment specific, and for that reason will not be addressed in this document. Suffice it to say that you will want to decide whether to implement user-level or global preferences for the desktop environment, and that those configuration changes must be made in this file and in a .xsession file in the user's home directory.
Закладки на сайте
Проследить за страницей
Created 1996-2021 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру