fix(sddm): auto-detect Plasma session for autologin#123
Merged
RadxaYuntian merged 1 commit intoJul 1, 2026
Conversation
The SDDM autologin configuration hardcoded 'Session=plasma', but on Debian 13 with KDE Plasma 6, the Wayland session (plasma.desktop) may be disabled and only plasmax11.desktop remains. This caused autologin to silently fail because SDDM could not find the referenced session. Add __get_plasma_session() to detect the available Plasma session: - Prefer 'plasma' if plasma.desktop exists (backward compatible) - Fall back to 'plasmax11' when only the X11 session is available - Update both set_sddm_autologin() and get_autologin_status() to use the dynamically detected session name Signed-off-by: Feng Zhang <feng@radxa.com>
Contributor
|
No linked issues found. Please add the corresponding issues in the pull request description. |
RadxaYuntian
left a comment
Member
There was a problem hiding this comment.
我们目前都是gdm搭配plasma的吧,没有用sddm了
Contributor
Author
目前Allwinner debian13 就是sddm,这样改也兼容之前的,另外就是之前的名字是 plasma.desktop,现在是plasmax11.desktop |
RadxaYuntian
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SDDM autologin configuration hardcoded 'Session=plasma', but on Debian 13 with KDE Plasma 6, the Wayland session (plasma.desktop) may be disabled and only plasmax11.desktop remains. This caused autologin to silently fail because SDDM could not find the referenced session.
Add __get_plasma_session() to detect the available Plasma session: