X fails on boot, succeeds on xdm restart, on /dev/dri/card1 instead of /dev/dri/card0

Do others ever see this, login prompt instead of GUI greeter, on boot? Restarting XDM always works, but shouldn't be needed. # systemctl status xdm ● display-manager.service - X Display Manager Loaded: loaded (/usr/lib/systemd/system/display-manager.service; enabled; preset: enabled) Active: active (running) since Mon 2023-12-11 22:39:54 EST; 3min 9s ago Process: 679 ExecStart=/usr/lib/X11/display-manager start (code=exited, status=0/SUCCESS) Main PID: 700 (kdm) Tasks: 1 (limit: 4915) CPU: 27ms CGroup: /system.slice/display-manager.service └─700 /opt/kde3/bin/kdm Dec 11 22:39:54 ab250 kdm_config[701]: Multiple occurrences of key 'AllowRootLogin' in section [X-*-Core] of /opt/kde3/share/config/kdm/kdmrc Dec 11 22:39:54 ab250 kdm_config[701]: Multiple occurrences of key 'ShowUsers' in section [X-*-Greeter] of /opt/kde3/share/config/kdm/kdmrc Dec 11 22:39:54 ab250 kdm_config[701]: Multiple occurrences of key 'UseTheme' in section [X-*-Greeter] of /opt/kde3/share/config/kdm/kdmrc Dec 11 22:39:54 ab250 kdm_config[701]: Multiple occurrences of key 'AllowNullPasswd' in section [X-:*-Core] of /opt/kde3/share/config/kdm/kdmrc Dec 11 22:39:54 ab250 kdm_config[701]: Multiple occurrences of key 'AllowShutdown' in section [X-:*-Core] of /opt/kde3/share/config/kdm/kdmrc Dec 11 22:39:54 ab250 display-manager[679]: Starting service kdm Dec 11 22:39:54 ab250 systemd[1]: display-manager.service: Can't open PID file /run/displaymanager.pid (yet?) after start: No such file or directory Dec 11 22:39:54 ab250 systemd[1]: Started X Display Manager. Dec 11 22:39:54 ab250 kdm[700]: X server died during startup Dec 11 22:39:54 ab250 kdm[700]: X server for display :0 can't be started, session disabled # systemctl status kdm Unit kdm.service could not be found. # systemctl restart xdm # ls -1 /dev/dr* /dev/drm_dp_aux0 /dev/drm_dp_aux1 /dev/dri: by-path card1 renderD128 # This instance happens to be on Slowroll, but it shows up in Leap and TW too, and not just with KDM3, but also TDM, and IIRC, LightDM and SDDM. KDM doesn't seem to want to get started soon enough. # systemctl cat xdm.service # /usr/lib/systemd/system/display-manager.service [Unit] Description=X Display Manager Conflicts=getty@tty7.service plymouth-quit.service After=ypbind.service gpm.service winbind.service acpid.service Wants=systemd-user-sessions.service systemd-logind.service After=systemd-user-sessions.service systemd-logind.service OnFailure=plymouth-quit.service [Service] Type=forking PIDFile=/run/displaymanager.pid ExecStart=/usr/lib/X11/display-manager start ExecReload=/usr/lib/X11/display-manager reload KillMode=process [Install] WantedBy=graphical.target Alias=xdm.service # Somewhere something to do with /dev/dri/ must be missing from this systemd configuration, but what? X is trying to start before /dev/dri/card0 exists, then /dev/dri/card1 shows up, allowing a restart to succeed. Is there something missing from "after". Note: the multiple occurrences are "normal" here by my making kdmrc maintenance easier: # ls -gG /etc/kde3/config lrwxrwxrwx 1 34 Oct 8 2020 kdm -> ../../../opt/kde3/share/config/kdm # ls -gG /etc/kde3/config/kdm lrwxrwxrwx 1 34 Oct 8 2020 /etc/kde3/config/kdm -> ../../../opt/kde3/share/config/kdm # -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (1)
-
Felix Miata