• moobythegoldensock@infosec.pub
      link
      fedilink
      arrow-up
      40
      ·
      2 days ago

      They are display server communication protocols. Essentially, the computer clients give the display server information, and then the display server processes that information and sends it to the screen. For example, a game might say, “The player is controlling a red guy with a hat and mustache” and the display server draws a Mario on the screen.

      X Server is 40 years old. It’s tried and tested, but is not built on modern coding standards. For example, it has not kept up with modern security, allowing a bad actor to tell X to draw a bit of malicious code that tricks the display server into giving it control of other programs. For this reason, the developers of X are sunsetting it and have designed Wayland to replace it.

      Wayland is a rewrite of X from the ground up, and is much more secure. It keeps each program in its own bubble, so if a rogue app tries to gain control of programs outside its bubble, it can’t. However, such a large change requires other programs to buy in, creating s vicious cycle where developers don’t want to switch to Wayland until it’s mature, and Wayland is unable to mature without developers buying in. That’s why this “new” protocol has been in progress for the past 16 years, and yet linux users still disagree on whether it is mature enough for wide adoption.

      GNOME desktop environment has been at the forefront of Wayland adoption, and has announced plans to stop using X in a future release. Ubuntu, which uses GNOME by default, has announced they are dropping X so they can see how it works in their short-term release before pushing it to their 2026 long-term release. Essentially, they are doing it when the timing works best for them rather than wait until GNOME forces them to drop it.

      • unalivejoy@lemmy.zip
        link
        fedilink
        arrow-up
        17
        ·
        1 day ago

        Emphasis on the protocol part. There is only 1 implementation of X11 (Xorg). Wayland however is just protocols. There are several implementations of varying quality.

        Depending on your DE, you could be using one of Weston (reference impl), Mutter (GNOME), Kwin (Plasma), wlroots (hyprland, sway), etc.

    • Goodeye8@piefed.social
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 days ago

      ELIS5 version. Wayland and Xorg are what draw the screen on your monitor. Xorg is based on stuff that’s 40 years old and Wayland is meant to replace Xorg as a more modern way to draw on your monitor.