-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
sway (1.6) / wlroots (0.13.0) broke screen sharing and gnome3 pinentry popups #119445
Comments
Related: #112914. |
I can confirm the gnome3 pinentry ( I'm not using screen sharing on Wayland (yet) so unfortunately I cannot have a look into that. Edit: Might be unrelated but yesterday I've also had a
Another thing that changed with Sway 1.6: |
|
This comment has been minimized.
This comment has been minimized.
Ok, so I've had a closer look at this and all of my issues where surprisingly related to the I've executed There are two things that surprised me:
So I wondered where the So it seems like Sway's For a quick fix it should be enough to add |
This is to make sure screen sharing works after the upgrade to sway 1.6. See the issue here: NixOS/nixpkgs#119445
Sway updates it's WAYLAND_DISPLAY variable in a way dbus doesn't pick up on. Fix is taken from here: NixOS/nixpkgs#119445 (comment)
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/screen-sharing-with-wayland-gnome/12449/4 |
The default config.in template contains "include @sysconfdir@/sway/config.d/*" but we've dropped it to better support non-NixOS (which seems like a mistake in retrospect). This restores that behaviour and extends the default configuration via nixos.conf to fix NixOS#119445. Note: The security configurations (security.d) where dropped entirely (but maybe they'll return).
I've looked into that and opened #122605 as a potential fix (though it will only work for new users / when using the default |
This test is important to confirm that $WAYLAND_DISPLAY is correctly imported via "dbus-update-activation-environment --systemd" which is done by default since NixOS#122605 (00e8e5b). It ensures that the gnome3-pinentry pop-ups work as expected to avoid regressions like NixOS#119445 (which also broke screen sharing).
Describe the bug
The recent update of sway and wlroots seems to have broken screen sharing as well as gnome3 pinentry popups.
To Reproduce
Steps to reproduce the behavior:
I've built a system on 311ceed (current nixos-unstable, there neither of the mentioned things works).
But if I build a system on 04a2b26 (previous unstable, there both of the mentioned things works.).
I've then checked out 04a2b26 and copied the folders
pkgs/development/libraries/wlroots/
andpkgs/applications/window-managers/sway/
from master into my checkout and built a system based on the old unstable but with only those two packages updated. Then it's still broken. So it's at least isolated to those two packages.Expected behavior
I expect screen sharing to work.
I also expect to be able to unlock my security key from places where the ncurses interface doesn't work (like within Emacs).
Additional context
Here's my complete sway setup: https://github.com/etu/nixconfig/blob/main/modules/my-sway.nix#L465-L516
Notify maintainers
cc @primeos @Synthetica9 @Ma27
Metadata
"x86_64-linux"
Linux 5.11.9, NixOS, 21.05.git.04a2b269d89M (Okapi)
yes
yes
nix-env (Nix) 2.3.10
""
/etc/nixos/nix/nixos-unstable
Maintainer information:
The text was updated successfully, but these errors were encountered: