9 ms·
The sad state of screen sharing on desktop Linux
- finchisko 7y agono screen sharing is terrible on x11 too. like accesing it from remote box unlocks local session for anybody around ti hijack.
- blinotz 7y agoCould you use an external capture device like an elgato which is about $100 And use it with obs to transmit your screen? Sorry speaking from ignorance about true nature of issue just a guess.
- dathinab 7y agoMaybe, through only for external monitor and potentially with limitations. Anyway compared to what technically it's possible (i.e. some clicks heard and there and it works), it's not really a acceptable solution.
- codebeaker 7y agoThe Elgato 4k HDMI capture card at least has no linux support and cannot be made to work. I believe the non-4k version can be made to work.
- numpad0 7y agoCan’t they create a virtual webcam device somehow
- herogreen 7y agoAlready possible: https://superuser.com/questions/411897/using-desktop-as-fake-webcam-on-linux https://superuser.com/questions/411897/using-desktop-as-fake...
- MayeulC 7y agoThis is actually a good idea. You could then route the video signals from the application you want (including the real webcam) to the virtual webcam. THis should be possible with pipewire already, but I don't know yet of a proper GUI mixer? That will appear soon enough, I guess?
- aussieguy1234 7y agoI seem to have no issues with Zoom
- filereaper 7y agoAnnotate on zoom still doesn't work, although it's rarely used in my teams workflows. Basic screen sharing does work as you said.
- Jedd 7y agoI've had good success with krfb / krdc -- but on both sides of that it's been one monitor only. TeamViewer is good, but ohmy is it expensive if you want to use it for commercial purposes. I've evaluated it for family support, and it's certainly robust -- they're not joking about the claims of very cross platform. But I haven't tested it with multiple monitors on either side. I haven't run Zoom on any of my computers, and after last year's revelations I'm unlikely to feel I should. x11vnc looks neat and seems to be relatively popular, but I've never had to dive into it.
- zwirbl 7y agoI use TeamViewer for family support as well and it works fine, can't tell about multiple monitors. What revelations regarding Zoom are you getting at?
- matthewheath 7y agoZoom installed a backdoor into their software.
- icebraining 7y agohttps://medium.com/bugbountywriteup/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5 https://medium.com/bugbountywriteup/zoom-zero-day-4-million-...
- zwirbl 7y agobest way to find out about a backdoored software I never used I guess
- kingosticks 7y agoNoMachine works well.
- cerberusss 7y agoOn what Linux distros do you have TeamViewer working well?
- mapleboi 7y agowell, for me, using zoom kinda solves the problem
- hendry 7y agohttps://whereby.com/ https://whereby.com/ works for me. No login required.
- reportgunner 7y agoSame here on debian, but only if I use chrome - doesn't work well on firefox for me.
- ykevinator 7y agoHad the exact same journey with discord and jitsi. Google meet is not bad but it won't do full screen.
- leni536 7y agoWorth looking into winswitch and x2go, I never used them for collaboration though.
- 7777fps 7y agoHacker news, where everyone proves the point by recommending a dozen different solutions.
- phaemon 7y agoThat doesn't make any sense. How does the existence of multiple solutions prove there aren't any solutions?
- Spivak 7y ago“Z doesn’t work on Linux. Sad” “That can’t be true because there are literally dozens of applications that can do Z, just not the ones your using.” At best you can say that companies making popular apps don’t bother with good Linux support which has pretty much always been true.
- sergiosgc 7y agoAnyDesk works flawlessly on Linux. It's used at my company for customer support, in a mix of Linux, Mac and Windows workstations. It supports multiple monitors and provides packages for major distros.
- Normal_gaussian 7y agoThe sad state of Discord and Jitsi? The following all work perfectly on my 3 monutor setup: * google meet * skype for linux * slack * a standard, from tutorial, webrtc screen share and chat I also use turboVNC to do control between my own devices (it has decent graphics support). I can't see what those three huge players are missing that the author needs. They've tried two smaller players and are decrying it as a platform issue. Plenty of other non hacker suggestions in this thread as well.
- huffmsa 7y agoIsn't discord supposed to be audio focused anyway? I thought it was GenZ's version of Ventrilo and Teamspeak
- jdkardia 7y agoIt's actually a bit more like a hybrid of slack and ventrilo, but for fandoms and gaming. I primarily use discord for group chats and playing TTRPGs online. but I'm also in several podcast fan servers (official and unofficial) where a community of folks with common interests congregates. Creators have really begun to actively use it to manage and engage with their fan-bases, and I bet there are some companies that use it as a slack alternative. This isn't even mentioning the wide variety of bots and integrations for Discord, or how private text chats can enable/switch to audio or video communication.
- brightball 7y agoSlack doesn’t. Only allows all screen sharing and not specific windows. Meet is perfect though.
- Normal_gaussian 7y agoIt can share specific monitors, just not windows. This satisfies the authors stated gripe (though they may be able to do window specific shares with Discord)
- 7y ago
- cygned 7y agoA colleague of mine streams one of his screens through VLC and then to Skype to have proper one-screen sharing.
- huffmsa 7y agoJust said this in my own post, but yeah, you can stream any arbitrary amount of screen with VLC
- huffmsa 7y agoNot sure if it works for Wayland, but you can stream any arbitrary amount of pixels to through VLC when on X11. Slack, zoom, Hangouts all work too. So maybe the problem is discord.
- JpMaxMan 7y agoZoom works well enough.
- fyfy18 7y agoJust don't try to annotate the screen (or let a viewer do it). I ended up with a blank screen over everything (even the task switcher) and no way to quit. Fortunately I had a keyboard shortcut to launch a new terminal, so used that then typed "killall zoom<enter>". It worked :D
- alxlaz 7y agoSpoiler alert: the author of the article is using Wayland. Lots of things aren't working on Wayland yet. (I'm also being pretty handwavy here about Wayland. Wayland "the protocol" isn't a piece of software you use -- lots of problems are not specific to Wayland, but to a particular compositor). Screen sharing works OK on Linux under X11. I can't remember the last time that was a problem. I was definitely doing it on a daily basis back when KDE was somewhere at a 3.x release, so before 2008. At least single-monitor setups work fine, I can't say I've tried it on multi-monitor setups in a very long time. When I did (that was so long ago my two monitors were bulky CRTs) it was OK but who knows, maybe it got broken in the meantime. I mean yes, once in a blue moon I run into a system that has a weird glitch, but that's just as true with Windows and TeamViewer. Every once in a while you run into a machine that just won't budge and you need to ask Google. That's true on any OS. (Before you tell me how you've had no problem with Wayland on your Thinkpad running Fedora 87 or Arch, yes, I get that. Making it work on everyone's laptop, and getting it to do what everyone needs, is a real hurdle in software development, and Wayland isn't even halfway there when it comes to this particular hurdle).
- Aardwolf 7y agoAren't working yet in Wayland, or never? Afaik they don't want programs to see each others pixels or input for security reasons (but thereby also breaking your own control over programs) so the following useful things will never be possible by design except with specific solutions on case by case basis (so: brittle) Screenshots, video capturing, automating mouse and keyboard input (autoclicking), screen sharing, ssh with graphics, clipboard in scripts, ... Or are those things planned anyway?
- tjoff 7y agoSway 1.4 (wayland window manager), just released, has this in the changelog: Support for VNC via wayvnc. https://github.com/swaywm/sway/releases https://github.com/swaywm/sway/releases Wayland/wl-roots compatible screen-recorder: https://github.com/ammen99/wf-recorder https://github.com/ammen99/wf-recorder
- alxlaz 7y ago
- fyfy18 7y agoI'm waiting for Tuple to launch their Linux version, but wonder if they ever will or this will just be a major blocker. Half my team uses Mac, the other half Linux and one Windows guy. Zoom works pretty well for calls, but I'd like something better for pairing.
- swiley 7y agoThe sad state of wayland on Linux.
- u801e 7y agoI wonder if anyone has tried using xpra for screen sharing. It does provide a watt to view the same application on multiple computers according to the documentation.
- MayeulC 7y agoTL;DR: make sure you have pipewire and xdg-desktop-portal installed, look up how to enable pipewire for your browser. It might help. Well, this blog post barely scratches the surface. The Linux userspace display stack is currently undergoing a big overhaul, following the changes that happened in the kernel a few years ago (DRI3, KMS, atomic modesetting, etc). All of this made Wayland possible. That, plus the fact that apps rasterize their surfaces themselves nowadays (GPU-accelerated trough OpenGL/Vulkan). So, here comes Wayland with a new security model: you can't spy on other windows, so you cannot hack together a desktop sharing solution. A proper, cross-desktop solution is actually being worked on: pipewire[1]. Pipewire aims to replace both pulseaudio and jack for audio, and bring video in as well. So you will be able to direct which video feed goes where, use the same webcam for multiple applications, and have applications take a video feed, transform it, and plug it elsewhere. You can see where this is fitting with desktop sharing: one feed per window, one feed per screen, one feed for the whole desktop, plus variants. Want to overlay a webcam? No problem. Everything is backed by Gstreamer for realtime hardware-accelerated video encoding/decoding. And the icing on the cake: Flatpak spearheaded the development of "portals"[2]: cross-desktop interfaces for individual programs to ask the user when accessing restricted resources (like a microphone, or a folder on your computer). So, what's needed here is: * Finish up pipewire and have it shipped on most distributions (should be installed in fedora 31, optional for sound in 32, default for sound in 33) * Have compositors talk to pipewire [3] * Have browsers and other software talk to pipewire [4] * ??? * Profit Good progress is being made on these points, except maybe the last? I expect support to start working out-of-the-box in some distros/browser/compositor combinations in 2020. Actually, support seems further along than I thought it was. But it seems that wlroots-based compositor haven't yet decided to support the xdg screensharing portal, and rely instead on a custom wayland extension. I wouldn't be surprised if such a portal is implemented for those. The main issue here is everyone waiting on everyone else before enabling/implementing it. But it looks like we're 80% there, and it just needs to be enabled in some cases (and pipewire installed). Then it will trickle down to most distros and electrons apps. However, I don't think legacy X apps will be able to continue sharing the desktop (they can still be shared by wayland capture programs, or capture the desktop if they implement the new interface). I guess pipewire might be able to create a virtual webcam for these, though. Valve might be working on their own stack with their "Gamescope" wayland compositor[5], for their streaming solution. And in the end, this should work much better, with hardware encoding, actual security, zero copy, etc. Hopefully there won't be a "next big thing" that breaks everything in just a few years. [1] https://pipewire.org/ https://pipewire.org/ [1] https://wiki.archlinux.org/index.php/PipeWire https://wiki.archlinux.org/index.php/PipeWire [2] https://flatpak.github.io/xdg-desktop-portal/portal-docs.html https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm... [2] https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.ScreenCast https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm... [3] http://jgrulich.cz/2018/03/06/screen-sharing-in-plasma-wayland-session/ http://jgrulich.cz/2018/03/06/screen-sharing-in-plasma-wayla... [3] https://jgrulich.cz/2018/07/04/how-to-enable-and-use-screen-sharing-on-wayland/ https://jgrulich.cz/2018/07/04/how-to-enable-and-use-screen-... [3] https://wiki.gnome.org/Projects/Mutter/RemoteDesktop https://wiki.gnome.org/Projects/Mutter/RemoteDesktop [3] https://www.reddit.com/r/linux/comments/8le7rm/first_steps_for_kde_screencast_on_wayland/dzfqftz/?context=8&depth=9 https://www.reddit.com/r/linux/comments/8le7rm/first_steps_f... [3] https://github.com/emersion/xdg-desktop-portal-wlr/issues/1 https://github.com/emersion/xdg-desktop-portal-wlr/issues/1 [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1496359 https://bugzilla.mozilla.org/show_bug.cgi?id=1496359 (looks disabled by default at compile time) [4] https://bugs.chromium.org/p/chromium/issues/detail?id=682122 https://bugs.chromium.org/p/chromium/issues/detail?id=682122 (pipewire disabled in chrome://flags until v81 due to waiting on https://github.com/flatpak/xdg-desktop-portal-gtk/issues/204 https://github.com/flatpak/xdg-desktop-portal-gtk/issues/204 "dialog hell" it seems) [4] zoom currently uses a gnome-specific screenshot API as a workaround: https://www.reddit.com/r/swaywm/comments/dr8yld/zoom_screenshare_via_screenshot_emulation/f6gfzds/ https://www.reddit.com/r/swaywm/comments/dr8yld/zoom_screens... [5] https://www.gamingonlinux.com/articles/valve-give-a-little-more-info-on-what-gamescope-actually-does-for-linux-gaming.15783/ https://www.gamingonlinux.com/articles/valve-give-a-little-m...
- vertex-four 7y agoTo be clear - the state of screensharing on Wayland is fairly interesting, and integrates a handful of new components. One of them is Pipewire, which is shaping up to be the replacement for things like Pulseaudio and JACK - it's a daemon and tooling for slinging audio and video streams around between processes. The other is xdg-desktop-portal - designed for use with Flatpak, it has now become a set of standard dbus APIs for interacting with your desktop manager and window manager on any Linux system. Specifically, org.freedesktop.portal.ScreenCast[0] gives you a Pipewire handle to the screen, possibly after asking for permission. This is supported in recent Firefox versions. There are xdg-desktop-portal implementations for GNOME, KDE, and wlroots-based compositors, although the wlroots implementation only supports screenshots so far, and does not yet implement screencasts. [0] https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.ScreenCast https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm...
- kyuudou 7y agoGNU screen and tmux have screen sharing. That should be enough, right?
- croon 7y agoOff topic comment: If the blog author reads this; it's very hard to read the blog with that background (reader view helps though).
- larrik 7y agoOn Linux Mint, I've had great success with Zoom, and Microsoft Teams of all things.
- teekert 7y agoI have no experience with this, but does anyone know how MS Teams work with screen sharing now that it is available for Linux?
- ph2082 7y agoI have used Skype, Zoom, Slack, Google Hangout, TeamViewer without any issue many many times on Ubuntu.
- crbelaus 7y agoThe multi screen sharing problem in Chromium is a known one. I've been following this patch for some time, and it seems to be close to release now: https://webrtc-review.googlesource.com/c/src/+/165724 https://webrtc-review.googlesource.com/c/src/+/165724 As other commenters say, latest Fedora has Wayland and Pipewire properly configured and by enabling a flag in Chrome/Chromium (search by "pipewire") it will run smoothly and allow you to choose which screen to share.
- luord 7y ago> But, given the productivity boost felt when given extra screen real-estate Really? Every time I've tried, I just end up hurting my neck so I'm pretty used to single screen and switching between the terminal and the browser.