Configuring KDM

KDM's configuration files are the same as those used by XDM, except that some KDM configurations place those files in new locations and under new names. Specifically, kde-config may replace xdm-config, and it may reside in /opt/kde/bin/ or /usr/bin. Xaccess and Xservers may reside in /opt/kde/share/config/kdm, /etc/kde/kdm, /etc/kde3/kdm, or some other directory. If you can't find these files, try using your package manager's tools to locate the package from which KDM was installed and then review the package contents. For instance, on a Red Hat system, you might type the following commands:

$ whereis kdm kdm: /usr/bin/kdm


In addition to these configuration files, which you can adjust much as you would XDM's configuration files, KDM provides KDM-specific configuration files. The most important of these files is kdmrc, which may be stored in /etc/kde/kdm, /etc/kde3/kdm, /etc/X11/xdm, or some other location. This file points to other configuration files—possibly including, directly or via links, XDM configuration files. The file also includes a section called [Xdmcp] in which various XDMCP options are set. Be sure that the following lines exist in this file:

Enable=true Port=177

This file also includes a line called SessionTypes in the [X-*-Greeter] section. This line sets the names of the desktop environments or window managers that XDMCP can launch. This file doesn't define what to do with each session type, though; that task is handled by the Xsession script, which may be included with the KDM package or with another package.

0 0

Post a comment