KittiesAreCute!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
petsoi@discuss.tchncs.de to Linux@lemmy.ml ·
edit-2
1 year ago

RustDesk: I Found This Open-Source TeamViewer Alternative Impressive!

news.itsfoss.com

external-link
message-square
19
link
fedilink
210
external-link

RustDesk: I Found This Open-Source TeamViewer Alternative Impressive!

news.itsfoss.com

petsoi@discuss.tchncs.de to Linux@lemmy.ml ·
edit-2
1 year ago
message-square
19
link
fedilink
RustDesk is a fantastic secure remote desktop tool. Let's take it for a spin!

Please have a look at the warnings in the comments:

https://discuss.tchncs.de/post/21632052/12893621

https://discuss.tchncs.de/post/21632052/12897257

  • angel@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Rustdesk looks good on the outside, but if you look inside, it has a really bad codebase and has done some sketchy stuff in the past.

    Last year, it installed custom root certificates as trusted on windows, which is a huge security risk: https://github.com/rustdesk/rustdesk/discussions/6444

    On linux systems, it forced its own autostart with no option to disable this behavior: https://github.com/rustdesk/rustdesk/issues/4863

    In the past, when it didn’t have Wayland support yet, it edited your GDM config and just disabled wayland: https://github.com/rustdesk/rustdesk/blob/1.1.9/src/platform/linux.rs#L411-L422

    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.

    • Psyhackological@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Wth is that, that is the most anti-idiomatic code I have ever seen

      https://github.com/rustdesk/rustdesk/blob/master/src%2Fplatform%2Flinux.rs#L176

      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)
      }
      

      I’m not an expert but this seems wrong.

      • angel@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Yep, I’m not a Rust expert either, but this is pretty cursed. The comments on this post have some more examples of bad rustdesk code: https://lobste.rs/s/njfvjb/rustdesk_with_tailscale_on_arch_linux

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.85K users / day
  • 1.85K users / week
  • 5.78K users / month
  • 14.3K users / 6 months
  • 2 local subscribers
  • 62K subscribers
  • 8.13K Posts
  • 179K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • nooter692@lemmy.ml
  • MarcellusDrum@lemmy.ml
  • Arthur Besse@lemmy.ml
  • Cyclohexane@lemmy.ml
  • d3Xt3r@lemmy.nz
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org