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

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"
}