Furthermore, the code quality is really bad. 90% of the linux platform-dependant code is just executing shell commands and parsing their output, while the same could be achieved in a safe way with proper rust builtins: https://github.com/rustdesk/rustdesk/blob/master/src/platform/linux.rs
While I agree that Rustdesk works pretty flawlessly, the codebase and the behavior of the developers made me distrust the software and I don’t recommend using it.
They also tried to submit the app to Flathub, but had way too broad permissions with no explanation why. "Users expect filesystem access" etc. In the end it was rejected and they publish a .flatpak file themselves.
There is no transparency about who is behind it. It just a Github account called "Rustdesk." It could be a real company in Singapore or it could be some guy in China as people have speculated.
The Rustdesk software needs way more permissions than necessary. This became evident with the flatpak as they did sandbox escapes which prevented them from being on flathub
The Rustdesk distribution is entirely centralize release server run by Rustdesk. They could easily push out malware to lots of devices.
They have done some sketchy things in the past. One of the things they did was quietly switch Linux desktops back to X11.
The Rustdesk system is not terribly resistant to brute forcing. The weak password means they someone could try every combination.
Rustdesk docker deployment docker compose exposes all ports on the host. This is minor but it could lead to a sandbox excape.
Rustdesk servers keep getting hosted in countries that have freedom problems such as China and Russia.
Wow, I'm wondering how anyone would trust this software. It literally exposes your desktop. To me that requires top-tier trust level, i.e. nothing sketchy at all.
I don't see how that's a problem, it's not like it's by a Chinese run company or like the Chinese government is spying on you; in the case you described it'd just be a rando with a hobby/vision.
The fact that it keeps getting hosted in countries that have freedom problems, such as China and Russia, does concern me, though.
I can't find much on tech impeding laws online, whatever search terms I enter related to China and privacy just leads me to articles about their data protection law.
Okayyyy… thats not great. I just read one of the threads and thats scary.
The person(s?) maintaining this seems to be VERY BAD at communicating. They did fix the auto start problem but did not at all discuss this from what I see. Thats not great.
Really sad about this, because Rust Desk has been the absolute best remote access tool I've ever used in the IT world, and that includes many different professional tools like Ninja& Teamviewer.
It's so clean, easy to install and run, fast and low latency, handles multi-monitors great, runs on mobile, Linux, Windows, etc.
pub fn get_cursor() -> ResultType<Option<u64>> {
let mut res = None;
DISPLAY.with(|conn| {
if let Ok(d) = conn.try_borrow_mut() {
if !d.is_null() {
unsafe {
let img = XFixesGetCursorImage(*d);
if !img.is_null() {
res = Some((*img).cursor_serial as u64);
XFree(img as _);
}
}
}
}
});
Ok(res)
}