News for hackers. Stuff that matters.
Re:Dropping GNOME's X11 session approved for Fedora 41 by petepete on Thursday March 07, 2024 @02:08AM (#39625985)
I think this is a good move. Wayland has been stable for me for years. I hope it prompts companies like Slack to sort their apps out.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @02:26AM (#39626149)
"Works on my machine" is never a good argument for something AFAICS. There are still many edge cases and paper cuts with many Free and Open Source applications.

Yes, it'll push developers a little harder, but we will see tons of complaints in the beginning. This will take another ~2-3 years to be sorted out. While X11's codebase is known for its state, it's working well at this point.

Re:Dropping GNOME's X11 session approved for Fedora 41 by petepete on Thursday March 07, 2024 @04:29AM (#39626970)
If it was just me then yeah.

Thankfully enough people have made it for Fedora to be convinced it's a good idea. Other distros will soon follow (as always) and X11 will wither. Finally.

Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @04:36AM (#39627012)
I'm member of other communities and at least one person is talking about something not working on Wayland, but working on X11, so we still have ~2-3 (up to 5) years.

X11 will not wither overnight. There are still things which are very dependent on X11. Remote connections comes to my mind, for example.

Lastly, not all distributions are followers. Debian (testing at least), installs Wayland by default, but not enables it. It's installed on my system for a couple of years now.

Re:Dropping GNOME's X11 session approved for Fedora 41 by petepete on Thursday March 07, 2024 @05:41AM (#39627387)
> I'm member of other communities and at least one person is talking about something not working on Wayland, but working on X11, so we still have ~2-3 (up to 5) years.

Thankfully I don't have to, I want shiny new software thanks.

> Remote connections comes to my mind, for example.

Nobody uses them any more.

Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @05:44AM (#39627415)
> Thankfully I don't have to, I want shiny new software thanks.

That's a choice. I prefer uptime more, for example. I use boring technology to create fun things.

> Nobody uses them any more.

You should follow X2Go users' & OpenOnDemand mailing lists. They're very heavily used by some significant groups (e.g. scientists).

Re:Dropping GNOME's X11 session approved for Fedora 41 by toyg on Thursday March 07, 2024 @06:37AM (#39627798)
Remote connections are dead, Netcraft confirms.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @08:53AM (#39629060)
They lied to you.
Re:Dropping GNOME's X11 session approved for Fedora 41 by toyg on Thursday March 07, 2024 @08:56AM (#39629101)
I fear my slashdot joke was not appreciated. Infamously, a post on Slashdot once stated (probably 20 years ago) "OpenBSD is dead, Netcraft confirms" - Netcraft's methods were then widely ridiculed, and obviously OpenBSD continues to be very much alive to this day.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @09:08AM (#39629230)
I remember reading that, but failed to make the connection (hah!). Probably a bit too tired from physical sysadmin work.
Re:Dropping GNOME's X11 session approved for Fedora 41 by NoGravitas on Thursday March 07, 2024 @09:06AM (#39629204)
You can run remote applications with Wayland now: https://access.redhat.com/documentation/en-us/red_hat_enterp...

There is also a VNC server for fullscreen sessions (only supports wlroots compositors for now): https://github.com/any1/wayvnc

Re:Dropping GNOME's X11 session approved for Fedora 41 by Dalewyn on Thursday March 07, 2024 @03:09AM (#39626443)
Since Fedora is ostensibly the bleeding edge distro second only to the likes of Arch, it seems reasonable for the dev nudging to start(?) happen(ing?) there.
Re:Dropping GNOME's X11 session approved for Fedora 41 by NekkoDroid on Thursday March 07, 2024 @04:35AM (#39627005)
I get where you are coming from with the bleeding edge comment, but Arch is not really experimental levels of cutting edge, they just try to follow upstream as close as possible. Fedora OTOH is happy to do these kinda non-upstream stuff to actually bring stuff forward.
Re:Dropping GNOME's X11 session approved for Fedora 41 by NoGravitas on Thursday March 07, 2024 @09:07AM (#39629214)
Fedora essentially is upstream, when it comes to desktop Linux.
Re:Dropping GNOME's X11 session approved for Fedora 41 by Zetaphor on Thursday March 07, 2024 @03:21AM (#39626522)
People seem to either ignore or just not be aware of this. Fedora has always been the first mover. If that's not what you want you should be using a different distro. Ubuntu will be supporting an LTS version with X11 for many more years.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @03:25AM (#39626551)
Personally I'm very aware, and not against that. Just wanted to point out that a single "I'm running it without problems for years" experience is not a high quality signal for state of any piece of software.

I have experienced "very fun" problems with a "supported NVIDIA card with official drivers that support that card", while people said that they are using theirs without any problems for years.

Re:Dropping GNOME's X11 session approved for Fedora 41 by toyg on Thursday March 07, 2024 @06:35AM (#39627782)
> This will take another ~2-3 years to be sorted out.

Lol, I almost spit my coffee all over the keyboard... That timeframe is wildly unrealistic.

It will take the best part of a decade from the time all major distros switch their defaults (i.e. RedHat, Debian, Ubuntu, SuSE) to get to a point that could be considered stable (i.e. where the average user won't encounter breakage as soon as they run an app that was not part of the default install). And even then, lots of debris will be left floating, because nobody is going to update some small app from 2005 or even old releases of QT and GTK.

The Linux desktop is currently going through its Vista moment, and it's going to go on for a very long time.

Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @08:53AM (#39629054)
Be careful. Space cadet keyboards are rare and expensive.

I don't know about RedHat, but Debian already ships Wayland in Testing. Maybe current stable also has in its default installation I need to check. Tons of people are using it on Ubuntu, too.

So while ironing out everything will take even more than that, I assume a full decade starting today, first 90% will take ~2-3 years. As we know, second 90% doesn't really finish. Even today, X11 can be broken in interesting ways.

OTOH, there'll be always some debris left. It's same for Windows and macOS, too. Only difference is, Windows ships its old versions as WoW subsystems or invisible diversions for more than two decades now.

People always see the applications they use, but there's another world where people update extremely old programs or develop shims to keep them working. Linux ecosystem is an elephant now. And since people can see and feel different parts of it, everybody tells something different about it. It's much more complex and layered than it seems.

Vista moment? Even KDE4.x was better than that thing with all its bugs. Hah.

Re:Dropping GNOME's X11 session approved for Fedora 41 by raffraffraff on Thursday March 07, 2024 @02:27AM (#39626159)
But surely... Gnome shouldn't be dropping X11 sessions until Slack do get their shit together? (And I'm not just talking about Slack obviously). I get it, people are lazy, but I don't like these gun-to-the-head upgrades because the users are the losers.

FWIW I tried to switch to Wayland 3 times in the last year before finally making it stick. I had to change a ton of silly little things, like:

- grepping through my .config and /etc for any mention of xclip and switching to wl-copy (vimrc, tmux.conf to name two)

- enabling webtrc on browsers so that screen sharing works in web apps (MS Teams still refuses to work)

I don't know if there's a good source of migration tips that covers all of these things in one place so you can search for the things that affect you. But on a work machine, switching across can result in random minor disruptions over a week, some of them in the middle of meetings. And if you're having "one of those weeks" you need to switch back to what works.

Even now on OpenSUSE Tumbleweed, a bleeding edge rolling distro with excellent wayland + kde plasma support, I still run into the odd issue that makes me wanna switch back. Disappearing cursor is one. It's totally random, but if I click on a text input box on a browser, I get no text cursor. WTH.

Re:Dropping GNOME's X11 session approved for Fedora 41 by crote on Thursday March 07, 2024 @03:53AM (#39626718)
It's a chicken-and-egg problem. Apps like Slack don't want to invest time in supporting Wayland: just ask the user to switch to an X11 session! But Gnome shouldn't drop X11 support until all apps work on Wayland. In other words, we're stuck with X11 apps forever.

Someone eventually has to break the stalemate, and Fedora is usually the distro making the switch first. Its users are used to stuff like this, and it serves as a nice heads-up for app developers to get to work because it'll land in RHEL within a year or two and you can't really claim Linux support if your app doesn't work on RHEL.

Re:Dropping GNOME's X11 session approved for Fedora 41 by raverbashing on Thursday March 07, 2024 @03:33AM (#39626594)
Why is wayland not shipping xclip (could be just a symbolic link to wl-copy)

This is the kind of thing that makes it harder on people to switch

The lack of focus and backwards compatibility in the open source world is appaling. As much as I like to complain about systemd it is not surprising it came to replace 3 scripts in a long coat

Re:Dropping GNOME's X11 session approved for Fedora 41 by sloowm on Thursday March 07, 2024 @04:41AM (#39627035)
Gnome is not dropping X11, Fedora is. X11 will still be in Ubuntu 24.04 and can be used for 5 years. By that time there will be extensive hacks to even support the worst apps that refuse to properly support Linux desktops.
Re:Dropping GNOME's X11 session approved for Fedora 41 by martinsbalodis on Thursday March 07, 2024 @02:17AM (#39626078)
Slack is the only reason why we switch back to X11. It's because screen sharing doesn't work on Wayland.
Re:Dropping GNOME's X11 session approved for Fedora 41 by prmoustache on Thursday March 07, 2024 @03:02AM (#39626398)
I had the same issue with Teams a few years ago and I just switched to the browser version. Teams app was buggy anyway. No big deal.

The good thing with the browser version is rolling updates are immediate, no need to upgrade a flatpak or rpm. And if they fuck up, rollback is also immediate.

Also this is about removing the gnome x11 session package from the default install. That doesn't mean you can't run X11.

Having said that I don't know who would want to keep using X11 AND choose Fedora as its goto distro. This is a distro whose purpose is to push forward these kind of stuff, there are a number of much more conservative distros available and one could argue that if you are conservative and want to stay in the RPM/RH family you can use RHEL or a derivative distro such as Almalinux or Rocky. That is what I use on the media center computer in my living room for other reasons[1]. Back in the day someone would complain about outdated package but nowadays with tools like flatpak, podman and the toolbox this is just not true anymore.

[1] I don't power it up so often. I don't want to have tons of packages to update every time I power it up to watch a show on streaming. All I want is to be able to upgrade the browser's flatpak.

Re:Dropping GNOME's X11 session approved for Fedora 41 by petepete on Thursday March 07, 2024 @04:12AM (#39626874)
I use Slack in a Chrome tab and screen sharing works perfectly there. I don't know how they've managed to fuck their app up so much it just shows a black rectangle.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bogdan on Thursday March 07, 2024 @02:21AM (#39626119)
It does with the browser version. Is there any reason to use the non browser version? 1 less v8 instance running
Re:Dropping GNOME's X11 session approved for Fedora 41 by raffraffraff on Thursday March 07, 2024 @03:04AM (#39626406)
It's weird that it doesn't work since it uses webrtc for huddles. That's precisely what I had to enable in the browser to get various screen sharing websites to work.

Btw, this isn't for slack but teams: I use the website because their Linux app blows, but I actually use a totally different browser (chromium) to my main browser (firefox) intentionally. Occasionally when teams takes 100% cpu and memory for no reason, I can 'pkill chromium' without nuking firefox. So the "one less engine" argument wouldn't convince me.

Re:Dropping GNOME's X11 session approved for Fedora 41 by bayindirh on Thursday March 07, 2024 @02:28AM (#39626165)
> Is there any reason to use the non browser version?

Making it completely disappear to a tray icon.

> 1 less v8 instance running

I doubt. With process isolation, I guess every tab runs its on V8. Otherwise, oh boy.

Re:Dropping GNOME's X11 session approved for Fedora 41 by bonzini on Thursday March 07, 2024 @02:58AM (#39626383)
Tabs are sharing the code though, because it comes from the same binary. Every electron app instead has its V8 and Blink in a separate binary that has to be loaded into its own RAM.
Re:Dropping GNOME's X11 session approved for Fedora 41 by MikusR on Thursday March 07, 2024 @04:06AM (#39626822)
I suggest you open your systems version of task manager. All those chrome processes are loaded in their own ram.
Re:Dropping GNOME's X11 session approved for Fedora 41 by kaba0 on Thursday March 07, 2024 @04:57AM (#39627145)
That’s just sandboxing. They still share a significant amount of resources.
Re:Dropping GNOME's X11 session approved for Fedora 41 by bonzini on Thursday March 07, 2024 @05:52AM (#39627471)
Sharing of read-only pages from the executable is done at the kernel (page cache) level. I agree that for example JIT compiled code is not shared.
Re:Dropping GNOME's X11 session approved for Fedora 41 by kaba0 on Thursday March 07, 2024 @04:54AM (#39627135)
Why even install these web apps separately? You can even just create a shortcut for them that opens them in a separate browser window if you need that.
Re:Dropping GNOME's X11 session approved for Fedora 41 by k8svet on Thursday March 07, 2024 @08:21AM (#39628721)
I've been screen sharing my desktop (sway) for years at my job. Years is not an exaggeration.

What do Discord, Slack, and Nvidia all have in common?