[TW] SDDM gobbling CPU makes it difficult to login; turning off autologin broke greeter

Felix Miata <[email protected]> Sun, 6 Jun 2021 07:01:58 -0400
Newsgroups gmane.linux.suse.kde
Organization less than infinite
Message-ID <[email protected]>
On Core2Duo host p5bse I just did an otherwise successful dup to 20210604 on one
of my rare installations that includes SDDM. Response to mouse and keyboard at
sddm greeter is minimal, very highly delayed, if any response at all. Watching top
in remote login shows SDDM using CPU varying between 25% and 89% or more. I did
manage to login, but it takes considerable time to do. Switching themes didn't
help. Am I alone in this?

Attachment is grep of sddm from journalctl -b.

Trying to switch back and forth between autologin or not, as when trying to
disable autologin to enable a troubleshooting a broken X[1], is proving very
difficult. It seems once autologin has been enabled, SDDM remembers even after
editing /etc/sddm.conf.d/ to remove the autologin username from the User= line,
and restarting xdm with systemctl more than once. I gave up and rebooted to try to
get back to no autologin mode. The result of that initially was a black screen
instead of a greeter, and sddm not showing in top. I got the greeter back, but
it's still unresponsive and using excessive CPU.

[1] http://bugzilla.opensuse.org/show_bug.cgi?id=1186903
-- 
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
out.txt (text/plain, 9.2 KB)
Jun 06 05:49:10 p5bse sddm[618]: Initializing...
Jun 06 05:49:10 p5bse sddm[618]: Starting...
Jun 06 05:49:10 p5bse sddm[618]: Logind interface found
Jun 06 05:49:10 p5bse sddm[618]: Adding new display on vt 7 ...
Jun 06 05:49:10 p5bse sddm[618]: Loading theme configuration from ""
Jun 06 05:49:10 p5bse sddm[618]: Display server starting...
Jun 06 05:49:10 p5bse sddm[618]: Running: /usr/bin/X -dpi 120 -auth /run/sddm/{ee37cd5f-3ac7-4395-be10-a3ff0c95222f} -background none -noreset -displayfd 17 -seat seat0 vt7
Jun 06 05:49:14 p5bse sddm[618]: Setting default cursor
Jun 06 05:49:14 p5bse sddm[618]: Running display setup script  "/usr/etc/X11/xdm/Xsetup"
Jun 06 05:49:15 p5bse sddm[618]: Display server started.
Jun 06 05:49:15 p5bse sddm[618]: Socket server starting...
Jun 06 05:49:15 p5bse sddm[618]: Socket server started.
Jun 06 05:49:15 p5bse sddm[618]: Loading theme configuration from ""
Jun 06 05:49:15 p5bse sddm[618]: Greeter starting...
Jun 06 05:49:15 p5bse sddm-helper[654]: [PAM] Starting...
Jun 06 05:49:15 p5bse sddm-helper[654]: [PAM] Authenticating...
Jun 06 05:49:15 p5bse sddm-helper[654]: [PAM] returning.
Jun 06 05:49:15 p5bse systemd-logind[533]: New session 1 of user sddm.
Jun 06 05:49:15 p5bse systemd[656]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[<unknown>] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Jun 06 05:49:15 p5bse systemd[656]: pam_unix(systemd-user:session): session opened for user sddm(uid=473) by (uid=0)
Jun 06 05:49:16 p5bse systemd[1]: Started Session 1 of user sddm.
Jun 06 05:49:16 p5bse sddm-helper[654]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=473) by (uid=0)
Jun 06 05:49:16 p5bse sddm[618]: Greeter session started successfully
Jun 06 05:49:17 p5bse sddm-greeter[663]: High-DPI autoscaling Enabled
Jun 06 05:49:17 p5bse sddm-greeter[663]: Reading from "/usr/share/xsessions/icewm.desktop"
Jun 06 05:49:17 p5bse sddm-greeter[663]: Reading from "/usr/share/xsessions/lxqt.desktop"
Jun 06 05:49:17 p5bse sddm-greeter[663]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:49:17 p5bse sddm-greeter[663]: Loading theme configuration from "qrc:/theme/theme.conf"
Jun 06 05:49:17 p5bse sddm-greeter[663]: Connected to the daemon.
Jun 06 05:49:17 p5bse sddm[618]: Message received from greeter: Connect
Jun 06 05:49:17 p5bse sddm-greeter[663]: QFont::fromString: Invalid description '(empty)'
Jun 06 05:49:18 p5bse sddm-greeter[663]: Loading qrc:/theme/Main.qml...
Jun 06 05:49:19 p5bse sddm-greeter[663]: Adding view for "DP-1" QRect(0,0 2560x1440)
Jun 06 05:49:20 p5bse sddm-greeter[663]: Message received from daemon: Capabilities
Jun 06 05:49:20 p5bse sddm-greeter[663]: Message received from daemon: HostName
Jun 06 05:50:10 p5bse sddm-greeter[663]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:10 p5bse sddm[618]: Message received from greeter: Login
Jun 06 05:50:10 p5bse sddm[618]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:10 p5bse sddm[618]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:10 p5bse sddm[618]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startplasma-x11"
Jun 06 05:50:10 p5bse sddm-helper[682]: [PAM] Starting...
Jun 06 05:50:10 p5bse sddm-helper[682]: [PAM] Authenticating...
Jun 06 05:50:10 p5bse sddm-helper[682]: [PAM] Preparing to converse...
Jun 06 05:50:10 p5bse sddm-helper[682]: [PAM] Conversation with 1 messages
Jun 06 05:50:10 p5bse sddm-helper[682]: pam_unix(sddm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Jun 06 05:50:12 p5bse sddm-helper[682]: [PAM] authenticate: Authentication failure
Jun 06 05:50:12 p5bse sddm-helper[682]: [PAM] returning.
Jun 06 05:50:12 p5bse sddm[618]: Authentication error: "Authentication failure"
Jun 06 05:50:12 p5bse sddm-helper[682]: [PAM] Ended.
Jun 06 05:50:12 p5bse sddm[618]: Auth: sddm-helper exited with 1
Jun 06 05:50:12 p5bse sddm-greeter[663]: Message received from daemon: LoginFailed
Jun 06 05:50:23 p5bse sddm-greeter[663]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:23 p5bse sddm[618]: Message received from greeter: Login
Jun 06 05:50:23 p5bse sddm[618]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:23 p5bse sddm[618]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 05:50:23 p5bse sddm[618]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startplasma-x11"
Jun 06 05:50:23 p5bse sddm-helper[683]: [PAM] Starting...
Jun 06 05:50:23 p5bse sddm-helper[683]: [PAM] Authenticating...
Jun 06 05:50:23 p5bse sddm-helper[683]: [PAM] Preparing to converse...
Jun 06 05:50:23 p5bse sddm-helper[683]: [PAM] Conversation with 1 messages
Jun 06 05:50:23 p5bse sddm-helper[683]: [PAM] returning.
Jun 06 05:50:23 p5bse sddm[618]: Authenticated successfully
Jun 06 05:50:23 p5bse sddm-greeter[663]: Message received from daemon: LoginSucceeded
Jun 06 05:50:23 p5bse sddm-helper[654]: [PAM] Closing session
Jun 06 05:50:23 p5bse sddm-helper[654]: pam_unix(sddm-greeter:session): session closed for user sddm
Jun 06 05:50:23 p5bse sddm-helper[654]: [PAM] Ended.
Jun 06 05:50:23 p5bse sddm[618]: Auth: sddm-helper exited successfully
Jun 06 05:50:23 p5bse sddm[618]: Greeter stopped.
Jun 06 05:50:24 p5bse sddm-helper[683]: pam_unix(sddm:session): session opened for user root(uid=0) by (uid=0)
Jun 06 05:50:24 p5bse sddm-helper[683]: Starting: "/usr/etc/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Jun 06 05:50:24 p5bse sddm-helper[692]: Adding cookie to "/run/user/0/xauth_nzSREG"
Jun 06 05:50:24 p5bse sddm[618]: Session started
Jun 06 05:50:33 p5bse systemd[657]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[<unknown>] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Jun 06 06:06:48 p5bse dbus-daemon[510]: [system] Activating service name='org.kde.kcontrol.kcmsddm' requested by ':1.41' (uid=0 pid=1219 comm="/usr/bin/systemsettings5 ") (using servicehelper)
Jun 06 06:06:49 p5bse dbus-daemon[510]: [system] Successfully activated service 'org.kde.kcontrol.kcmsddm'
Jun 06 06:17:44 p5bse sddm-helper[683]: [PAM] Closing session
Jun 06 06:17:44 p5bse sddm-helper[683]: pam_unix(sddm:session): session closed for user root
Jun 06 06:17:44 p5bse sddm-helper[683]: [PAM] Ended.
Jun 06 06:17:44 p5bse sddm[618]: Auth: sddm-helper exited successfully
Jun 06 06:17:44 p5bse sddm[618]: Socket server stopping...
Jun 06 06:17:44 p5bse sddm[618]: Socket server stopped.
Jun 06 06:17:44 p5bse sddm[618]: Display server stopping...
Jun 06 06:17:44 p5bse sddm[618]: Display server stopped.
Jun 06 06:17:44 p5bse sddm[618]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jun 06 06:17:44 p5bse sddm[618]: Removing display ":0" ...
Jun 06 06:17:44 p5bse sddm[618]: Adding new display on vt 7 ...
Jun 06 06:17:44 p5bse sddm[618]: Loading theme configuration from ""
Jun 06 06:17:44 p5bse sddm[618]: Display server starting...
Jun 06 06:17:44 p5bse sddm[618]: Running: /usr/bin/X -dpi 120 -auth /run/sddm/{d8a3f31a-7baa-4ecd-ba23-5860659efe46} -background none -noreset -displayfd 18 -seat seat0 vt7
Jun 06 06:17:44 p5bse sddm[618]: Setting default cursor
Jun 06 06:17:45 p5bse sddm[618]: Running display setup script  "/usr/etc/X11/xdm/Xsetup"
Jun 06 06:17:45 p5bse sddm[618]: Display server started.
Jun 06 06:17:45 p5bse sddm[618]: Socket server starting...
Jun 06 06:17:45 p5bse sddm[618]: Socket server started.
Jun 06 06:17:45 p5bse sddm[618]: Loading theme configuration from ""
Jun 06 06:17:45 p5bse sddm[618]: Greeter starting...
Jun 06 06:17:45 p5bse sddm-helper[1413]: [PAM] Starting...
Jun 06 06:17:45 p5bse sddm-helper[1413]: [PAM] Authenticating...
Jun 06 06:17:45 p5bse sddm-helper[1413]: [PAM] returning.
Jun 06 06:17:45 p5bse systemd-logind[533]: New session 3 of user sddm.
Jun 06 06:17:45 p5bse systemd[1415]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[<unknown>] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Jun 06 06:17:45 p5bse systemd[1415]: pam_unix(systemd-user:session): session opened for user sddm(uid=473) by (uid=0)
Jun 06 06:17:45 p5bse systemd[1]: Started Session 3 of user sddm.
Jun 06 06:17:45 p5bse sddm-helper[1413]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=473) by (uid=0)
Jun 06 06:17:45 p5bse sddm[618]: Greeter session started successfully
Jun 06 06:17:45 p5bse sddm-greeter[1422]: High-DPI autoscaling Enabled
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Reading from "/usr/share/xsessions/icewm.desktop"
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Reading from "/usr/share/xsessions/lxqt.desktop"
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Reading from "/usr/share/xsessions/plasma5.desktop"
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Loading theme configuration from "qrc:/theme/theme.conf"
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Connected to the daemon.
Jun 06 06:17:45 p5bse sddm-greeter[1422]: QFont::fromString: Invalid description '(empty)'
Jun 06 06:17:45 p5bse sddm[618]: Message received from greeter: Connect
Jun 06 06:17:45 p5bse sddm-greeter[1422]: Loading qrc:/theme/Main.qml...
Jun 06 06:17:46 p5bse sddm-greeter[1422]: Adding view for "DP-1" QRect(0,0 2560x1440)
Jun 06 06:17:46 p5bse sddm-greeter[1422]: Message received from daemon: Capabilities
Jun 06 06:17:46 p5bse sddm-greeter[1422]: Message received from daemon: HostName