To disable remote login
Typically this file is located at /etc/X11/xdm/xdm-config or /usr/share/config/kdm/kdmrc on Redhat.
To perform smart card login by means of K Display Manager (KDM)
KDM calls the pam_vas_smartcard module to perform the authentication.
Note: KDM displays the Username: and Password: prompts regardless of the presence or absence of the smart card in the reader. In addition, KDM does not allow you to enter an empty username. While GDM permits an unspecified username, KDM requires one. Failure to provide a username results in a "login failed" message.
The X Display Manager (XDM) is a PAM application providing graphical login. The following sections document how to configure XDM with smart card authentication.
To configure XDM for smart card
vastool smartcard configure pam xdm
XDM is similar to KDM. It displays a Login: and a Password: prompt, neither of which you can modify. Thus the prompt-vassc-user and prompt-vassc-pin options in the [pam_vas] section of vas.conf have no effect.
XDM does not display any additional information from the Authentication Services PAM module. Thus, the prompt-style and show-token-status options also have no effect under XDM.