News for hackers. Stuff that matters.
Re:The death watch for the X Window System has probably started by rspeele on Sunday July 07, 2019 @03:07PM (#20377081)
I can't say it any better than JWZ did over 15 years ago. This is the result of the Cascade of Attention-Deficit Teenagers model and is why Linux will not approach Windows or OSX in usability.

Cannot link to his site:

JWZ dot org /doc/cadt.html

A complete teardown and rebuild of the whole ecosystem (because X succccckkks) is fun! Making something backwards-compatible, or standardized, or polished that "last 90%" so it works on everybody's environment... is not.

Re:The death watch for the X Window System has probably started by _emacsomancer_ on Sunday July 07, 2019 @03:16PM (#20377145)
Four or five years ago I had contacted jwz about what seemed to be a glitch in the Pac-Man Xscreensaver (sometimes the blue maze and dots wouldn't appear). He suggested it was likely a video-driver issue, potentially tied to hardware acceleration. I had replied something along the lines of "oh well, probably things like this will get better with Wayland, even if it introduces other issues".

His response was: "LOL! Yeah you can't even imagine how much worse it's gonna get. Pretty soon the Linux desktop will just be a little hammer that pops up and smashes your knuckles at random."

Re:The death watch for the X Window System has probably started by xorcist on Sunday July 07, 2019 @03:18PM (#20377156)
The CADT development model is very real, but it's not really a good description of the Xorg situation. The most active Wayland developers are not only also Xorg developers but have been so for a very long time. They know their history.

X11 has some fundamental problems. It's not fun using a modern desktop where it is impossible to sandbox individual applications. Firefox frequently processes untrusted data and is run with a dedicated uid, but it is also an interactive application and can suddenly listen in on all my passwords entered in other applications. Virtualized appliations are referred to using dumber protocols like VNC and SPICE which isn't always ideal.

Wayland has some interesting design issues on its own but that doesn't make the developers ignorant. XWayland will stick around for the foreseeable future.

Re:The death watch for the X Window System has probably started by altfredd on Sunday July 07, 2019 @08:59PM (#20379102)
> The most active Wayland developers are not only also Xorg developers but have been so for a very long time

Amusingly, I often hear this argument from Wayland proponents. Do they realize, that those very same developers have failed at maintaining Xorg code base and fixing it's bugs in backward compatible way?

To run a project into the ground and wash one's hands of it... is not worthy of endorsement.

Re:The death watch for the X Window System has probably started by xorcist on Monday July 08, 2019 @05:08AM (#20381116)
It's important to know that there were once many implementations of X11. Xorg is the only one that hasn't failed. Everything else is unmaintained now.

This may be a matter of different perspective, but from my point of view the Xorg maintainers did a monumental work modularizing and cleaning up the codebase. They kept integrating modern extensions and have kept X11 relevant all this time. Try something pre-Xorg to compare.

Re:The death watch for the X Window System has probably started by danShumway on Sunday July 07, 2019 @09:33PM (#20379257)
> To run a project into the ground and wash one's hands of it... is not worthy of endorsement.

But to run a project into the ground and not wash one's hands of it is an even worse endorsement.

You might not trust the Xorg devs to develop you a new window system, but at least you'd trust them to know if their own, existing code has fundamental problems.

Re:The death watch for the X Window System has probably started by posix_me_less on Monday July 08, 2019 @07:54AM (#20381934)
You can (kind of) sandbox Firefox with X11 today. Just run it as untrusted X11 client with privileges of untrusted uid. Downsides:

* this does not always work for other programs, and for Firefox you need to turn off bell events in about:config to avoid random crashes;

* (this may be upside depending on what your expectations are) X clipboard is still shared in the host->client direction.

Re:The death watch for the X Window System has probably started by southerndrift on Sunday July 07, 2019 @05:09PM (#20377869)
Can't you use ssh and connect to localhost with the -Y option to sandbox an X app?
Re:The death watch for the X Window System has probably started by tlb on Sunday July 07, 2019 @05:19PM (#20377932)
No. An X11 connection forwarded with -Y can receive all keyboard events, capture all screen pixels, inject mouse/keyboard events and read/write the clipboard. A malicious X11 client app can totally pwn you, forwarded or not.
Re:The death watch for the X Window System has probably started by aswellian on Monday July 08, 2019 @12:46AM (#20379967)
A bit more involved, but seems to achieve the desired result: https://www.dragonflybsd.org/docs/handbook/RunSecureBrowser/
Re:The death watch for the X Window System has probably started by ubercow13 on Monday July 08, 2019 @02:42AM (#20380415)
Does Windows not have those same fundamental problems?
Re:The death watch for the X Window System has probably started by soulofmischief on Sunday July 07, 2019 @03:46PM (#20377335)
X does suck, it's incredibly insecure and the workarounds for regaining some sense of application isolation are obtuse and resource-draining. I could go into all the little technical details but the fact is, X has been around for decades and its core was made for much simpler machines.

It's time for something new. This isn't attention-deficit developers at play. People have spent a lot of time on the Wayland ecosystem. This isn't just some kids hacking away in their basements ignorant of better development practices.

You argument holds up for many Linux components, but not for X/Wayland. It's preposterous to take the stance that no component in the entire Linux ecosystem ever needs to be replaced.

Re:The death watch for the X Window System has probably started by noobermin on Sunday July 07, 2019 @06:17PM (#20378331)
Is a complete rewrite needed? Can't you break and fix the parts that make application isolation impossible but keep everything else?
Re:The death watch for the X Window System has probably started by soulofmischief on Monday July 08, 2019 @09:41AM (#20382598)
X is very interdependent, and a lot of it isn't fully modularized. When you need to change the entire foundation, knocking down a few walls won't get you there.

It sucks, I know. Decades of hard work "gone". But think of it this way, isn't it often said you shouldn't be afraid to throw away old prototype code? X is a decades-long foray into graphical computing, but perhaps it's time to throw away the prototype and start over with what we've learned from the process.

Re:The death watch for the X Window System has probably started by sprash on Sunday July 07, 2019 @04:15PM (#20377525)
> it's incredibly insecure

I hear this all the time. But so far there was not even one incident where major hack was done via X11.

The reason for that is that people who use X also exclusively use trusted apps. The Wayland security model makes many generic tasks insanely complicated. The real world security gains will be zero. Security through obscurity never worked.

Re:The death watch for the X Window System has probably started by brohee on Sunday July 07, 2019 @04:33PM (#20377655)
You only have to ssh to a compromised machine with X11 forwarding enabled to be quite exposed...
Re:The death watch for the X Window System has probably started by soulofmischief on Monday July 08, 2019 @09:38AM (#20382581)
Poison a single common open-source daemon which is used in a lot of systems; That daemon will have access to all keystrokes, window content, etc.

> The reason for that is that people who use X also exclusively use trusted apps.

Well that's just not true. What does trusted mean? Most of the software on our desktops is unaudited. We don't have insight into the entire chain of deployment for more than a handful of applications we feel like keeping up with.

On a side note, that would be a wonderful service; A man-like utility which simply displays change-logs coupled with relevant source-code diffs. Reduces the surface of trust down to one party. Something like that would require financial backing, however.

Re:The death watch for the X Window System has probably started by dredmorbius on Sunday July 07, 2019 @04:10PM (#20377495)
Re:The death watch for the X Window System has probably started by _emacsomancer_ on Sunday July 07, 2019 @04:59PM (#20377806)
> This is the result of the Cascade of Attention-Deficit Teenagers model and is why Linux will not approach Windows or OSX in usability.

While I definitely agree with the CADT issue; despite it, the Linux desktop experience still beats the Windows or OSX one. If the Linux desktop is "a little hammer that pops up and smashes your knuckles at random", the Windows and Mac desktops are big hammers that smash various body parts at random.

Re:The death watch for the X Window System has probably started by jcranmer on Sunday July 07, 2019 @05:57PM (#20378195)
Windows and OS X are well-known for constantly deprecating APIs and replacing them with new ones. So clearly the best way to compete with them is to insist on dogmatic adherence to 30-40-year old APIs that are known to be horrible matches for how modern software stacks (including competitor OSes) actually work.
Re:The death watch for the X Window System has probably started by p_l on Sunday July 07, 2019 @06:41PM (#20378461)
Windows supports core APIs for longer than Linux, or in fact, X11 exists.

It's actually possible (and was demonstrated) to upgrade from 1985 Windows 1.01 all the way up to 32bit Windows 10 and run windows 1.01 application without changes.

Arguably backward compatibility is the true reason how MS got to dominate OS market - you had good chance your software was just going to work on new OS version.

Re:The death watch for the X Window System has probably started by i386 on Monday July 08, 2019 @12:01AM (#20379801)
MacOS recently rewrote their window manager and apps still work. That’s the last 10%.
Re:The death watch for the X Window System has probably started by Sebb767 on Sunday July 07, 2019 @03:12PM (#20377125)
Re:The death watch for the X Window System has probably started by claudiawerner on Sunday July 07, 2019 @03:14PM (#20377134)
Well that's because if you click on that link from HN it uses the referrer details provided by your browser to show quite a rude message and picture ;)
Re:The death watch for the X Window System has probably started by tambourine_man on Sunday July 07, 2019 @04:12PM (#20377506)
Wow, never seen this before.

I don’t get the animosity HN sometimes revives.

I don’t really care for startup stuff and I just ignore it, but the average level of discussion here is extremely high. One of the best in the web.

Compare HN to Twitter or Reddit and it’s night and day, and it has been for years.

Re:The death watch for the X Window System has probably started by jessaustin on Sunday July 07, 2019 @11:27PM (#20379663)
This particular juvenile humor says more about JWZ than about HN. Just look at the example ITT. The "CADT" metaphor doesn't have much to do with the developers either of X or of Wayland.