• snaggen@programming.dev
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    But I. What way is a screen recorder under X11 working any different than a trojan. It records the screen without any restrictions and without having to ask for any permissions.

    • flux@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      By that logic, is the compositor working any different than a trojan? Is there really a difference?

      The Wayland compositor is always capturing all your keyboard and mouse as well. No permissions asked. Pretty sus.

      • snaggen@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        No, the compositor is the Wayland server, similar to the X server. It is not a random program snooping the screen, and under Wayland that is not possible. To get access to the screen, you have to use apis to explicitly ask for that access, and the user must approve the request. Under X, any program can snoop the screen and do what the like with it.

    • Saik0@lemmy.saik0.com
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      1 year ago

      It records the screen without any restrictions and without having to ask for any permissions.

      Which is exactly the requirements you need to remote desktop access via tools like meshcentral, anydesk… I don’t understand this mentality of “X11 was broken!!!”. Yeah well Wayland is broken since it stops legitimate uses as well.

      • snaggen@programming.dev
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        No, there are remote desktop, screen recording, just in a secure and controlled way. Letting any application read your screen and snoop your keyboard without restriction may be convenient, but it is just horrible in so many ways. If your preferred tool doesn’t work under Wayland, it is most likely not because of limitations of Wayland (there are such cases, but they are getting quite rare) but because they haven’t implemented support for it.