On a dual-GPU laptop with multiple monitors connected, it is impossible to log into the system using SDDM after booting. Specifically, after entering the correct password and pressing Enter, SDDM remains stuck in the state of checking the password, without showing the welcome screen. Additionally, the sleep and other buttons at the bottom of the login page are unclickable. However, if the external monitor is disconnected before booting the system and reconnected after the system starts, logging in works normally. Steps to reproduce: A laptop with an AMD integrated GPU and an NVIDIA dedicated GPU. Use sudo envycontrol -s nvidia to switch to using the dedicated GPU for output (because the laptop's AMD integrated GPU cannot output to the external monitor). Connect the external monitor. Reboot the system. At this point, the login screen will fail to log in properly. Expected behavior: The login screen should allow logging into the system normally. Below is the SDDM log information: -- Boot 3f5d30a38c7844a0a35537e21c4f8d1c -- 10月 23 01:19:32 ZHSS systemd[1]: Started Simple Desktop Display Manager. 10月 23 01:19:32 ZHSS sddm[838]: Initializing... 10月 23 01:19:32 ZHSS sddm[838]: Starting... 10月 23 01:19:32 ZHSS sddm[838]: Logind interface found 10月 23 01:19:32 ZHSS sddm[838]: Adding new display... 10月 23 01:19:32 ZHSS sddm[838]: Loaded empty theme configuration 10月 23 01:19:32 ZHSS sddm[838]: Xauthority path: "/run/sddm/xauth_cGFBHp" 10月 23 01:19:32 ZHSS sddm[838]: Using VT 2 10月 23 01:19:32 ZHSS sddm[838]: Display server starting... 10月 23 01:19:32 ZHSS sddm[838]: Writing cookie to "/run/sddm/xauth_cGFBHp" 10月 23 01:19:32 ZHSS sddm[838]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_cGFBHp -noreset -displayfd 16 10月 23 01:19:33 ZHSS sddm[838]: Setting default cursor 10月 23 01:19:33 ZHSS sddm[838]: Running display setup script "/usr/share/sddm/scripts/Xsetup" 10月 23 01:19:33 ZHSS sddm[838]: Display server started. 10月 23 01:19:33 ZHSS sddm[838]: Socket server starting... 10月 23 01:19:33 ZHSS sddm[838]: Socket server started. 10月 23 01:19:33 ZHSS sddm[838]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf" 10月 23 01:19:33 ZHSS sddm[838]: Greeter starting... 10月 23 01:19:33 ZHSS sddm-helper[882]: [PAM] Starting... 10月 23 01:19:33 ZHSS sddm-helper[882]: [PAM] Authenticating... 10月 23 01:19:33 ZHSS sddm-helper[882]: [PAM] returning. 10月 23 01:19:33 ZHSS sddm-helper[882]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=970) by (uid=0) 10月 23 01:19:33 ZHSS sddm-helper[882]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-882) opened. 10月 23 01:19:33 ZHSS sddm-helper[882]: Writing cookie to "/tmp/xauth_FLyGEB" 10月 23 01:19:33 ZHSS sddm-helper[882]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-prIGSB --theme /usr/share/sddm/themes/breeze" 10月 23 01:19:33 ZHSS sddm[838]: Greeter session started successfully 10月 23 01:19:33 ZHSS sddm[838]: Message received from greeter: Connect 10月 23 01:19:39 ZHSS sddm[838]: Message received from greeter: Login 10月 23 01:19:39 ZHSS sddm[838]: Reading from "/usr/share/wayland-sessions/plasma.desktop" 10月 23 01:19:39 ZHSS sddm[838]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1 10月 23 01:19:39 ZHSS sddm-helper[981]: [PAM] Starting... 10月 23 01:19:39 ZHSS sddm-helper[981]: [PAM] Authenticating... 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_systemd_home(sddm:auth): New sd-bus connection (system-bus-pam-systemd-home-981) opened. 10月 23 01:19:39 ZHSS sddm-helper[981]: [PAM] Preparing to converse... 10月 23 01:19:39 ZHSS sddm-helper[981]: [PAM] Conversation with 1 messages 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate 10月 23 01:19:39 ZHSS sddm-helper[981]: [PAM] returning. 10月 23 01:19:39 ZHSS sddm[838]: Authentication for user "ling" successful 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_unix(sddm:session): session opened for user ling(uid=1000) by ling(uid=0) 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_systemd(sddm:session): New sd-bus connection (system-bus-pam-systemd-981) opened. 10月 23 01:19:39 ZHSS sddm[838]: Auth: sddm-helper exited successfully 10月 23 01:19:39 ZHSS sddm[838]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS 10月 23 01:19:39 ZHSS sddm-helper[981]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session 10月 23 01:19:39 ZHSS sddm-helper[981]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" 10月 23 01:19:40 ZHSS sddm[838]: Session started true 10月 23 01:20:16 ZHSS sddm[838]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed" 10月 23 01:20:16 ZHSS sddm[838]: Auth: sddm-helper (--socket /tmp/sddm-auth-aa08b8c7-757a-4c5a-ac04-ea5d17da8fed --id 1 --start /usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland --user ling) crashed (exit code 1) 10月 23 01:20:16 ZHSS sddm[838]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed" 10月 23 01:20:16 ZHSS sddm[838]: Auth: sddm-helper exited with 1 10月 23 01:20:16 ZHSS sddm[838]: Signal received: SIGTERM 10月 23 01:20:16 ZHSS systemd[1]: Stopping Simple Desktop Display Manager... 10月 23 01:20:16 ZHSS sddm[838]: Socket server stopping... 10月 23 01:20:16 ZHSS sddm[838]: Socket server stopped. 10月 23 01:20:16 ZHSS sddm[838]: Display server stopping... 10月 23 01:20:16 ZHSS sddm[838]: Display server stopped. 10月 23 01:20:16 ZHSS sddm[838]: Running display stop script QList("/usr/share/sddm/scripts/Xstop") 10月 23 01:20:16 ZHSS systemd[1]: sddm.service: Deactivated successfully. 10月 23 01:20:16 ZHSS systemd[1]: Stopped Simple Desktop Display Manager. 10月 23 01:20:16 ZHSS systemd[1]: sddm.service: Consumed 468ms CPU time, 305.2M memory peak. -- Boot dc7a27a91dd24502b954ea10179f4163 -- 10月 23 01:20:40 ZHSS systemd[1]: Started Simple Desktop Display Manager. 10月 23 01:20:40 ZHSS sddm[872]: Initializing... 10月 23 01:20:40 ZHSS sddm[872]: Starting... 10月 23 01:20:40 ZHSS sddm[872]: Logind interface found 10月 23 01:20:40 ZHSS sddm[872]: Adding new display... 10月 23 01:20:40 ZHSS sddm[872]: Loaded empty theme configuration 10月 23 01:20:40 ZHSS sddm[872]: Xauthority path: "/run/sddm/xauth_tAymGB" 10月 23 01:20:40 ZHSS sddm[872]: Using VT 2 10月 23 01:20:40 ZHSS sddm[872]: Display server starting... 10月 23 01:20:40 ZHSS sddm[872]: Writing cookie to "/run/sddm/xauth_tAymGB" 10月 23 01:20:40 ZHSS sddm[872]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_tAymGB -noreset -displayfd 16 10月 23 01:20:43 ZHSS sddm[872]: Setting default cursor 10月 23 01:20:43 ZHSS sddm[872]: Running display setup script "/usr/share/sddm/scripts/Xsetup" 10月 23 01:20:43 ZHSS sddm[872]: Display server started. 10月 23 01:20:43 ZHSS sddm[872]: Socket server starting... 10月 23 01:20:43 ZHSS sddm[872]: Socket server started. 10月 23 01:20:43 ZHSS sddm[872]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf" 10月 23 01:20:43 ZHSS sddm[872]: Greeter starting... 10月 23 01:20:43 ZHSS sddm-helper[928]: [PAM] Starting... 10月 23 01:20:43 ZHSS sddm-helper[928]: [PAM] Authenticating... 10月 23 01:20:43 ZHSS sddm-helper[928]: [PAM] returning. 10月 23 01:20:43 ZHSS sddm-helper[928]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=970) by (uid=0) 10月 23 01:20:43 ZHSS sddm-helper[928]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-928) opened. 10月 23 01:20:44 ZHSS sddm-helper[928]: Writing cookie to "/tmp/xauth_mxkyds" 10月 23 01:20:44 ZHSS sddm-helper[928]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-qqROra --theme /usr/share/sddm/themes/breeze" 10月 23 01:20:44 ZHSS sddm[872]: Greeter session started successfully 10月 23 01:20:44 ZHSS sddm[872]: Message received from greeter: Connect 10月 23 01:21:12 ZHSS sddm[872]: Error from greeter session: "Process crashed" 10月 23 01:21:12 ZHSS sddm[872]: Auth: sddm-helper (--socket /tmp/sddm-auth-ff8478d7-80cb-41c3-ba73-05c2289e1252 --id 2 --start /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-qqROra --theme /usr/share/sddm/themes/breeze --user sddm --greeter) crashed (exit code 1) 10月 23 01:21:12 ZHSS sddm[872]: Error from greeter session: "Process crashed" 10月 23 01:21:12 ZHSS sddm[872]: Auth: sddm-helper exited with 1 10月 23 01:21:12 ZHSS sddm[872]: Greeter stopped. SDDM::Auth::HELPER_AUTH_ERROR 10月 23 01:21:12 ZHSS sddm[872]: Signal received: SIGTERM 10月 23 01:21:12 ZHSS systemd[1]: Stopping Simple Desktop Display Manager... 10月 23 01:21:12 ZHSS sddm[872]: Socket server stopping... 10月 23 01:21:12 ZHSS sddm[872]: Socket server stopped. 10月 23 01:21:12 ZHSS sddm[872]: Display server stopping... 10月 23 01:21:12 ZHSS sddm[872]: Display server stopped. 10月 23 01:21:12 ZHSS sddm[872]: Running display stop script QList("/usr/share/sddm/scripts/Xstop") 10月 23 01:21:12 ZHSS systemd[1]: sddm.service: Deactivated successfully. 10月 23 01:21:12 ZHSS systemd[1]: Stopped Simple Desktop Display Manager. 10月 23 01:21:12 ZHSS systemd[1]: sddm.service: Consumed 2.663s CPU time, 353.7M memory peak. -- Boot 39da6ef69d744a7092dfcea904c58ca7 -- 10月 23 01:21:34 ZHSS systemd[1]: Started Simple Desktop Display Manager. 10月 23 01:21:34 ZHSS sddm[856]: Initializing... 10月 23 01:21:34 ZHSS sddm[856]: Starting... 10月 23 01:21:34 ZHSS sddm[856]: Logind interface found 10月 23 01:21:34 ZHSS sddm[856]: Adding new display... 10月 23 01:21:34 ZHSS sddm[856]: Loaded empty theme configuration 10月 23 01:21:34 ZHSS sddm[856]: Xauthority path: "/run/sddm/xauth_SfWexy" 10月 23 01:21:34 ZHSS sddm[856]: Using VT 2 10月 23 01:21:34 ZHSS sddm[856]: Display server starting... 10月 23 01:21:34 ZHSS sddm[856]: Writing cookie to "/run/sddm/xauth_SfWexy" 10月 23 01:21:34 ZHSS sddm[856]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_SfWexy -noreset -displayfd 16 10月 23 01:21:37 ZHSS sddm[856]: Setting default cursor 10月 23 01:21:37 ZHSS sddm[856]: Running display setup script "/usr/share/sddm/scripts/Xsetup" 10月 23 01:21:37 ZHSS sddm[856]: Display server started. 10月 23 01:21:37 ZHSS sddm[856]: Socket server starting... 10月 23 01:21:37 ZHSS sddm[856]: Socket server started. 10月 23 01:21:37 ZHSS sddm[856]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf" 10月 23 01:21:37 ZHSS sddm[856]: Greeter starting... 10月 23 01:21:37 ZHSS sddm-helper[915]: [PAM] Starting... 10月 23 01:21:37 ZHSS sddm-helper[915]: [PAM] Authenticating... 10月 23 01:21:37 ZHSS sddm-helper[915]: [PAM] returning. 10月 23 01:21:37 ZHSS sddm-helper[915]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=970) by (uid=0) 10月 23 01:21:37 ZHSS sddm-helper[915]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-915) opened. 10月 23 01:21:38 ZHSS sddm-helper[915]: Writing cookie to "/tmp/xauth_lFuUUk" 10月 23 01:21:38 ZHSS sddm-helper[915]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-wTLtuK --theme /usr/share/sddm/themes/breeze" 10月 23 01:21:38 ZHSS sddm[856]: Greeter session started successfully 10月 23 01:21:38 ZHSS sddm[856]: Message received from greeter: Connect 10月 23 01:21:46 ZHSS sddm[856]: Message received from greeter: Login 10月 23 01:21:46 ZHSS sddm[856]: Reading from "/usr/share/wayland-sessions/plasma.desktop" 10月 23 01:21:46 ZHSS sddm[856]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1 10月 23 01:21:46 ZHSS sddm-helper[1180]: [PAM] Starting... 10月 23 01:21:46 ZHSS sddm-helper[1180]: [PAM] Authenticating... 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_systemd_home(sddm:auth): New sd-bus connection (system-bus-pam-systemd-home-1180) opened. 10月 23 01:21:46 ZHSS sddm-helper[1180]: [PAM] Preparing to converse... 10月 23 01:21:46 ZHSS sddm-helper[1180]: [PAM] Conversation with 1 messages 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate 10月 23 01:21:46 ZHSS sddm-helper[1180]: [PAM] returning. 10月 23 01:21:46 ZHSS sddm[856]: Authentication for user "ling" successful 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_unix(sddm:session): session opened for user ling(uid=1000) by ling(uid=0) 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_systemd(sddm:session): New sd-bus connection (system-bus-pam-systemd-1180) opened. 10月 23 01:21:46 ZHSS sddm[856]: Auth: sddm-helper exited successfully 10月 23 01:21:46 ZHSS sddm[856]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS 10月 23 01:21:46 ZHSS sddm-helper[1180]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session 10月 23 01:21:46 ZHSS sddm-helper[1180]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" 10月 23 01:21:47 ZHSS sddm[856]: Session started true
*** This bug has been marked as a duplicate of bug 494804 ***