Hi,
I have just installed Fedora 32 Workstation on a KVM/Qemu virtual maschine.
I need to use a setup with central user-managerment via LDAP accessd by SSSD which works fine for all my other Linux-Systems (mostly Gentoo).
On Fedora 32 Workstation I am facing the issue, that I can login perfectls with the SSSH/LDAP accounts via SSH or vie the console login prompt, but GDM/GNOME login fails (it works for my local fallback user, it fails only for the SSSD/LDAP accounts).
From my perspective the main difference between local and SSSD/LDAP-accounts is the numerical user-id which starts at 1000001.
For the system setup i did the following steps:
-
set root-pasword
sudo su -
passwd -
sshd
systemctl enable sshd.service
systemctl start sshd.service -
ssh PubkeyAuthentication for root
mkdir .ssh
chmod 700 .ssh
chmod 600 .ssh/authorized_keys -
Hostname
hostnamectl set-hostname fedora-32-workstation.my.domain
reboot -
Update
dnf update
reboot -
SSSD
copy my /etc/sssd/sssd.config to the system
dnf install sssd-dbus
authselect select sssd
authselect enable-feature with-mkhomedir
authselect enable-feature with-pamaccess
reboot
[sssd]
config_file_version = 2
services = nss, pam, ifp
#services = nss, pam
domains = my.domain
use_fully_qualified_names = true
default_domain_suffix = my.domain
[nss]
filter_users = root,bin,daemon,wheel,ldap,named,avahi,haldaemon,dbus,radiusd,news,nscd,nobody,apache,admin
override_shell = /usr/bin/bash
[pam]
[ifp]
[domain/my.domain]
access_provider = ldap
auth_provider = ldap
cache_credentials = true
enumerate = true
id_provider = ldap
LDAP-Access
The problem seems to somewhere here:
Apr 29 15:20:23 fedora-32-workstation.my.domain /usr/libexec/gdm-wayland-session[2702]: dbus-daemon[2702]: [session uid=1000003 pid=2702] Activated service âorg.freedesktop.systemd1â failed: Process org.freedesktop.systemd1 exited with status 1
I have no Idea whats going on here since login via SSH an Console works.
Please find below the whole log:
Apr 29 15:20:18 fedora-32-workstation.my.domain audit[2672]: USER_AUTH pid=2672 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:authentication grantors=pam_usertype,pam_usertype,pam_sss,pam_gnome_keyring acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty1 res=successâ
Apr 29 15:20:18 fedora-32-workstation.my.domain gdm-password][2672]: pam_sss(gdm-password:auth): authentication success; logname= uid=0 euid=0 tty=/dev/tty1 ruser= rhost= user=ldapuser@my.domain
Apr 29 15:20:18 fedora-32-workstation.my.domain gdm-password][2672]: gkr-pam: unable to locate daemon control file
Apr 29 15:20:18 fedora-32-workstation.my.domain gdm-password][2672]: gkr-pam: stashed password to try later in open session
Apr 29 15:20:18 fedora-32-workstation.my.domain audit[2672]: USER_ACCT pid=2672 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:accounting grantors=pam_access,pam_unix,pam_sss,pam_permit acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty1 res=successâ
Apr 29 15:20:19 fedora-32-workstation.my.domain audit[2672]: CRED_ACQ pid=2672 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:setcred grantors=pam_localuser,pam_sss,pam_gnome_keyring acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty1 res=successâ
Apr 29 15:20:19 fedora-32-workstation.my.domain audit[2672]: USER_ROLE_CHANGE pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âpam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty2 res=successâ
Apr 29 15:20:19 fedora-32-workstation.my.domain gdm-password][2672]: pam_systemd(gdm-password:session): Failed to get user record: Das Argument ist ungĂŒltig
Apr 29 15:20:19 fedora-32-workstation.my.domain gdm-password][2672]: pam_unix(gdm-password:session): session opened for user ldapuser@my.domain by (uid=0)
Apr 29 15:20:19 fedora-32-workstation.my.domain gdm-password][2672]: gkr-pam: unable to locate daemon control file
Apr 29 15:20:19 fedora-32-workstation.my.domain gdm-password][2672]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Apr 29 15:20:19 fedora-32-workstation.my.domain audit[2672]: USER_START pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_unix,pam_sss,pam_gnome_keyring,pam_umask acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty2 res=successâ
Apr 29 15:20:19 fedora-32-workstation.my.domain audit[2672]: USER_LOGIN pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âuid=1000003 exe=â/usr/libexec/gdm-session-workerâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:22 fedora-32-workstation.my.domain systemd[1]: systemd-localed.service: Succeeded.
Apr 29 15:20:22 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=systemd-localed comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:22 fedora-32-workstation.my.domain systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 29 15:20:22 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=systemd-hostnamed comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:22 fedora-32-workstation.my.domain audit: BPF prog-id=50 op=UNLOAD
Apr 29 15:20:22 fedora-32-workstation.my.domain audit: BPF prog-id=49 op=UNLOAD
Apr 29 15:20:22 fedora-32-workstation.my.domain audit: BPF prog-id=48 op=UNLOAD
Apr 29 15:20:22 fedora-32-workstation.my.domain audit: BPF prog-id=47 op=UNLOAD
Apr 29 15:20:22 fedora-32-workstation.my.domain audit: BPF prog-id=46 op=UNLOAD
Apr 29 15:20:22 fedora-32-workstation.my.domain systemd[1]: fprintd.service: Succeeded.
Apr 29 15:20:22 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=fprintd comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain kernel: rfkill: input handler enabled
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: closed vdagent virtio channel
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain /usr/libexec/gdm-wayland-session[2702]: dbus-daemon[2702]: [session uid=1000003 pid=2702] Activating service name=âorg.freedesktop.systemd1â requested by â:1.0â (uid=1000003 pid=2698 comm=â/usr/libexec/gdm-wayland-session /usr/bin/gnome-seâ label=âunconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023â)
Apr 29 15:20:23 fedora-32-workstation.my.domain kernel: rfkill: input handler disabled
Apr 29 15:20:23 fedora-32-workstation.my.domain kernel: input: spice vdagent tablet as /devices/virtual/input/input11
Apr 29 15:20:23 fedora-32-workstation.my.domain audit[2672]: USER_END pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_unix,pam_sss,pam_gnome_keyring,pam_umask acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty2 res=successâ
Apr 29 15:20:23 fedora-32-workstation.my.domain audit[2672]: USER_LOGOUT pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âuid=1000003 exe=â/usr/libexec/gdm-session-workerâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:23 fedora-32-workstation.my.domain audit[2672]: CRED_DISP pid=2672 uid=0 auid=1000003 ses=8 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg=âop=PAM:setcred grantors=pam_localuser,pam_sss,pam_gnome_keyring acct=âldapuser@my.domainâ exe=â/usr/libexec/gdm-session-workerâ hostname=fedora-32-workstation.my.domain addr=? terminal=/dev/tty2 res=successâ
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2732]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2732]: > Warning: Unsupported maximum keycode 569, clipping.
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2732]: > X11 cannot support keycodes above 255.
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2732]: > Internal error: Could not resolve keysym Invalid
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2732]: Errors from xkbcomp are not fatal to the X server
Apr 29 15:20:23 fedora-32-workstation.my.domain gsd-color[2484]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Apr 29 15:20:23 fedora-32-workstation.my.domain /usr/libexec/gdm-wayland-session[2702]: dbus-daemon[2702]: [session uid=1000003 pid=2702] Activated service âorg.freedesktop.systemd1â failed: Process org.freedesktop.systemd1 exited with status 1
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain gnome-shell[2413]: Could not release device (13,70): GDBus.Error:org.freedesktop.login1.DeviceNotTaken: Device not taken
Apr 29 15:20:23 fedora-32-workstation.my.domain /usr/libexec/gdm-wayland-session[2698]: Unable to register display with display manager
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Error getting active session: No data available
Apr 29 15:20:23 fedora-32-workstation.my.domain gsd-color[2484]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Apr 29 15:20:23 fedora-32-workstation.my.domain gdm-password][2672]: pam_unix(gdm-password:session): session closed for user ldapuser@my.domain
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: opening vdagent virtio channel
Apr 29 15:20:23 fedora-32-workstation.my.domain gdm[1009]: GdmDisplay: Session never registered, failing
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Set max clipboard: 104857600
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Received Graphics Device Info:
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:01.0/drm/card0
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Found card â/sys/devices/pci0000:00/0000:00:01.0/drm/card0â with Vendor ID 0x100, Device ID 0x1b36
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagentd[1282]: Set max clipboard: 104857600
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Couldnât find an XRandr output for the specified device
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: No guest output map, using output index as display id
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Received Graphics Device Info:
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Device /dev/dri/card0 is at /sys/devices/pci0000:00/0000:00:01.0/drm/card0
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Found card â/sys/devices/pci0000:00/0000:00:01.0/drm/card0â with Vendor ID 0x100, Device ID 0x1b36
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: Couldnât find an XRandr output for the specified device
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: channel_id: 0 monitor_id: 0 device_address: pci/0000/01.0, device_display_id: 0 xrandr output ID NOT FOUND
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: No guest output map, using output index as display id
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent_audio_record_sync mute=no nchannels=2
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent-audio: (capture-left) 65535 (%99.00)
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent-audio: (capture-right) 65535 (%99.00)
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent_audio_playback_sync mute=no nchannels=2
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent-audio: (playback-left) 65535 (%99.00)
Apr 29 15:20:23 fedora-32-workstation.my.domain spice-vdagent[2496]: vdagent-audio: (playback-right) 65535 (%99.00)
Apr 29 15:20:42 fedora-32-workstation.my.domain systemd[1]: libvirtd.service: Succeeded.
Apr 29 15:20:42 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=libvirtd comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:52 fedora-32-workstation.my.domain geoclue[2465]: Service not used for 60 seconds. Shutting downâŠ
Apr 29 15:20:52 fedora-32-workstation.my.domain systemd[1]: geoclue.service: Succeeded.
Apr 29 15:20:52 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=geoclue comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ
Apr 29 15:20:53 fedora-32-workstation.my.domain realmd[2594]: quitting realmd service after timeout
Apr 29 15:20:53 fedora-32-workstation.my.domain realmd[2594]: stopping service
Apr 29 15:20:53 fedora-32-workstation.my.domain systemd[1]: realmd.service: Succeeded.
Apr 29 15:20:53 fedora-32-workstation.my.domain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=âunit=realmd comm=âsystemdâ exe=â/usr/lib/systemd/systemdâ hostname=? addr=? terminal=? res=successâ