this post was submitted on 14 Jan 2024
8 points (100.0% liked)

Linux

5234 readers
180 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 

Title *X11

top 4 comments
sorted by: hot top controversial new old
[–] featured@hexbear.net 7 points 10 months ago

X11 is the traditional most popular display server for Linux and other *nix systems. However it is very dated and has a lot of flaws, including endless spaghetti code that makes maintenance a nightmare, huge security holes where any application can freely scrape information from any other, and tons of bugs dating back decades. It isn’t sustainable to keep developing on X11 as a platform because it is so flawed and devs hate working on it when implementing new features or fixes.

Wayland is a modern protocol for display server/compositing tasks which seeks to directly address all of the major issues of X11. It is small and modular, with purpose driven portals and protocols written to interact with a simple core, rather than being monolithic and opaque like X11s code structure. It is security focused, with the aforementioned portals used to grant permissions to applications when needed but nothing more. Wayland has a more efficient pipeline resulting in better performance. It is overall a pleasure to work on comparatively and is a much richer, progress oriented protocol than X

Why are you hearing about it now? Because Wayland is finally mature enough to warrant almost everybody to stop using X11. There are a few features that are still not present in Wayland that should be for particular use cases, but these are exceptions nowadays. Applications are starting to prioritize Wayland compatibility, distros have overwhelmingly made the switch to it as default, and most Linux display server developers have moved away from X and onto Wayland. It seems that the transition is nearly complete but the last hurdles have certainly been creating lots of discussion

[–] frozen@lemmy.frozeninferno.xyz 6 points 10 months ago

Not relevant to the question, but Lemmy lets you edit titles. It's pretty nice.

[–] pelya@lemmy.world 3 points 10 months ago (1 children)

X11 is an ancient piece of crap which no one wants to update or maintain.

Wayland is the new and better display manager.

However, many old applications only support X11, because they depend on some arcane feature not yet supported by Wayland. Hence, the drama.

[–] snaggen@programming.dev 2 points 10 months ago

Also, it was easier to support X11, since there is no security. You wanted to read other applications key events, no problem. Want to read the screen, without without anyone knowing? No, problem, just read it. With Wayland you must use APIs for stuff, and you are not allowed to do everything.