49 points · by greyw · 2y ago · 208 comments
I soon soured on the entire thing. It's very clear to me that wayland was an 'ivory tower' display server that had little respect for users or wm devs. You can't just go and break tons of things for security's sake when the harm is clearly higher than the benefits. Disabling screen and input capture should have been an 'opt in' feature for the truly paranoid. They should have also shipped a fully working bare bones desktop wm instead of a 'toy' implementation meant to run on a car entertainment center.
Frankly I can't believe it got as much traction as it has, but we're all stuck with it now as it's clearly 'the future'. This and systemd really showed me that the linux ecosystem is far more vulnerable to the interests of a few corporate sponsored devs than the general community.
https://wiki.archlinux.org/title/XDG_Desktop_Portal
Allowing any application to do that without the user knowing, the X11 model, is a recipe for disaster. With the right exploit chain you could theoretically deploy a keylogger from a website.
Now sure, Wayland didn't have all of this from the start, but it wasn't the default for most distros until all of these things were in place. You opted to use Wayland before it was ready for general consumption.
I don't know a single person that has ever fallen victim to a virus or malware on linux, and I've been using it almost exclusively for the past 20 years. If it was a threat vector, it clearly wasn't a very big issue.
If they wanted to not break existing apps, simply intercept attempts to share screens or inputs, and pop up a dialog box asking the user for consent? That would have been fine. That should have been a part of their default implementation. What they actually wound up doing was infinitely more user hostile.
I tried using it summer of '22. The wayland hype train was well underway and major linux distributions were already pushing it. I'd be much more forgiving if the wayland devs said 'hey guys, we're working on a new display server but it's very experimental and no one should use it unless they want to help us work out the kinks'. Instead, it was 'this is the future, x11 is abandonware'
Do you think the same would have applied to Android, had it used X11 instead of SurfaceFlinger (which in turn isn't very different from Wayland)?
Even if no virus cares about the Linux desktop, that doesn't mean that security issues should be ignored.
So: no true Linux user succumbs to malware and no true Scotsman puts sugar on his porridge.
Putting that aside, it doesn't take much effort to find an example of X11 keylogger that requires zero superuser privilege and zero explicit permission granting by the user. Here, the first result from DDGing "x11 keylogger": https://github.com/anko/xkbcat
It is hard to believe this has not occurred in the wild. If such attack really hasn't occurred before in the Linux world, I would rather use the unpopularity of Linux desktop as my justification.
Yes, well, the ground is being prepared to turn desktop Linux into a Android/Windows like app system (/ wasteland) where users mostly download third party proprietary apps and devs push updates directly to users with minimal oversight.
In this brave new world, you will definitely appreciate app isolation.
By the same token, patching the apps to use the new API is not a very big issue either. Or is it? Why?
If you have the sources, neither is a problem. If you do not have sources, both are problem. A matter of fact is, that users are going to use apps that they do not have sources for, and can neither audit, nor update the apps.
> If they wanted to not break existing apps, simply intercept attempts to share screens or inputs, and pop up a dialog box asking the user for consent?
Because there was no API before; there were hacks. Some of them worked only due to circumstances of how the given functionality was implemented, but spec-wise, it wasn't guaranteed at all.
Now there are APIs. Just like there is a virtual memory or filesystem permissions. These weren't given years ago either. They also "broke" apps.
> major linux distributions were already pushing it.
RHEL8 is Wayland-default on non-Nvidia GPUs. Old relase of a freaking RHEL, which itself moves as molases.
> I'd be much more forgiving if the wayland devs said 'hey guys, we're working on a new display server but it's very experimental and no one should use it unless they want to help us work out the kinks'.
You missed that phase by some 10 years or so.
> Instead, it was 'this is the future, x11 is abandonware'
That's how it is. If linux wants to stay relevant and not became another Amiga, that's how it is going to be.
The Wayland devs hyped their project up like it's going to be the thing to replace X11, but ended up delivering barely 10% of what X11 is.
One of the beautiful things about Linux was that you had thing huge variety of desktop environments and the reason for it was that X11 gave you all the infrastructure, you only had to do the user-facing parts. Now, a DE needs to implement all of X11 and then some to be feature-complete.
And no, I'm not accidentally mixing up DEs and compositors - the reality is that we don't have a good "base compositor" that DEs could build on top of. The big players built their own compositors and the small players either died or used wlroots, which again doesn't implement most of the essential things (and the ones it does are incompatible with KDE and GNOME).
Why do people like to emphasize this point so much? You still get shared infrastructure in the Wayland ecosystem by utilizing libraries such as wlroots or Smithay.
In fact, GNOME and KDE are practically the _outliers_ of the ecosystem as they do their own thing, but other compositors such as Hyprland or Sway do share the same core.
If you want even higher level of abstraction so that you can make your own window manager in one hundred lines of code, you can opt to write a Wayfire plugin. It's as close to having a "base compositor" as possible.
* Config files and startup behavior are all in the same format; outputters for name daemons, cron jobs, networking, name resolution, NTP, coredumps, mountpoints, and more are all the same. Hand it a data structure with the proper keys and you know it's going to work.
* cgroup and namespace configuration are much more fine grained, flexible, and straightforward than docker. Have a weird vendor service that you'd like to restrict or isolate? you can do that.
* Process management is mostly a solved problem after years of being ignored by POSIX.
* Accounting metrics on memory, tasks, and I/O is for all your services is there
* Shipping to syslog is a breeze.
Yeah, it's got a learning curve but it's objectively better than a bunch of random init scripts. Which you can still use.
* You get real honest-to-god dependency solving, no more having to number scripts so they run in the right order or working with magic comments.
* .targets are the correct abstraction over runlevels that do what people actually need them to do.
* How journald manages disk finally fixes the stupidity of logrotate edgecases.
* sysusers/tmpfiles is by far by far the best way to manage non-human users and application specific directories.
* The entire system is programmable in real programming languages without having to shell out to system("systemctl start ..."). The whole thing is dbus-first and systemctl is just a client to it like any other.
* You can make your own unit types with systemd-generators if the built-in ones aren't enough for you.
* The system for overrides finally solves the package management bullshit where the init script and the package manager fight.
* Built-in userspace oom killer.
* Makes user sessions a real thing on Linux instead of an ad-hoc set of conventions.
* sd-notify for service readyness checks is fantastic
* Parameterized services!
Logs are text, tools that work on logs expect text, and I don't give a crap that my logs are 50% smaller or whatever. Disk space is absurdly cheap, and logs are a minority of my disk usage.
I know it can forward to syslog, but at that point I'd rather just have syslog.
systemd is fantastic, though. I've just been building a new system and having to deal with journald is a big pain in the butt.
Nevertheless, the point of software freedom is freedom. I'm not upset about systemd as long as I have other choices.
It's the tendency of systemd users to say "shut up, you don't count, you're just a minority and you don't have anything real to complain about" and otherwise forcefully evangelize for their favorite paperclip maximizer that irks me.
You are free to fork whatever part of the Linux stack you want and modify it to your liking.
Bold statement to make.
To say it works well is an overstatement. "It works", yes, it does but I still beg to differ.
I've always encountered issues with it. Services failing to shutdown, throwing me timeouts of x/y requiring of attempting z tries.
Which as experienced within an install of Ubuntu Server a few days ago; nor have I seen systemd-resolved work either.
You can do screen captures on wayland. I've seen tools that were used to share a mouse and a keyboard to multiple computers kvm like that supported wayland so input capture seems to be possible to me.
My only gripe with wayland is that we seems to be lacking a common top level interface that is compatible with any compositor. Right now if some feature is not managed by the toolkit's wayland backend, devs need to have to implement compatibility with gnome's mutter, wlroots based compositor and kwin independently which doesn't seem to be a sane way of doing things. I wish all projects would converge into a common library like wlroots.
They could also converge to a single display server implementation and the display server can interface with a separate window manager which could be swapped out.
Throwing systemd into the rant is unwarranted piggy-packing.
That is, they might have said "We're looking for new maintainers for X11. They will be responsible for its future direction, representing X11's interests to the kernel and to distributions, and deciding when (and if) X11 is to be declared deprecated."
As far as I can make out, what they did instead was say "We're looking for people to fix bugs in X11, but they won't get to make any nontrivial decisions."
Contributions have never been discouraged, but no one wants to work on xserver. Remember, this is a 20 year old codebase. With all the cruft and dark corners you would expect and more.
Fortunately, the source is available and if there is a need to make changes, that is entirely possible.
Erm, what ? Are you sure ? Why it is X starting without a mouse now ? It has not done it 10 years ago ? Why do i need a gazilion of font libraries now ? Why were the default fonts changed ? Why is Mesa a hard dependency now ?
When will you youngsters learn that something can be complete, done, and in no need of pointless reshuffling.
* https://www.youtube.com/watch?v=cj02_UeUnGQ
> Packard is responsible for many X extensions and technical papers on X. He has been heavily involved in the development of X since the late 1980s as a member of the MIT X Consortium, XFree86 and the X.Org Foundation.
* https://en.wikipedia.org/wiki/Keith_Packard
Goes over things from the early 1980s.
Astronaut 2: Always did.
Keeping the jank of X11 around was never long-term viable. One day you will have to either switch to Wayland-capable apps or sandbox whatever last version of Xwayland is out there to keep whatever old app you have going.
Ha, it’s like saying “keeping the jank of win32, directx, GDI was never long-term viable” as your one and only argument for the inevitable success of Windows RT.
Fools, the lot of you GUI hipsters.
https://gitlab.gnome.org/GNOME/gnome-remote-desktop https://www.mankier.com/1/grdctl
This is already available in Fedora in some capacity. Main focus seems to be on RDP, with some support for VNC as well.
A lot of time I don't want a remote "desktop", but rather just launch an app and have it sent over an SSH tunnel (-X/-Y).
However, for Wayland compositors, this is a distant future; right now, Mutter supports connecting to existing, already running session (desktop). Ability create a new session over RDP is in the works. Everything else is after that.
closing as WONTFIX, everything working as expected
For such a drastic change a "should" it's not enough.
plus the huge majority of software doesn't directly communicate with either X or Wayland, but instead with some GUI library which does that for them. Which means that instead of porting thousands of applications you need to port a handful of relevant GUI libraries and any software which is keept up to date will "just work".
Sure when it comes to some "desktop environment utilities" and similar that won't work, but for most of them there are Wayland compatible ports or alternatives.
Also each (major) version for RHEL is supported for many years which means that going in 2 versions through deprecation and removal isn't drastic at all either (RHEL 9 is planned to be "supported" for roughly another 8 years, through mostly security fixes and similar at some point in a few years).
Wayland from the beginning was meant to replace X and this was pushed from a lot of sides, including some of the core developers of X at that point in time. So it had been very clear, from the get to go, that X will go and be gone sooner or later. That was clear like 10 years or so ago!
Anything wayland didn't support pretty much falls into one of three categories:
- its a security issue, so it was meant to be removed and would have been removed from X if that would have been viable
- it's somewhat broken and not really properly supported by X either with there being alternative better working approaches (e.g. the whole network transparency thing)
- it's not yet supported by wayland, but wayland is designed with extensibility in mind and there is since years a standard group which is standardizing additional wayland protocols and basically stating what any implementation should support. By now the large majority of gaps are filled and it has become often more a question of weather or not the wayland implementation you use has implemented it yet then weather it's supported per-se. Most times that's not too much of an issues but if you are on a distribution which mainly ships outdated software versions or on some niche mostly hobby project wayland implementations that can be an issue.
There are some minor exceptions to that 3 categories (e.g. wrt. certain front rendering things) but they in the larger picture don't matter and normal have alternatives in the 3rd category.
> if you care about supporting all your users and all their uses.
No one does support all users. Or at least no one who doesn't hypocritically claims things they can't long term commit too does.
You always should support the majority of users. If you have contributing users with a bias for them. But going from that to all isn't possible without stopping any changes and outside of some (but not even all) bug fixes stopping development. But that would kill your software sooner or later. Times change and resources are limited. What was acceptable security wise 20 years ago today can land you in prison for negligence (well legal troubles then prison, it's a metaphor). Similar requirements change, In the past supporting keyboard is enough, then mouse today controllers and drawing pans and in at most 20 years proper touch support is essential. This means your codebase needs to be changeable, maintainable and secure enough for the resources the maintainers have available. For X non of this was the case and some of the problems where of fundamental architectural nature. So that X needs to die was known even before wayland was a think.
I mean if I buy a new car I make it fit my current and coming requirements and if just because it means I can't help some friend of mine with moving something as much as I could before doesn't mean it's not a replacement, because in the end what matter the most is what the person who pays for the car and maintains it needs, not what a friend who doesn't contribute anything to it would prefer it to be.
Incoming where ? I only heard about wayland since about 2-3 years ? Earlier was mir the "new display server".
Wayland has been the default on Fedora and Arch w/ GNOME since around 2018, 5 years ago. It became the default on Debian w/ GNOME in 2019, 4 years ago.
So yes, long time coming.
KDE took longer but it's now finally ready.
I detest Wayland. I'll stay on X for years to come (heck, I've just started writing an X window manager). But I'm not sure this will matter to the typical target customer of RHEL.
2. RHEL linux has queried their customers, especially their largest ones and that doesn't seem to be a major issue
3. RHEL care mainly about their (paying) customers. But some of the most common things which will never work on Wayland are highly customized desktop environments and tools around them. I.e. use-cases somewhat irrelevant for the use-cases RHEL is sold to. For the the things which their customer do care for (e.g. HDR) RHEL made sure that they are supported by wayland, at least for the setups RHEL cares for (i.e. mainly GNOME, KDE in the versions shipped with RHEL 10, maybe already RHEL 9.x with a high enough x, as well as maybe some special cases, but they probably care not that much about anything wlroots based).
3. most things run on XWayland, and XWayland is also improved on so some things which didn't run initially do so by now or start using a newer version of Qt/Gtk/etc. at which point they run on Wayland.
https://blog.dshr.org/2018/05/recreational-bugs.html
>"You will get a better Gorilla effect if you use as big a piece of paper as possible." -Kunihiko Kasahara, Creative Origami.
https://en.wikipedia.org/wiki/David_S._H._Rosenthal
The X-Windows Disaster:
https://donhopkins.medium.com/the-x-windows-disaster-128d398...
Ice Cube: The Lethal Weapon
One of the fundamental design goals of X was to separate the window manager from the window server. “Mechanism, not policy” was the mantra. That is, the X server provided a mechanism for drawing on the screen and managing windows, but did not implement a particular policy for human-computer interaction. While this might have seemed like a good idea at the time (especially if you are in a research community, experimenting with different approaches for solving the human-computer interaction problem), it can create a veritable user interface Tower of Babel.
If you sit down at a friend’s Macintosh, with its single mouse button, you can use it with no problems. If you sit down at a friend’s Windows box, with two buttons, you can use it, again with no problems. But just try making sense of a friend’s X terminal: three buttons, each one programmed a different way to perform a different function on each different day of the week — and that’s before you consider combinations like control-left-button, shift-right-button, control-shift-meta-middle-button, and so on. Things are not much better from the programmer’s point of view.
As a result, one of the most amazing pieces of literature to come out of the X Consortium is the “Inter Client Communication Conventions Manual,” more fondly known as the “ICCCM”, “Ice Cubed,” or “I39L” (short for “I, 39 letters, L”). It describes protocols that X clients must use to communicate with each other via the X server, including diverse topics like window management, selections, keyboard and colormap focus, and session management. In short, it tries to cover everything the X designers forgot and tries to fix everything they got wrong. But it was too late — by the time ICCCM was published, people were already writing window managers and toolkits, so each new version of the ICCCM was forced to bend over backwards to be backward compatible with the mistakes of the past.
The ICCCM is unbelievably dense, it must be followed to the last letter, and it still doesn’t work. ICCCM compliance is one of the most complex ordeals of implementing X toolkits, window managers, and even simple applications. It’s so difficult, that many of the benefits just aren’t worth the hassle of compliance. And when one program doesn’t comply, it screws up other programs. This is the reason cut-and-paste never works properly with X (unless you are cutting and pasting straight ASCII text), drag-and-drop locks up the system, colormaps flash wildly and are never installed at the right time, keyboard focus lags behind the cursor, keys go to the wrong window, and deleting a popup window can quit the whole application. If you want to write an interoperable ICCCM compliant application, you have to crossbar test it with every other application, and with all possible window managers, and then plead with the vendors to fix their problems in the next release.
In summary, ICCCM is a technological disaster: a toxic waste dump of broken protocols, backward compatibility nightmares, complex nonsolutions to obsolete nonproblems, a twisted mass of scabs and scar tissue intended to cover up the moral and intellectual depravity of the industry’s standard naked emperor.
Using these toolkits is like trying to make a bookshelf out of mashed potatoes.
- Jamie Zawinski
The previous WM I used (I now use my ~7 day old WM; dog-fooding a piece of software which may or may not restart is fun, but with a little bit of care I haven't "lost" any open windows since the Reparenting Disaster Of Last Wednesday) was bspwm which certainly is not compliant either. And that's fine.
What I have in few hundred lines works well enough for my needs, and already does some things closer to how I want them than bspwm (bspwm is great; I have odd expectations)
I don't want my machine to work like a friends. I want it to work in the way that best suits me. Nobody else is going to use it - and thanks to smart phones there is less need than ever to let anyone. I don't need a lot of applications to run - a terminal (my own), a file manager (my own), an editor (my own, and running in the terminal), a browser, and image viewer and a PDF viewer add up to pretty much everything I run that isn't a web app or on the command line.
But Wayland doesn't fix the described mess. By deferring nearly everything to extensions, it has fragmented the space far more than X wms ever did. The level of boilerplate to talk to a Wayland compositor makes an X client look trivial (you can of course, and should, use a toolkit if trying to talk to Wayland; with X it's a lot closer to optional, at least if you only care about running on modern servers where you can insist on expecting XRender and the availability of an RGBA visual it guarantees and pretend the rest doesn't exist)
Then again, as I said, to RHEL customers that probably doesn't matter. They're not going to be likely to be anarchic places full of not quite interoperable diverse window managers. For them Wayland is probably fine. Or rather a specific Wayland compositor and a curated set off apps known to work with it will likely be fine.
(As always I love your historical links and quotes, though)
Edit: Though I do feel obligated to say that
> Today, Wayland has been recognized as the de-facto windowing and display infrastructure solution.
Is... optimistic. It has been called that, usually by people busy explaining why your use case isn't valid and shut up already about Wayland's shortcomings, but that's not quite the same as it being true.
RHES is looking at their (potential) paying customers, not Linux in general.
And a lot of that are in a context where there are many further restrictions to what can be run and how thinks can be setup. For example software whitelists and/or multi device administration where you are not admin on you desktop system. This for example means that for them most windows managers which are not GNOME/KDE did never matter for them at all (and just to be clear most means most, there are some exceptions). And XWayland is also still around in RHEL10 which mean the only problem are applications which 1. for their customers matter, 2. do not work correctly with XWayland, 3. can not be ported to a newer version of their GUI framework which supports Wayland. Which let's be honest aren't that many to begin with and mainly was stuff like e.g. missing HDR support for certain VFX use cases and similar, whist has been fixed by now.
So for RHEL this isn't "optimistic" but very realistic and based on facts derived from studies done with their customers, not some "busy people".
Sure it's non end user, but non end user desktop Linux is not as narrow as it might seem. Through it's not well represented on HN I think.
Most important both GNOME and KDE have embraced Wayland as the de-facto standard with their latest/upcoming versions and when it comes to commercial Linux desktop usage outside of some special cases only GNOME and KDE matter (and all the special cases I currently can come up with also use Wayland, but that might be due to my limited knowledge about special cases).
Other DE are nice and fun but in relevant amounts I'm only seeing them on privately managed (but not necessary privately owned and used) desktops.
> Is... optimistic.
Is it? Wayland is largely developed by the old X developers. They’re the ones who say Wayland is the future and there is nothing else. Xorg hasn’t been under real active development for a very long time.
The people in the best place to decide decided. They’ve been fixing the remaining issues.
There is no path forward for Xorg. It won’t get better. Only Wayland has a future.
Well nobody tell the folks shipping new features[0]; I'd hate for them to realize. That said, as an active user, I don't really need X to get better, I just need it to keep working until either Wayland actually catches up, or everyone moves on to the next thing and that manages feature parity.
[0] https://www.phoronix.com/news/Modesetting-TearFree-Merged , https://www.phoronix.com/news/X.Org-Server-21.1
That doesn't mean it's any good. Or that they're right.
"The people in the best place to decide decided" is a hugely fallacious argument. You can say that about any controversial change to anything and dismiss any argument out of hand with that.
But thats not all I was really trying to get. Also: that there are no major Xorg developers left. All the ones that knew that weird massive codebase moved over to Wayland.
If a whole bunch of developers wanted to pick up Xorg and fix its issues and move it forward (no one has yet) they have a very very deep hole to dig himself out of it just understanding how everything that’s there works and how fragile it is.
I have used awesome for >10 years now, and the way awesome does multi-monitor support has grown into me. No other WM, wayland or X11, has offered it.
I am upset not because of X "deprecation" (still not convinced it will happen, hopeful it won't), but rather that I will, again, need to invest time and energy into something that had worked just fine for more than a decade.
> we’ve decided to remove Xorg server and other X servers (except Xwayland) from RHEL 10 and the following releases
Isn't RHEL supposed to be the distro that gives you long-term support and stability for things? Why are they committing to remove X before Wayland gets full feature parity with it?
At this point I cannot actually replicate Xfce feature-for-feature in Wayland, not without inventing private protocols of my own, which I'd prefer not to do. My biggest issue right now is xfce4-panel, and embedding surfaces from one process into a parent process. There's no Wayland way to do this, and the Wayland folks have explicitly rejected some sort of XEMBED-workalike Wayland protocol, instead telling people they should write an embedded Wayland compositor. Well, I've been working on that for the past eight months, and it's hard to get right. I have something that "works", but it has a lot of rough edges, and, critically, eventually either the parent app or embedded apps run into weird spurious protocol errors and quit. While yes, that's technically my fault and my bugs, working with an under-documented protocol and really bare-bones libraries for building apps (wlroots, sadly, is not suitable for writing an embedded compositor, as it does too much) doesn't make any of this easier. I've written more than 10k lines of code (so far), and, meanwhile, you can do an XEMBED implementation in a few hundred.
I get that X11 made certain things impossible. But why not build an "X12" rather than throwing everything out and staring completely from scratch? It seems like people just didn't feel like it, and building something new was more exciting and would look better on their resume. I of all people know it's not cool to tell people what open source software to build in their spare time (though, to be fair, many/most of the people involved in Wayland are employed or at least funded by corporations), but jeez, this has been exhausting.
Those people were largely the Xorg developers. They knew what they were up against and clearly decided this was a better idea.
They may have overcorrected, but they’ve been fixing things compared to the early releases.
Wayland is here, it works (for a great many things), and it’s under active development to keep improving.
Xorg is not.
With the world moving ever more again towards distributed computing (Like Windows desktop in the cloud which you can rent now from Microsoft) it would be amazing if each window on my computer could run on a different physical computer. I could run my 3D Design program on a heavy instance somewhere, my browser on a medium instance (and sandboxed), and some smaller programs locally. X11 can do all that today (and it could in 1995!) but it's not very good at it due to the latency sensitivity introduced by the many roundtrips in the protocol. Wayland can't because it's really designed to be fully local.
Not gonna do it. Wouldn't be prudent at this juncture.
https://www.youtube.com/watch?v=4QHHGHve_N0
X-Windows Disaster:
https://donhopkins.medium.com/the-x-windows-disaster-128d398...
Myth: X Demonstrates the Power of Client/Server Computing
At the mere mention of network window systems, certain propeller heads who confuse technology with economics will start foaming at the mouth about their client/server models and how in the future palmtops will just run the X server and let the other half of the program run on some Cray down the street. They’ve become unwitting pawns in the hardware manufacturers’ conspiracy to sell newer systems each year. After all, what better way is there to force users to upgrade their hardware than to give them X, where a single application can bog down the client, the server, and the network between them, simultaneously!
The database client/server model (the server machine stores all the data, and the clients beseech it for data) makes sense. The computation client/server model (where the server is a very expensive or experimental supercomputer, and the client is a desktop workstation or portable computer) makes sense. But a graphical client/server model that slices the interface down some arbitrary middle is like Solomon following through with his child-sharing strategy. The legs, heart, and left eye end up on the server, the arms and lungs go to the client, the head is left rolling around on the floor, and blood spurts everywhere.
The fundamental problem with X’s notion of client/server is that the proper division of labor between the client and the server can only be decided on an application-by-application basis. Some applications (like a flight simulator) require that all mouse movement be sent to the application. Others need only mouse clicks. Still others need a sophisticated combination of the two, depending on the program’s state or the region of the screen where the mouse happens to be. Some programs need to update meters or widgets on the screen every second. Other programs just want to display clocks; the server could just as well do the updating, provided that there was some way to tell it to do so.
The right graphical client/server model is to have an extensible server. Application programs on remote machines can download their own special extension on demand and share libraries in the server. Downloaded code can draw windows, track input events, provide fast interactive feedback, and minimize network traffic by communicating with the application using a dynamic, high-level protocol.
As an example, imagine a CAD application built on top of such an extensible server. The application could download a program to draw an IC and associate it with a name. From then on, the client could draw the IC anywhere on the screen simply by sending the name and a pair of coordinates. Better yet, the client can download programs and data structures to draw the whole schematic, which are called automatically to refresh and scroll the window, without bothering the client. The user can drag an IC around smoothly, without any network traffic or context switching, and the server sends a single message to the client when the interaction is complete. This makes it possible to run interactive clients over low-speed (that is, slow-bandwidth) communication lines.
Sounds like science fiction? An extensible window server was precisely the strategy taken by the NeWS (Network extensible Window System) window system written by James Gosling at Sun. With such an extensible system, the user interface toolkit becomes an extensible server library of classes that clients download directly into the server (the approach taken by Sun’s TNT Toolkit). Toolkit objects in different applications share common objects in the server, saving both time and memory, and creating a look-and-feel that is both consistent across applications and customizable. With NeWS, the window manager itself was implemented inside the server, eliminating network overhead for window manipulation operations — and along with it the race conditions, context switching overhead, and interaction problems that plague X toolkits and window manager.
Ultimately, NeWS was not economically or politically viable because it solved the very problems that X was designed to create.
and I'm seeing many of the same kind of arguments as with systemd
like arguments you could re-formulate as "but my kinda uncommon setup which is irrelevant for the maintainers and sponsors of which do the decision will not work and it's bad to not support everyone for free" or "but you can't to X in that specific way and because of that you can't do so at all (ignoring alternative ways) and because of that it can't replace it at all" or "hung up on some technical detail which doesn't matter for 99% of users" or "my software which wasn't properly updated since 10 years doesn't work flawless under Wayland" or "hung up on something which wasn't supported initially but is supported since multiple years by now"
in the end someone will probably continue to support Xorg and someone will probably maintain it and it probably will get increasingly more painful to run it but it also will take many years until it really hurts and it probably will be banned from most companies caring about security and people starting to use Linux in some years in the future will probably not really know what Xorg is except is that thing related to some ancient programs not behaving nicely and they will wonder what it has to do with X(Twitter) and if thats why it's no longer used.
I'm sure I can make do with systemd but I don't like it, and thus I chose an OS that doesn't use it. I also don't like the way it was orchestrated that I don't have a choice. I want choices. And I don't like my system changing for the sake of it.
But with RedHat positioning themselves as the center of the Linux world it is quite difficult to avoid their stuff. They still have a huge finger in the pie and people still respect them as if IBM hadn't taken them over. Even after CentOS where people are even supporting their narrative of "freeloaders" when it comes to Alma and Rocky Linux.
I really hope some org from perhaps the BSDs will take over maintainership of Xorg instead of allowing RedHat to shutter it. Choice is good.
Nostalgia for X-Windows is just as naive. Since nobody even uses X-Windows networking any more, they'd be better off with SunView.
X-Windows is only free if your time is worthless.
And that even drives me to write more X code because looking into whether I could realistically do the same upgrades to my environment with Wayland has put me off every time (I could write a tiny wm or be forced to maintain my own compositor - even the "tinywl" wlroots example is several times the size of my current wm, while not doing what I want).
For me it is purely pragmatic. If/when it gets harder to keep my X setup running than migrating, I'll migrate, and I do what I can't to keep the X-specific parts of my code well isolated. But it's likely to take many years before migrating becomes easier than staying put at this rate - frankly, odds are what will make me migrate is if/when the browsers drop X support.
I use the simple but functional BSD stuff :)
> Since nobody even uses X-Windows networking any more
I still use it every day
% ls -lh =craicwm
-rwxr-xr-x 1 root root 1.2M Sep 17 2019 /usr/bin/craicwm*
This is my window manager; it's kind of a hacked-up thing I did myself for the craic. It works a bit different than many other WMs, and I spent a weekend or two on it and it's worked very well for my since. I last compiled it in 2019 (it's fairly large on account of being statically linked) probably to change some simple configuration thing. It's worked very well for me since."I use my home-grown WM" is an uncommon scenario, but "I have some specific thing written for X" isn't (this is just a bit of an extreme variant of that), and neither is "I'm rather used to my current setup, and I'd rather not change". I have a bunch of other programs that have no clear alternative; I've written some myself, some are by others. Perhaps my favourite is my wm-scratch[1] script to quickly show/hide a "scratch terminal" or other windows like Firefox devtools. I will need to re-create all of that. I don't even know if something like wm-scratch is possible under Wayland (maybe, maybe not?)
I know very few people who like X11 as such. In fact, I know no one who does, and never have. I do know a lot of people for whom X11 works "good enough", and don't feel like spending time changing things.
If this is a new argument for you then you really haven't been listening, because this is what many people have been saying for years.
As for systemd, my argument has always been "SysV init sucks, but so does systemd, and we have much better systems like daemontools". "SysV init sucks, so therefore systemd is the only possible answer" has always been one of the great fallacies of that entire discussion.
[1]: https://github.com/arp242/dotfiles/blob/master/local/script/...
That’s why RedHat 9, which still supports Xorg, has support until 2032.
X is 32 years old and Wayland has been the replacement for it going on 15 years! That's insane, it's time for distros to pick a side. Either continue to support X or switch to Wayland.
Ah yes, the time honored "if you can't reach feature parity, just make the old thing worse" strategy. That'll really win hearts and minds.
He who does the work in open source calls the shots. Nobody is working on X anymore as of like 10 years ago, holdouts need to put up and support X, or switch to Wayland. Sure Wayland needs work, but everything I can see says it is a better architecture and people are working on it.
Saying "hey, we don't want to keep supporting this product so we're going to stop" is not the same as "we want to make this go away, let's sabotage it." It's indigenous to equate the two. But you don't care right? The ends justify the means after all.
things can still change between the releases
RHEL 9 is supported until 2032, with the right support contract you might get even more years, idk.
so you have another ~8 years with Xorg on RHEL
and since RHEL made Wayland the default in RHEL8 (released mid 2019) it is clear for 3+ years that you _slowly_ have to start planing migrating to Wayland. Which means customer have around 10 years time to slowly plan and execute the migration.
Because they provide long term support. With RHEL10 being released in 2025, that would mean having to support Xorg up to 2035, which they obviously do not want.
Additionally, it would slow down the transition. Many would take it, that they have extra time and need not bother yet. By this announcement, it is clear that there are no extra years, clock is ticking, by 2029 the Xorg is dead.