Skip to content

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

fix wayland server starting late

Sahil Yeole13da75c2b644
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;