3 ms·
I had the same problem with screen share not working in Firefox. It simply gave an empty list of things to pick from to share. After, idk, half a year or so,
by eqvinox 3y ago
I had the same problem with screen share not working in Firefox. It simply gave an empty list of things to pick from to share.
After, idk, half a year or so, I gave it a fifth(?) try, it still didn't work, and I googled the problem once more. Lo' and behold: you have to install xdg-desktop-portal to get screen share functionality. I installed it, and it worked.
Now there's 2 problems with this:
1. the UX is F'ing punching out the bottom of the barrel. There is no hint, no error message, no breadcrumb to tell you what's going on. You just get an empty list of sharing choices and are left completely befuddled. Cool.
2. xdg-desktop-portal, first hit when you look it up, starts its description with "A portal frontend service for Flatpak and possibly other desktop containment frameworks." What the F does that have to do with screen sharing? (Apparent answer: …sandboxing/access control?) If you dig more, you do get told that it does screen sharing, but with a first hit noodling on about "Flatpak" … "desktop containment" why would you even be inclined to dig deeper?
The irony of an UI project being this oblivious about dealing with users is… well.
- nurettin 3y agoxdg-desktop-* just goes 100% cpu. It's the first process I kill after booting Fedora. I'd appreciate if xorg folks implemented whatever hippie nonsense millennials want so that we can go back to 20 years ago when everything worked fine.
- ebiester 3y agoI don’t remember everything working fine in 2003. I remember it being a cluster, especially with audio.
- nurettin 3y agoHmmm 2003 was pretty good for me. (or was it 2002?) I was one of the first people who did a wget on the Fedora 1.0 iso download link on freenode/#fedora xmms worked fine after installing.
- kaba0 3y agoHippie nonsense like an npm install not installing any keylogger with arbitrary internet access without even trying? Or multiple screens with different resolutions?
- nurettin 3y agoI've had multiple screens with different resolutions in xorg since 2008 (one laptop, one monitor setup). How is npm even related? Are you just generating responses?
- kaba0 3y agoWhat kind of security does your typical linux desktop has? I help you, basically none. Something as “benign” as an npm install could do basically anything on your computer, besides installing a video card driver (as per the old xkcd, but nothing improved since). At least wayland took a new approach that is not as naive as the previous millenium’s stance on security.
- nurettin 3y agoI'm really not understanding how npm security is related to wayland security. Do you mean sending everything through dbus in plain text format? Yes, wayland wet the bed on that one. If npm is the only thing you know and want to talk about, and you have no idea what the security weaknesses introduced by wayland or xorg are, maybe do it in another thread?
- kaba0 3y agoNpm is a random executable that happens to be common. It can run arbitrary code and linux userspace is basically beyond useless in securing anything meaningful about itself. That Documents/FamilyPhotos album? Completely read-writable, I can just send the whole content to any IP address. One might say that you can run it in firejail or so, but noone does it. But here comes the graphics-related problem: even with firejail, any X program has basically unrestricted access to your whole screen and every key event without any form of security. This is basically unsolvable without nesting x sessions, or.. throwing away the whole of X and starting afresh with better primitives, a la wayland.