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

Plasma 6 can't open any applications with permission error #293053

Closed
Knifa opened this issue Mar 3, 2024 · 9 comments
Closed

Plasma 6 can't open any applications with permission error #293053

Knifa opened this issue Mar 3, 2024 · 9 comments
Labels

Comments

@Knifa
Copy link

Knifa commented Mar 3, 2024

Describe the bug

Plasma 6 (i.e., panels, desktop, etc.) won't open any applications at all, failing with a notification saying something like "You don't have permissions to execute this application". I was able to "escape" by creating a shortcut on the desktop to just konsole which opened successfully. Running plasmashell --replace solves the problem. SDDM or some such missing the correct PATH or env?

Last working commit I could figure out for me is 9daae56550c8883757d122c0fb1188f24ccfe7fd and at least broken for me by again 219c7a812bbad89c2be78e05c32fd80068c01a27.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Use Plasma 6.
  2. Bump nixpkgs to 219c7a812bbad89c2be78e05c32fd80068c01a27 onwards and rebuild.
  3. Reboot.
  4. Try to open any application via the launcher, icons, etc.
  5. Observe permission errors.

Additional context

Add any other context about the problem here.

Notify maintainers

@NickCao: possibly related to your PRs?

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.6-zen1, NixOS, 24.05 (Uakari), 24.05.20240228.34bab06`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/3vbnwzwngxs40lp8jfg3bcxcvfap4ifj-source`

Add a 👍 reaction to issues you find important.

@Knifa Knifa added the 0.kind: bug Something is broken label Mar 3, 2024
@Knifa Knifa changed the title Plasmas 6 6 can't open any applications with permission error Plasmas 6 can't open any applications with permission error Mar 3, 2024
@Knifa Knifa changed the title Plasmas 6 can't open any applications with permission error Plasma 6 can't open any applications with permission error Mar 3, 2024
@NickCao
Copy link
Member

NickCao commented Mar 3, 2024

I'm unable to reproduce this issue on the given commit.

@Knifa
Copy link
Author

Knifa commented Mar 3, 2024

Interesting! Thanks for testing. Swapping back and forth between two generations based on the two consistently breaks/unbreaks it for me so who knows what's going on. Fairly fresh with NixOS so not sure where to go from here!

Here's my config if anyone has any ideas.
knifa-nixos.zip

@NickCao
Copy link
Member

NickCao commented Mar 3, 2024

cc @K900

@ghost
Copy link

ghost commented Mar 4, 2024

This issue happens to me as well. In my case, doing a nixos-rebuild switch or a nixos-rebuild switch --upgrade causes the apps to no longer be able to open.

@ghost
Copy link

ghost commented Mar 4, 2024

IMG_20240303_172801122_HDR

@K900
Copy link
Contributor

K900 commented Mar 4, 2024

Can anyone reproduce this on a commit after #292748 ?

@NickCao
Copy link
Member

NickCao commented Mar 4, 2024

Might be related to #286522 (comment)

@Knifa
Copy link
Author

Knifa commented Mar 5, 2024

No longer running into this after pulling nixos-unstable today.

@jmarmstrong1207
Copy link
Contributor

No longer running into this after pulling nixos-unstable today.

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

No branches or pull requests

5 participants