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

Authorization required, but no authorization protocol specified #23

Open
adminy opened this issue Jan 4, 2025 · 1 comment
Open

Authorization required, but no authorization protocol specified #23

adminy opened this issue Jan 4, 2025 · 1 comment

Comments

@adminy
Copy link

adminy commented Jan 4, 2025

● hyprpolkitagent.service - Hyprland Polkit Authentication Agent
     Loaded: loaded (/etc/profiles/per-user/adminy/share/systemd/user/hyprpolkitagent.service; static)
     Active: active (running) since Sat 2025-01-04 13:22:43 GMT; 12min ago
 Invocation: ff7f7a34bc314f68b81477967b9d9d76
   Main PID: 1978601 (.hyprpolkitagen)
      Tasks: 7 (limit: 38279)
     Memory: 22.7M (peak: 24.1M)
        CPU: 72ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/hyprpolkitagent.service
             └─1978601 /nix/store/52lja17v4bzg04f88p23awmvd0hlrign-hyprpolkitagent-0.1.1/libexec/hyprpolkitagent

Jan 04 13:22:43 box systemd[1197]: Started Hyprland Polkit Authentication Agent.
Jan 04 13:22:43 box hyprpolkitagent[1978601]: New PolkitAgentListener  0xdeede40
Jan 04 13:22:43 box hyprpolkitagent[1978601]: Adding new listener  PolkitQt1::Agent::Listener(0xdeed470) for  0xdeede40

All seems good, however when I try:

sudo rpi-imager

Authorization required, but no authorization protocol specified

qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
@vaxerski
Copy link
Member

vaxerski commented Jan 4, 2025

your app is trying to forcefully connect to X while you don't seem to be running XWayland

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

2 participants