ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.1k stars 151 forks source link

Authorization not available. Check if polkit service is running or see debug me. #1480

Open kseou opened 3 months ago

kseou commented 3 months ago

Describe the bug

When running neofetch I'm getting the following message: 'Authorization not available. Check if polkit service is running or see debug me.' and a flashing keypad icon alonside the output from neofetch

What did you expect to happen?

The message to not appear and neofetch outputting standard information?

Output of rpm-ostree status

rpm-ostree status
Authorization not available. Check if polkit service is running or see debug message for more information.
error: Loading sysroot: Connecting to system bus: Could not connect: No such file or directory

Output of groups

groups
kseou wheel

Extra information or context

No response

kseou commented 3 months ago

Looking into the status of polkit it says its running?

● polkit.service - Authorization Manager
     Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Tue 2024-07-02 13:29:33 BST; 50s ago
       Docs: man:polkit(8)
   Main PID: 4668 (polkitd)
      Tasks: 4 (limit: 18652)
     Memory: 6.7M
        CPU: 1.793s
     CGroup: /system.slice/polkit.service
             └─4668 /usr/lib/polkit-1/polkitd --no-debug

Jul 02 13:29:33 fedora polkitd[4668]: Loading rules from directory /etc/polkit-1/rules.d
Jul 02 13:29:33 fedora polkitd[4668]: Loading rules from directory /usr/share/polkit-1/rules.d
Jul 02 13:29:33 fedora polkitd[4668]: Finished loading, compiling and executing 19 rules
Jul 02 13:29:33 fedora polkitd[4668]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Jul 02 13:29:33 fedora systemd[1]: Started polkit.service - Authorization Manager.
Jul 02 13:29:42 horizon polkitd[4668]: Registered Authentication Agent for unix-session:c1 (system bus name :1.44 [/usr/bin/gnome-shell], object >
Jul 02 13:29:47 horizon polkitd[4668]: Registered Authentication Agent for unix-session:2 (system bus name :1.95 [/usr/bin/gnome-shell], object p>
Jul 02 13:29:49 horizon polkitd[4668]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.44, object path /org/freedesktop>
Jul 02 13:29:53 horizon polkitd[4668]: Registered Authentication Agent for unix-process:7376:3050 (system bus name :1.151 [/usr/bin/pkttyagent -->
Jul 02 13:29:53 horizon polkitd[4668]: Unregistered Authentication Agent for unix-process:7376:3050 (system bus name :1.151, object path /org/fre>
m2Giles commented 2 months ago

Have you set any custom environment variables?

Do you /run/user/$UID available?

Right now this is likely a misconfiguration with your shell/dbus