Changing brightness seems to freeze PolKit

Hi everyone.

I have the following problem on a fresh Tumbleweed install (Xfce version). First, when trying to change the brightness with Fn keys, the notification pops up but the brightness doesn’t change.

An important note: every time I write a command with sudo in the terminal I get the popup "Authentication is required to start transient unit ‘run-something.service’. So I think that these two are somehow connected.

At the same time, if I try to do a command with sudo after trying to change brightness, it freezes (no PolKit popup) and after a while I get the following in the terminal:

Failed to start transient service unit: Connection timed out

I’ve had the exactly same issue some time back when I first installed it in the end of March but then it went away on its own after a reinstall some time later. Not sure why, the “Authentication is required…” popups stopped appearing for sudo as well. But now the problem is back.

Thank you in advance and sorry for posting so much in one day but I’ve looked everywhere and the only relevant posts I found were from 2013-2014.

Alright, I have managed to figure it out. Posting the full solution so if anyone comes across this hopefully it will be useful. Don’t know if this is a bug or something I did wrong during installation but here we are.

First of all, the permissions dialog suggested to enter password for root even though I was logged in as a regular user (who I added to the wheel group beforehand). This made me think that maybe there’s something going on with sudo.

I decided to check

EDITOR=nano sudo /usr/sbin/visudo

But it didn’t exist and zypper suggested installing sudo which made no sense. When I tried installing it, I got:

the installed run0-wrappers-0.4+git20260203.bbbfcf8-1.2.x86_64 conflicts with 'sudo' provided by the to be installed sudo-1.9.17p2-2.1.x86_64

I was suggested to either delete run0-wrappers or cancel. So I deleted it and installed the regular sudo, which fixed the issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.