mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-04-02 22:16:18 +00:00
Merge pull request #286 from fufesou/fix/linux_dm_user
fix: linux, dm user
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user