Skip to content

Conversation

@liuyuanpeng176
Copy link
Contributor

…_server after a session startup failure

When using a Wayland desktop environment with auto-login enabled, if the account password has expired, the auto-login process fails due to password expiration. This results in a black screen with no functional login interface. I traced the issue to the switch_to_greeter_from_failed_session function and discovered that the display_server was still configured to use the original session type (session) during reinitialization. After modifying the session type to greeter_session, the problem was resolved. This fix ensures the display server correctly triggers the login manager (greeter) when handling authentication failures.

…_server after a session startup failure

When using a Wayland desktop environment with auto-login enabled, if the account password has expired, the auto-login process fails due to password expiration. This results in a black screen with no functional login interface. I traced the issue to the switch_to_greeter_from_failed_session function and discovered that the display_server was still configured to use the original session type (session) during reinitialization. After modifying the session type to greeter_session, the problem was resolved. This fix ensures the display server correctly triggers the login manager (greeter) when handling authentication failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant