Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wayland fedora 36 #860

Open
Akimm113 opened this issue Dec 20, 2022 · 9 comments
Open

wayland fedora 36 #860

Akimm113 opened this issue Dec 20, 2022 · 9 comments

Comments

@Akimm113
Copy link

Doesn't show image on wayland, works on xorg after service restart. Fedora 36

@barak
Copy link

barak commented Apr 15, 2023

The transition from X11 to Wayland is pretty far along: Wayland is the default for Redhat, Debian, and Ubuntu. It's still possible to run X11 sessions for many desktop environments (like Gnome) but X11 will start withering away pretty soon.

@tobydox
Copy link
Contributor

tobydox commented Apr 17, 2023

I'm aware of that. Unfortunately Wayland has no mechanism for capturing the screen without explicit consent of the user (through the Desktop Portal interface). While it's fully understandable from a security point of view, it effectively prevents monitoring applications such as Veyon to work properly in that case since a student explicitly has to grant the access every time. Teachers would always have to rely on the cooperation on the students. So unless there's another technical approach/interface we have to tell Veyon users to continue using X11 :-(

@barak
Copy link

barak commented Apr 18, 2023

This seems like something that the Wayland people might want to know about? It seems straightforward in principle to allow some sort of extra authentication mechanism for root processes or something like that. Or maybe the desktop portal interface can be hotwired to automatically and silently consent when appropriate.

@tobydox
Copy link
Contributor

tobydox commented Apr 19, 2023

Yes, a technical solution granting special apps immediate and permanent access to user sessions would be optimal. Any support in getting such an extension done is welcome.

I already started both a Pipewire as well as WayVNC-based implementation 2 years ago (https://github.com/veyon/veyon/tree/pipewire) but did not continue the work on it due to the mentioned challenges.

@Conan-Kudo
Copy link

This is something that should be requested in the xdg-desktop-portal repo: https://github.com/flatpak/xdg-desktop-portal

That way, a solution can be designed that is desktop agnostic that can be deployed for managed machines like ones deployed by schools.

@Conan-Kudo
Copy link

I've created an issue about this, please add (useful!) commentary to provide context for the developers there: flatpak/xdg-desktop-portal#1105

@idoric
Copy link

idoric commented Sep 25, 2023

@tobydox On the issue created by @Conan-Kudo (see previous comment), there is a question which deserves your clarification since Veyon is directly concerned. The question is: "can you expand exactly what scenarios Veyon needs pre-authorization?"

@mercifulboss
Copy link

mercifulboss commented Nov 26, 2023

I'm aware of that. Unfortunately Wayland has no mechanism for capturing the screen without explicit consent of the user (through the Desktop Portal interface). While it's fully understandable from a security point of view, it effectively prevents monitoring applications such as Veyon to work properly in that case since a student explicitly has to grant the access every time. Teachers would always have to rely on the cooperation on the students. So unless there's another technical approach/interface we have to tell Veyon users to continue using X11 :-(

What about using xwaylandvideobridge? It allows screensharing on basically every app with no problems. This bypasses all the problems you mentioned and works on every browser, zoom, teams, discord, etc.

https://blog.davidedmundson.co.uk/blog/xwaylandvideobridge/

Wasn't able to figure out how to screen record via the software (honestly i'd just use obs for that) but I was able to have the system work on Wayland:
Screenshot_20231125_225544
Screenshot_20231125_230121

The only problem was that when you initially start monitoring the screen is laggy - this is fixed by switching windows on the monitored machine.

@idoric
Copy link

idoric commented Mar 21, 2024

What the Epoptes project plans to do on this subject can also serve as a source of inspiration: epoptes/epoptes#184.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants