296 lines
5.4 KiB
HTML
296 lines
5.4 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Advanced Configuration Options</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
|
"><LINK
|
|
REL="HOME"
|
|
TITLE="XDM and X Terminal mini-HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Configuring XDM"
|
|
HREF="config.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Common Configurations"
|
|
HREF="common-configs.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>XDM and X Terminal mini-HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="config.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="common-configs.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="XDM-ADVCONFIG">5. Advanced Configuration Options</H1
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="ADV-CONFIGSETS">5.1. Configuration Sets</H2
|
|
><P
|
|
> The xdm-config file provides a rich set of options, when it comes
|
|
to defined scripts and other configuration files. In many cases,
|
|
the defaults provided with your distribution should be fine, but
|
|
for those of you who want more ...
|
|
</P
|
|
><P
|
|
> The names of the startup scripts and configuration files used by
|
|
XDM are determined by a series of statements in the top-level
|
|
xdm-config file. This permits you to configure a different set
|
|
of files for different X servers and X terminals, with different
|
|
abilities.
|
|
</P
|
|
><P
|
|
> For example, say you are using XDM to manage your local display, but
|
|
also want it to accept queries from other X terminals on the network.
|
|
It is possible to specify a different Xresources file for each of these
|
|
cases, by using the following 2 lines in xdm-config:
|
|
<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> DisplayManager._0.resources /etc/X11/xdm/Xres_0
|
|
DisplayManager*resources /etc/X11/xdm/Xresources
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
This will use Xres_0 for the local display (_0 is the XDM way of
|
|
saying :0) and Xresources for everything else (the '*').
|
|
</P
|
|
><P
|
|
> Similarly, if you wanted a particular resource file for a specific
|
|
host, you would use an entry like the following:
|
|
<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> DisplayManager.host_0.resources /etc/X11/xdm/Xres_host_0
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
><P
|
|
> Note that XDM configuration files use the terminology host_0, where you
|
|
would normally use host:0, to designate 'display 0 on host'.
|
|
</P
|
|
><P
|
|
> If you look over your default xdm-config file, you will probably
|
|
find that it has been setup so that your local X server has different
|
|
files to the remote ones anyway, as different things must be performed
|
|
on startup and reset of the server. My Debian file has the following
|
|
for local servers:
|
|
<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> DisplayManager._0.resources: /etc/X11/xdm/Xresources_0
|
|
DisplayManager._0.setup: /etc/X11/xdm/Xsetup_0
|
|
DisplayManager._0.startup: /etc/X11/xdm/Xstartup_0
|
|
DisplayManager._0.reset: /etc/X11/xdm/Xreset_0
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
and the following for remote servers:
|
|
<TABLE
|
|
BORDER="1"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
> DisplayManager*resources: /etc/X11/xdm/Xresources
|
|
DisplayManager*setup: /etc/X11/xdm/Xsetup
|
|
DisplayManager*startup: /etc/X11/xdm/Xstartup
|
|
DisplayManager*reset: /etc/X11/xdm/Xreset
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="SECT2"
|
|
><H2
|
|
CLASS="SECT2"
|
|
><A
|
|
NAME="X-RESOURCES">5.2. X Resources</H2
|
|
><P
|
|
> This document has only briefly touched on the available X resources, but
|
|
I should mention that it is possible to fully configure XDM via the Xresources
|
|
file.
|
|
</P
|
|
><P
|
|
> The following may all be changed if required:
|
|
<P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
> Fonts, login prompt sizes
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> Background graphics
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> Window Titles, etc
|
|
</P
|
|
></LI
|
|
></UL
|
|
>
|
|
</P
|
|
><P
|
|
> There is a more detailed discussion of XDM resources, on Richard Kaszeta's web site
|
|
(see <A
|
|
HREF="resources.html"
|
|
>Section 7</A
|
|
>)
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="config.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="common-configs.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Configuring XDM</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Common Configurations</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |