I build xdm from source code and install xdm. I could get xdm login screen but, after I input my logoname and passsword. i stiil could not get in system, the pam config of xdm service as:
#%PAM-1.0
auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
auth required pam_env.so
auth substack system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session required pam_namespace.so
session optional pam_gnome_keyring.so auto_start
session include system-auth
I store this config file as /etc/pam.d/xdm
. After i try to login ,the xdm log just as
xdm info (pid 743): Starting xdm 1.1.12
xdm info (pid 743): Starting X server on :0
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: Linux
Current Operating System: Linux redwork 5.14.21-210.current #1 SMP PREEMPT Sun Dec 5 21:23:09 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/com.solus-project.current.5.14.21-210 root=UUID=98726acf-73bf-4b66-b7bf-7b6b60248f61 quiet loglevel=3 splash systemd.show_status=false rw radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 resume=UUID=c6c8b52a-af78-45f9-a620-5b0933d1e6de
Build Date: 05 December 2021 12:27:56PM
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Dec 19 08:20:36 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xdm error (pid 750): Unable to stat() pixmap file
xdm info (pid 750): sourcing //lib/X11/xdm/Xsetup_0
//lib/X11/xdm/Xsetup_0: line 2: xconsole: command not found
(II) AIGLX: Suspending AIGLX clients for VT switch
xdm error (pid 750): pam_authenticate failure: User not known to the underlying authentication module
how could this happen?