mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-08-16 16:45:39 +00:00
Merge pull request #286 from fufesou/fix/linux_dm_user
fix: linux, dm user
This commit is contained in:
commit
ff18650f13
@ -87,7 +87,7 @@ pub fn is_kde() -> bool {
|
|||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn is_gdm_user(username: &str) -> bool {
|
pub fn is_gdm_user(username: &str) -> bool {
|
||||||
username == "gdm"
|
username == "gdm" || username == "sddm"
|
||||||
// || username == "lightgdm"
|
// || username == "lightgdm"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user