From 13da75c2b644cf113ccb1fd10c3f6d423d9030ec Mon Sep 17 00:00:00 2001 From: Sahil Yeole Date: Mon, 25 Sep 2023 16:53:34 +0530 Subject: [PATCH] fix wayland server starting late Signed-off-by: Sahil Yeole --- src/platform/linux.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/linux.rs b/src/platform/linux.rs index f78f1f87c..de8c9d732 100644 --- a/src/platform/linux.rs +++ b/src/platform/linux.rs @@ -1088,7 +1088,7 @@ mod desktop { self.uid = seat0_values[1].clone(); self.username = seat0_values[2].clone(); self.protocal = get_display_server_of_session(&self.sid).into(); - if self.is_login_wayland() { + if self.is_wayland() { self.display = "".to_owned(); self.xauth = "".to_owned(); self.is_rustdesk_subprocess = false;