archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.01k stars 103 forks source link

xfce gdbus.error:org.freedesktop.policykit1.error.failed: an authentication agent already exists for the given subject #374

Closed ifqygazhar closed 7 months ago

ifqygazhar commented 1 year ago

The error show after user login

xfce gdbus.error:org.freedesktop.policykit1.error.failed: an authentication agent already exists for the given subject

I have solution on internet here but i not found a session and start on archcraft, i use archcraft xfce edition

adi1090x commented 7 months ago

This is not Archcraft XFCE repo.

Frestein commented 7 months ago

The error show after user login Screenshot_2024-01-21-03-20-39_1920x1080 Archcraft Openbox

Frestein commented 7 months ago

[SOLVED] xfce-polkit is now executed from here image

I just commented out these lines in openbox/autostart. image

irrefl commented 3 months ago

╭─    ~/.config/openbox ▓▒░────────────────────░▒▓ ✔    at 01:55:28  ─╮ ╰─ sudo systemctl disable polkit.service

╭─    ~ ▓▒░────────────────────────────────────────░▒▓ ✔  at 01:53:23  ─╮ ╰─ cd ~/.config/openbox ─╯

╭─    ~/.config/openbox ▓▒░────────────────────────░▒▓ ✔  at 01:53:37  ─╮ ╰─ nvim autostart ─╯

=> comment these lines:

#!/usr/bin/env bash

## Copyright (C) 2020-2024 Aditya Shakya <adi1090x@gmail.com>

## Kill if already running
killall -9 xfsettingsd picom polybar mpd dunst ksuperkey xfce4-power-manager

## Restore Wallpaper
nitrogen --restore

## xfce4-settings daemon
xfsettingsd &

**## polkit agent
#if [[ ! `pidof xfce-polkit` ]]; then
#   /usr/lib/xfce-polkit/xfce-polkit &
#fi**

these lines wont be uncommented by default: **## polkit agent

if [[ ! pidof xfce-polkit ]]; then

/usr/lib/xfce-polkit/xfce-polkit &

fi**