401
submitted 11 months ago* (last edited 11 months ago) by joojmachine@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] sanpo@sopuli.xyz 7 points 11 months ago

And one of the first points is how Wayland crash will bring down all running applications - yep, just like on X11! But it's somehow Wayland's fault.

Besides the fact that on Wayland running apps can survive a compositor crash (I think new KDE will have that feature), which I doubt can be done on X11.

[-] 30p87@feddit.de 3 points 11 months ago

And I had exactly zero crashes of Wayland in my life, on any device.

[-] lemmyvore@feddit.nl 2 points 11 months ago* (last edited 11 months ago)

An X session depends on the main user process. Unless a DE picks the compositor as the main process then no, a compositor crash won't affect the session. But they don't do that, for obvious reasons, since the compositor is just a feature among others. They typically have a special program that takes that role, for example xfce4-session.

And one of the first points is how Wayland crash will bring down all running applications - yep, just like on X11! But it’s somehow Wayland’s fault.

They said that a Wayland window manager will bring down all apps, not a Wayland crash. Which, again, is not like it works on X, as I explained above. The window manager on X, like the compositor, is just another feature. If it crashes it just gets replaced and the session continues.

[-] SomethingBurger@jlai.lu 0 points 11 months ago

This is not what they are saying.

A crash in the window manager takes down all running applications

This does not happen on Xorg. If the WM crashes, it's possible to kill it and restart it without exiting running applications.

[-] Hexagon@feddit.it 4 points 11 months ago

A WM crash does not bring down all the other applications... but an X11 server crash definitely does!

In wayland they are the same program (a.k.a. the compositor). User applications can be designed to survive a compositor crash, though many are not able yet

this post was submitted on 13 Nov 2023
401 points (97.6% liked)

Linux

47760 readers
951 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS