Garuda wizard without installation and change permission

garuda-inxi  
System:
  Kernel: 5.19.5-zen1-1-zen arch: x86_64 bits: 64
    compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=0835c123-90c3-472c-9a1b-dfcf8707ad14 rw
    rootflags=subvol=@ quiet quiet splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=af7fcfee-ac9e-475a-92f0-39334ebc060a
    loglevel=3
  Desktop: i3 v: 4.20.1 info: i3bar, polybar vt: 7
    dm: LightDM v: 1.32.0 Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Dell product: G5 5590 v: N/A
    serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Dell model: 0CRKJ6 v: A00
    serial: <superuser required> UEFI: Dell v: 1.20.0
    date: 07/08/2022
Battery:
  ID-1: BAT0 charge: 44.7 Wh (100.0%) condition: 44.7/60.0
    Wh (74.6%) volts: 17.1 min: 15.2 model: LGC-LGC3.985
    DELL 8622M99 type: Li-ion serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP
    arch: Coffee Lake gen: core 9 built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158)
    stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32
    KiB L2: 1.5 MiB desc: 6x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 1100 high: 2600 min/max: 800/4500
    scaling: driver: intel_pstate governor: powersave cores:
    1: 801 2: 800 3: 800 4: 2600 5: 800 6: 2600 7: 800
    8: 800 9: 801 10: 800 11: 800 12: 800 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1
    sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional
    cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers;
    SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store
    Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers
    and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630]
    vendor: Dell driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile]
    vendor: Dell driver: nvidia v: 515.65.01
    alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-07) arch: Turing
    code: TUxxx process: TSMC 12nm built: 2018-22 pcie:
    gen: 3 speed: 8 GT/s lanes: 8 link-max: lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB
    driver: uvcvideo bus-ID: 1-5:3 chip-ID: 0c45:671f
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 compositor: Picom
    v: git-7e568 driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,intel,nv,vesa
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
    s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x0860 built: 2019
    res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell
    driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio
    vendor: Dell driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 8 link-max: lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
  Sound Server-1: ALSA v: k5.19.5-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 16.1 running: yes
  Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek vendor: Dell driver: r8169 v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 3c:00.0 chip-ID: 10ec:2502 class-ID: 0200
  IF: enp60s0 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless
    Network Adapter vendor: Dell driver: ath10k_pci
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 3d:00.0 chip-ID: 168c:003e class-ID: 0280
  IF: wlp61s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8
    bus-ID: 1-14:5 chip-ID: 0cf3:e007 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up
    address: <filter>
Drives:
  Local Storage: total: 588.73 GiB used: 20.86 GiB (3.5%)
  SMART Message: Required tool smartctl not installed.
    Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data
    model: IM2P33F3 NVMe 512GB size: 476.94 GiB block-size:
    physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 92103051
    temp: 25.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Kingston
    model: SA400S37120G size: 111.79 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 0005 scheme: GPT
Partition:
  ID-1: / raw-size: 94.51 GiB size: 94.51 GiB (100.00%)
    used: 20.85 GiB (22.1%) fs: btrfs dev: /dev/sda2
    maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB
    (99.80%) used: 7.6 MiB (2.5%) fs: vfat dev: /dev/sda1
    maj-min: 8:1
  ID-3: /home raw-size: 94.51 GiB size: 94.51 GiB
    (100.00%) used: 20.85 GiB (22.1%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 94.51 GiB size: 94.51 GiB
    (100.00%) used: 20.85 GiB (22.1%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 94.51 GiB size: 94.51 GiB
    (100.00%) used: 20.85 GiB (22.1%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60)
    cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 15.44 GiB used: 0 KiB
    (0.0%) priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.98 GiB used: 0
    KiB (0.0%) priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 44.0 C pch: 47.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 329 Uptime: 52m wakeups: 7209
  Memory: 15.44 GiB used: 3.81 GiB (24.7%) Init: systemd
  v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 Packages: pacman: 1284 lib: 329 Shell: Zsh
  v: 5.9 running-in: xfce4-terminal inxi: 3.3.20
Garuda (2.6.6-1):
  System install date:     2022-08-28
  Last full system update: 2022-08-31 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units: 

Guys, I'm having problems with updating and managing Garuda with the System Assistants.
When I try to do something in the assistants, these messages appear:

**AUTHENTICATING FOR org.garuda.libs.pkexe.polyce.run Authentication is required to install software**
**Polkit-agent-helper-1: error response to Policykit daemon: GDbus.Error:org.freedesktop.Policykit1.Error.failed: No session for cookie**

**Error executing command as another user: Not authorized**

**This incident has been reported.**

Welcome :slight_smile:

First thing reboot

Please, try then

garuda-update 
# or only 
update

in terminal.

I did this now and restarted and it didn't work.

Image Error

No pictures from terminal :slight_smile: please.

Use

sudo pacman -Syu <app-name>

I updated as requested and the error persists.

==== AUTHENTICATION FOR org.garuda.libs.pkexec.policy.run ====
Authentication is required to install software.
Authentication as: Lucas Nobre Ferreira Martins (lucas)
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized

I read the other thread that showed... they reported that for example TimeShift needs root permission to start. But here he is not even allowed to change the keyboard layout for example. It doesn't run anything always reporting the session error without cockies.

Is this the primary user (set up during installation)?

1 Like

Yes I created this user during installation.

Please, help =(

Pushing your topic to the front with no new content is considered very rude.

I installed i3wm on an older machine two or three days ago, and can’t figure out your problem.

We switched from timeshift to snapper some time ago.
What is the exact name, including date, of the ISO file?

It would also be helpful to name this assistant more precisely, there are very many from Garuda and in the system.


What changes did you make?

Secure and fastboot in the BIOS are disabled?

… have you searched the internet for the error?

1 Like

Can you open the visudo file?

sudo visudo

or

pkexec visudo

Paste the contents of the file into the thread, or if it won't open paste the error message.

What polkit packages are installed?

pacman -Qs polkit

Also paste the input/output of

systemctl status polkit

Ok, The information:

Sudoers File

## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##

##
## Host alias specification
##
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias	WEBSERVERS = www1, www2, www3

##
## User alias specification
##
## Groups of users.  These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias	ADMINS = millert, dowdy, mikef

##
## Cmnd alias specification
##
## Groups of commands.  Often used to group related commands together.
# Cmnd_Alias	PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# 			    /usr/bin/pkill, /usr/bin/top
# Cmnd_Alias	REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff

##
## Defaults specification
##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file.  Note that other programs use HOME to find   
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
##
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
##
## Uncomment to enable special input methods.  Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
##
## Uncomment to use a hard-coded PATH instead of the user's to find commands
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
##
## Uncomment to send mail if the user does not enter the correct password.
# Defaults mail_badpass
##
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot.  Use sudoreplay to play back logged sessions.
## Sudo will create up to 2,176,782,336 I/O logs before recycling them.
## Set maxseq to a smaller number if you don't have unlimited disk space.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!REBOOT !log_output
# Defaults maxseq = 1000

##
## Runas alias specification
##

##
## User privilege specification
##
root ALL=(ALL:ALL) ALL

## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL:ALL) ALL

## Same thing without a password
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL

## Uncomment to allow members of group sudo to execute any command
# %sudo	ALL=(ALL:ALL) ALL

## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw  # Ask for the password of the target user
# ALL ALL=(ALL:ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'

## Read drop-in files from /etc/sudoers.d
@includedir /etc/sudoers.d

Visudo Garuda

pkexec visudo                                   
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/bin/visudo' as the super user
Authenticating as: Lucas Nobre Ferreira Martins (lucas)
Password: 
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized

This incident has been reported.

Polkit Version

pacman -Qs polkit                            
local/mate-polkit 1.26.0-1 (mate)
    PolicyKit integration for the MATE desktop
local/polkit 121-1
    Application development toolkit for controlling system-wide privileges
local/polkit-gnome 0.105-9
    Legacy polkit authentication agent for GNOME
local/polkit-kde-agent 5.25.4-1 (plasma)
    Daemon providing a polkit authentication UI for KDE
local/polkit-qt5 0.114.0-1
    A library that allows developers to access PolicyKit API with a nice Qt-style API

Status Service

systemctl status polkit                         ░▒▓ ⇣614 B/s ⇡613 B/s 192.168.100.142  
â—Ź polkit.service - Authorization Manager
     Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
     Active: active (running) since Fri 2022-09-02 00:27:54 -03; 21min ago
       Docs: man:polkit(8)
   Main PID: 586 (polkitd)
      Tasks: 3 (limit: 18905)
     Memory: 10.0M
        CPU: 1.198s
     CGroup: /system.slice/polkit.service
             └─586 /usr/lib/polkit-1/polkitd --no-debug

set 02 00:35:55 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process>
set 02 00:36:26 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:3>
set 02 00:36:31 LinuxGaruda polkitd[586]: Operator of unix-process:36950:52012 FAILED to aut>
set 02 00:36:31 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process>
set 02 00:45:39 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:9>
set 02 00:45:47 LinuxGaruda polkitd[586]: Operator of unix-process:96191:95949 FAILED to aut>
set 02 00:45:47 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process>
set 02 00:45:54 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:9>
set 02 00:45:59 LinuxGaruda polkitd[586]: Operator of unix-process:96191:95949 FAILED to aut>
set 02 00:45:59 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process>

Youtube Video Non Listed Show the errors

video error

Can anyone confirm if i3 is supposed to have all three of these installed? Sway only has the Gnome polkit.

Check to see what this report says. I am guessing it will go to this file:

sudo micro /var/spool/mail/root

If that file is missing, check what else is in /var/spool/mail/ to find the report.

What does the rest of this line say? It looks like it was cut off in the copy/paste.

Post some output from the journal:

sudo journalctl -u polkit | tail -80

Check your group membership:

groups
2 Likes

Only that one.

2 Likes

ANSWERS

1) File Mail - Empty

ls -la                                         
total 0
drwxrwxrwt 1 root root  0 dez  6  2021 .
drwxr-xr-x 1 root root 16 set  1 02:29 ..

2) Output Journal

-- Boot 775446a7aa9446e5bdca8234e1d15ceb --
set 02 00:27:54 LinuxGaruda systemd[1]: Starting Authorization Manager...
set 02 00:27:54 LinuxGaruda polkitd[586]: Started polkitd version 121
set 02 00:27:54 LinuxGaruda polkitd[586]: Loading rules from directory /etc/polkit-1/rules.d
set 02 00:27:54 LinuxGaruda polkitd[586]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 00:27:54 LinuxGaruda polkitd[586]: Finished loading, compiling and executing 12 rules
set 02 00:27:54 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 00:27:54 LinuxGaruda polkitd[586]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 00:35:30 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:29643:46397 (system bus name :1.243 [pkexec /usr/lib/garuda/install-software qwikaccess-git], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:35:55 LinuxGaruda polkitd[586]: Operator of unix-process:29643:46397 FAILED to authenticate to gain authorization for action org.garuda.libs.pkexec.policy.run for unix-process:29643:46397 [bash /tmp/tmp.m3yZsv6XMv] (owned by unix-user:lucas)
set 02 00:35:55 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:29643:46397 (system bus name :1.243, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:36:26 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:36950:52012 (system bus name :1.297 [pkexec /usr/lib/garuda/install-software qwikaccess-git], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:36:31 LinuxGaruda polkitd[586]: Operator of unix-process:36950:52012 FAILED to authenticate to gain authorization for action org.garuda.libs.pkexec.policy.run for unix-process:36950:52012 [bash /tmp/tmp.mRcMDfayT3] (owned by unix-user:lucas)
set 02 00:36:31 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:36950:52012 (system bus name :1.297, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:45:39 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:96191:95949 (system bus name :1.826 [pkexec visudo], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:45:47 LinuxGaruda polkitd[586]: Operator of unix-process:96191:95949 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:96191:95949 [zsh] (owned by unix-user:lucas)
set 02 00:45:47 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:96191:95949 (system bus name :1.826, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:45:54 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:96191:95949 (system bus name :1.842 [pkexec visudo], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 00:45:59 LinuxGaruda polkitd[586]: Operator of unix-process:96191:95949 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:96191:95949 [zsh] (owned by unix-user:lucas)
set 02 00:45:59 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:96191:95949 (system bus name :1.842, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 01:14:35 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:344697:280917 (system bus name :1.2451 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pt_BR.UTF-8)
set 02 01:14:41 LinuxGaruda polkitd[586]: Operator of unix-process:344697:280917 successfully authenticated as unix-user:lucas to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-unit-files for system-bus-name::1.2452 [systemctl enable cups] (owned by unix-user:lucas)
set 02 01:14:42 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:344697:280917 (system bus name :1.2451, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pt_BR.UTF-8) (disconnected from bus)
set 02 01:14:55 LinuxGaruda polkitd[586]: Registered Authentication Agent for unix-process:347565:282939 (system bus name :1.2474 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pt_BR.UTF-8)
set 02 01:15:00 LinuxGaruda polkitd[586]: Operator of unix-process:347565:282939 successfully authenticated as unix-user:lucas to gain TEMPORARY authorization for action org.freedesktop.systemd1.manage-units for system-bus-name::1.2475 [systemctl start cups] (owned by unix-user:lucas)
set 02 01:15:00 LinuxGaruda polkitd[586]: Unregistered Authentication Agent for unix-process:347565:282939 (system bus name :1.2474, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale pt_BR.UTF-8) (disconnected from bus)
set 02 01:30:20 LinuxGaruda systemd[1]: Stopping Authorization Manager...
set 02 01:30:20 LinuxGaruda systemd[1]: polkit.service: Deactivated successfully.
set 02 01:30:20 LinuxGaruda systemd[1]: Stopped Authorization Manager.
set 02 01:30:20 LinuxGaruda systemd[1]: polkit.service: Consumed 2.553s CPU time.
-- Boot be87569d6dba4d14aae56d521a471b93 --
set 02 01:31:06 LinuxGaruda systemd[1]: Starting Authorization Manager...
set 02 01:31:06 LinuxGaruda polkitd[597]: Started polkitd version 121
set 02 01:31:06 LinuxGaruda polkitd[597]: Loading rules from directory /etc/polkit-1/rules.d
set 02 01:31:06 LinuxGaruda polkitd[597]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 01:31:06 LinuxGaruda polkitd[597]: Finished loading, compiling and executing 12 rules
set 02 01:31:06 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 01:31:06 LinuxGaruda polkitd[597]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 01:43:27 LinuxGaruda systemd[1]: Stopping Authorization Manager...
set 02 01:43:27 LinuxGaruda systemd[1]: polkit.service: Deactivated successfully.
set 02 01:43:27 LinuxGaruda systemd[1]: Stopped Authorization Manager.
-- Boot fe901a7d0f9d4f09b190426b18ba6272 --
set 02 01:44:07 LinuxGaruda systemd[1]: Starting Authorization Manager...
set 02 01:44:07 LinuxGaruda polkitd[589]: Started polkitd version 121
set 02 01:44:07 LinuxGaruda polkitd[589]: Loading rules from directory /etc/polkit-1/rules.d
set 02 01:44:07 LinuxGaruda polkitd[589]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 01:44:07 LinuxGaruda polkitd[589]: Finished loading, compiling and executing 12 rules
set 02 01:44:07 LinuxGaruda polkitd[589]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 01:44:07 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 02:33:01 LinuxGaruda systemd[1]: Stopping Authorization Manager...
set 02 02:33:01 LinuxGaruda systemd[1]: polkit.service: Deactivated successfully.
set 02 02:33:01 LinuxGaruda systemd[1]: Stopped Authorization Manager.
-- Boot 9f58edcecc554dccac71ebbad943f225 --
set 02 09:53:35 LinuxGaruda systemd[1]: Starting Authorization Manager...
set 02 09:53:35 LinuxGaruda polkitd[573]: Started polkitd version 121
set 02 09:53:35 LinuxGaruda polkitd[573]: Loading rules from directory /etc/polkit-1/rules.d
set 02 09:53:35 LinuxGaruda polkitd[573]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 09:53:35 LinuxGaruda polkitd[573]: Finished loading, compiling and executing 12 rules
set 02 09:53:35 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 09:53:35 LinuxGaruda polkitd[573]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 09:54:37 LinuxGaruda polkitd[573]: Registered Authentication Agent for unix-process:4008:6787 (system bus name :1.72 [pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.jwviMbzGeF], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 09:55:09 LinuxGaruda polkitd[573]: Operator of unix-process:4008:6787 FAILED to authenticate to gain authorization for action org.garuda.garuda-gamer.pkexec.policy.run-root-terminal for unix-process:4008:6787 [alacritty -e pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.jwviMbzGeF] (owned by unix-user:lucas)
set 02 09:55:09 LinuxGaruda polkitd[573]: Unregistered Authentication Agent for unix-process:4008:6787 (system bus name :1.72, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 09:55:28 LinuxGaruda polkitd[573]: Registered Authentication Agent for unix-process:10869:11889 (system bus name :1.129 [pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.7MYyJadHER], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 09:55:34 LinuxGaruda polkitd[573]: Operator of unix-process:10869:11889 FAILED to authenticate to gain authorization for action org.garuda.garuda-gamer.pkexec.policy.run-root-terminal for unix-process:10869:11889 [alacritty -e pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.7MYyJadHER] (owned by unix-user:lucas)
set 02 09:55:34 LinuxGaruda polkitd[573]: Unregistered Authentication Agent for unix-process:10869:11889 (system bus name :1.129, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 09:56:01 LinuxGaruda systemd[1]: Stopping Authorization Manager...
set 02 09:56:01 LinuxGaruda systemd[1]: polkit.service: Deactivated successfully.
set 02 09:56:01 LinuxGaruda systemd[1]: Stopped Authorization Manager.
-- Boot bc976f74f2a24b31992e66b2fc367d17 --
set 02 09:56:37 LinuxGaruda systemd[1]: Starting Authorization Manager...
set 02 09:56:37 LinuxGaruda polkitd[587]: Started polkitd version 121
set 02 09:56:37 LinuxGaruda polkitd[587]: Loading rules from directory /etc/polkit-1/rules.d
set 02 09:56:37 LinuxGaruda polkitd[587]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 09:56:37 LinuxGaruda polkitd[587]: Finished loading, compiling and executing 12 rules
set 02 09:56:37 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 09:56:37 LinuxGaruda polkitd[587]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 09:57:06 LinuxGaruda polkitd[587]: Registered Authentication Agent for unix-process:4443:3441 (system bus name :1.74 [pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.MuURMPtQbG], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
set 02 09:57:40 LinuxGaruda polkitd[587]: Operator of unix-process:4443:3441 FAILED to authenticate to gain authorization for action org.garuda.garuda-gamer.pkexec.policy.run-root-terminal for unix-process:4443:3441 [alacritty -e pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/tmp.MuURMPtQbG] (owned by unix-user:lucas)
set 02 09:57:40 LinuxGaruda polkitd[587]: Unregistered Authentication Agent for unix-process:4443:3441 (system bus name :1.74, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

3) complete Garuda Visudo

â—Ź polkit.service - Authorization Manager
     Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
     Active: active (running) since Fri 2022-09-02 09:56:37 -03; 15min ago
       Docs: man:polkit(8)
   Main PID: 587 (polkitd)
      Tasks: 3 (limit: 18905)
     Memory: 8.1M
        CPU: 428ms
     CGroup: /system.slice/polkit.service
             └─587 /usr/lib/polkit-1/polkitd --no-debug

set 02 09:56:37 LinuxGaruda polkitd[587]: Loading rules from directory /usr/share/polkit-1/rules.d
set 02 09:56:37 LinuxGaruda polkitd[587]: Finished loading, compiling and executing 12 rules
set 02 09:56:37 LinuxGaruda systemd[1]: Started Authorization Manager.
set 02 09:56:37 LinuxGaruda polkitd[587]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
set 02 09:57:06 LinuxGaruda polkitd[587]: Registered Authentication Agent for unix-process:4443:3441 (system bus name :1.74 [pkexec /usr/share/garuda/scripts/garuda-gamer/rootshell.sh /tmp/t>
set 02 09:57:40 LinuxGaruda polkitd[587]: Operator of unix-process:4443:3441 FAILED to authenticate to gain authorization for action org.garuda.garuda-gamer.pkexec.policy.run-root-terminal f>
set 02 09:57:40 LinuxGaruda polkitd[587]: Unregistered Authentication Agent for unix-process:4443:3441 (system bus name :1.74, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, lo>
set 02 10:11:43 LinuxGaruda polkitd[587]: Registered Authentication Agent for unix-process:43573:29570 (system bus name :1.921 [pkexec visudo], object path /org/freedesktop/PolicyKit1/Authen>
set 02 10:11:46 LinuxGaruda polkitd[587]: Operator of unix-process:43573:29570 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:43573:2>
set 02 10:11:46 LinuxGaruda polkitd[587]: Unregistered Authentication Agent for unix-process:43573:29570 (system bus name :1.921, object path /org/freedesktop/PolicyKit1/AuthenticationAgent,>
~

4) Groups

groups                                          
realtime video lp input wheel lucas

Try to reinstall Gnome polkit and see what happens. First update your system with garuda-update, then:

sudo pacman -S polkit-gnome

Paste the input/output to the thread.

Okay, I removed the other versions of polkit and restarted the computer.
The Service Status remains the same.

Garuda-Update

garuda-update                                   
[sudo] senha para lucas:              
:: Sincronizando a base de dados de pacotes...
 garuda está atualizado
 core está atualizado
 extra está atualizado
 community                    6,9 MiB  3,29 MiB/s 00:02 [------------------------------] 100%
 multilib está atualizado
 chaotic-aur                  2,1 MiB  1837 KiB/s 00:01 [------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..
:: Sincronizando a base de dados de pacotes...
 garuda                      89,7 KiB  85,7 KiB/s 00:01 [------------------------------] 100%
 core                       157,6 KiB   269 KiB/s 00:01 [------------------------------] 100%
 extra                     1844,5 KiB  1002 KiB/s 00:02 [------------------------------] 100%
 community                    6,9 MiB  2,71 MiB/s 00:03 [------------------------------] 100%
 multilib                   175,9 KiB   324 KiB/s 00:01 [------------------------------] 100%
 chaotic-aur                  2,1 MiB   918 KiB/s 00:02 [------------------------------] 100%
spawn pacman -Su
:: Starting full system upgrade...
 there is nothing to do

Checking for plugin updates
Nothing to install / update

Reinstall Polkit

sudo pacman -S polkit-gnome                     ░▒▓ ⇣642 B/s ⇡614 B/s 192.168.100.142  
resolvendo dependĂŞncias...
procurando pacotes conflitantes...

Pacotes (1) polkit-gnome-0.105-9

Tamanho total download:   0,06 MiB
Tamanho total instalado:  0,33 MiB

:: Continuar a instalação? [S/n] S
:: Obtendo pacotes...
 polkit-gnome-0.105-9-...    64,6 KiB   246 KiB/s 00:00 [------------------------------] 100%
(1/1) verificando chaves no chaveiro                    [------------------------------] 100%
(1/1) verificando integridade do pacote                 [------------------------------] 100%
(1/1) carregando arquivos do pacote                     [------------------------------] 100%
(1/1) verificando conflitos de arquivos                 [------------------------------] 100%
(1/1) verificando espaço em disco disponível            [------------------------------] 100%
:: Executando hooks pré-transação...
(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 163
:: Processando alterações do pacote...
(1/1) instalando polkit-gnome                           [------------------------------] 100%
:: Executando hooks pós-transação...
(1/7) Arming ConditionNeedsUpdate...
(2/7) Foreign/AUR package notification
brightness-controller-git 2.3.4.r288.cd8cc61-1
cava 0.8.2-4
nerd-fonts-complete 2.1.0-8
zsh-syntax-highlighting-git 0.8.0.alpha1.pre.redrawhook.r68.gcaa749d-1
(3/7) Orphaned package notification...
electron18 18.3.9-1
(4/7) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/locale.gen.pacnew
/etc/lightdm/lightdm.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(5/7) Updating the desktop file MIME type cache...
(6/7) Performing snapper post snapshots for the following configurations...
==> root: 164
(7/7) Syncing all file systems...

I restarted the computer and remains the same.

The only polkit that should be on the system is Gnome?
When I have uninstall the remaining others the message below appears.
I saw that Garuda is associated with this POLKIT without distribution in the name... is that not the error?
What happens if I uninstall all dependencies? will i break the system?

sudo pacman -Qs polkit                          
local/polkit 121-1
    Application development toolkit for controlling system-wide privileges
local/polkit-gnome 0.105-9
    Legacy polkit authentication agent for GNOME
local/polkit-qt5 0.114.0-1
    A library that allows developers to access PolicyKit API with a nice Qt-style API

sudo pacman -R polkit â–‘â–’â–“
[sudo] password for lucas:
checking dependencies...
error: Failed to prepare transaction (unable to satisfy dependencies)
:: removing polkit breaks the "polkit" dependency needed by accountsservice
:: removing polkit breaks "polkit" dependency needed by bolt
:: removing polkit breaks the "polkit" dependency needed by brltty
:: removing polkit breaks "polkit" dependency needed by btrfs-assistant
:: removing polkit breaks the "polkit" dependency needed by fprintd
:: polkit removal breaks "polkit" dependency needed by fwupd
:: removing polkit breaks "polkit" dependency needed by garuda-assistant
:: removing polkit breaks "polkit" dependency needed by garuda-boot-options
:: removing polkit breaks "polkit" dependency needed by garuda-network-assistant
:: removing polkit breaks "polkit" dependency needed by libpamac-aur
:: removing polkit breaks "polkit" dependency needed by lightdm
:: removing polkit breaks "polkit" dependency needed by lightdm-settings
:: removing polkit breaks "polkit" dependency needed by mintstick
:: removing polkit breaks "polkit" dependency needed by modemmanager
:: removing polkit breaks "polkit" dependency needed by pamac-aur
:: removing polkit breaks "polkit" dependency needed by polkit-gnome
:: removing polkit breaks the "polkit" dependency needed by polkit-qt5
:: removing polkit breaks the "polkit" dependency needed by rtkit
:: removing polkit breaks the "polkit" dependency needed by snapper-tools
:: removing polkit breaks the "polkit" dependency needed by udisks2

No don't remove those!

Your system had three graphical authentication agents installed. I'm honestly not sure if that is a problem or not, they probably were installed along with something else as a dependency. The Gnome one is the graphical authentication agent that is installed by default.

Okay, I didn't remove them.