An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix(wayland): pass on an unclassified capture error instead of "x11 expected"
rustdeskbeeeef14f0a6
diff --git a/src/server/wayland.rs b/src/server/wayland.rsindex d37e242df..c9bbad94c 100644--- a/src/server/wayland.rs+++ b/src/server/wayland.rs@@ -12,7 +12,7 @@ use std::io;use crate::{client::{SCRAP_OTHER_VERSION_OR_X11_REQUIRED, SCRAP_UBUNTU_HIGHER_REQUIRED,- SCRAP_X11_REQUIRED, SCRAP_XDP_PORTAL_UNAVAILABLE,+ SCRAP_XDP_PORTAL_UNAVAILABLE,},platform::linux::is_x11,};@@ -82,7 +82,9 @@ fn map_err_scrap(err: String) -> io::Error {} else if err_lower.contains("pipewire") {io::Error::new(io::ErrorKind::Other, SCRAP_OTHER_VERSION_OR_X11_REQUIRED)} else {- io::Error::new(io::ErrorKind::Other, SCRAP_X11_REQUIRED)+ // Unclassified, so say what failed: "x11 expected" sent users off to switch to X11+ // for faults X11 does not fix (#16829).+ io::Error::new(io::ErrorKind::Other, err)}}}