https://bugs.kde.org/show_bug.cgi?id=519859
--- Comment #1 from ewerton <[email protected]> --- **Additional system information and test results:** ### System details - **Distribution:** KDE Linux (Alpha, immutable) – base similar to Fedora Kinoite - **No traditional package manager** (dnf/pacman/apt) – only `updatectl` and Flatpak - **Service status:** `plasma-kwalletd.service` does **not** exist on this system (not installed). Relevant because `xdg-desktop-portal` logs: ### What did NOT work (tested) - `KWIN_SCREENSHOT_NO_PERMISSION_CHECKS=1 spectacle` – same error, no change - Flameshot (Flatpak) – same "not authorized" error - Restarting `xdg-desktop-portal` and `xdg-desktop-portal-gtk` – no effect - Removing `~/.local/share/applications/org.kde.spectacle.desktop` – no effect - Adding `export KWIN_SCREENSHOT_NO_PERMISSION_CHECKS=1` to `~/.profile` + logout/login – no effect ### What DOES work (bypassing the portal) - **grim + slurp** (use `wlr-screencopy` directly, not the portal) – successfully captures screenshots. - **Plasma (X11) session** – screenshot works normally. This confirms the issue is specific to kwin_wayland's portal registration, not a fundamental Wayland screencopy problem. ### Relevant error (already in journal) ### Hypothesis kwin_wayland cannot access `/proc/[PID]/root` due to mount namespace restrictions in the immutable system, preventing registration with `xdg-desktop-portal`. This blocks all screenshot tools relying on the portal (Spectacle, Flameshot, PrintScreen). Let me know if you need more logs or specific tests. -- You are receiving this mail because: You are watching all bug changes.
