Bug 1218130 - Authorization required, but no authorization protocol defined
Summary: Authorization required, but no authorization protocol defined
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Tomas Cech
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-16 19:34 UTC by Kirelos Namroud
Modified: 2024-01-30 08:56 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirelos Namroud 2023-12-16 19:34:02 UTC
My environment: 
openSUSE Slowroll, openSUSEway (sway, greetd)
I'm getting the title's error in two specific occasions:
- Running YaST2 with xdg-su to run it from gui and not tui
- Running powertop --calibrate
I'm pretty sure there's an error and that it'd show up in other occasions, but it doesn't always happen (e.g. flatpak applications run properly even when requiring root access).
Still this makes impossible to run a proper powertop calibration and especially using yast2 gui.
Comment 1 hui 2023-12-16 20:32:58 UTC
What is the exact command used to open YaST2?
Comment 2 Kirelos Namroud 2023-12-16 20:40:02 UTC
(In reply to hui from comment #1)
> What is the exact command used to open YaST2?

wofi's yast menù entry executes this:

xterm -geom 60x5 -T xdg-su /sbin/yast2 -e -su -c /sbin/yast2

The error is reproducible using:

xdg-su -c yast2

An additional note is that the error does only happen on sway (wayland) but not on icewm (x11)
Comment 3 Michael Vetter 2024-01-30 08:56:22 UTC
Probably a xdg-su thing? Does that work on Wayland?