Skip to content

Set greeter_session instead of session when reconfiguring the display… #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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