mirror of
https://github.com/rustdesk/hbb_common.git
synced 2025-08-16 00:25:39 +00:00
fix: linux, dm user
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
f850a167ac
commit
d9d872a8a7
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user