Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix me

rustdesk07ab8e508c85
diff --git a/src/common.rs b/src/common.rs
index e74302031..39771c541 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -1244,7 +1244,7 @@ pub async fn get_next_nonkeyexchange_msg(
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub fn check_process(arg: &str, mut same_uid: bool) -> bool {
#[cfg(target_os = "macos")]
- if !crate::platform::is_root() {
+ if !crate::platform::is_root() && !same_uid {
log::warn!("Can not get other process's command line arguments on macos without root");
same_uid = true;
}