Merge pull request #286 from fufesou/fix/linux_dm_user

fix: linux, dm user
This commit is contained in:
RustDesk 2025-07-10 00:26:58 +08:00 committed by GitHub
commit ff18650f13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ pub fn is_kde() -> bool {
#[inline]
pub fn is_gdm_user(username: &str) -> bool {
username == "gdm"
username == "gdm" || username == "sddm"
// || username == "lightgdm"
}