Which Gnome service replaces polkit-gnome-authentication-agent-1?

Hello there!

Since polkit-gnome-authentication-agent-1 is not available anymore in the repos, I imagine because of changes in Gnome. Is there a new service that must be used instead when using Hyprland or Niri? As I use Fedora Workstation as base for using Hyprland and now trying Niri, and I’ve been using a manually copied version of polkit-gnome-authentication-agent-1, it came to mind that it will eventually stop working.
Of course there are other option based on Qt etc, but I wish to have an GTK based one, preferably GTK4

I orphaned polkit-gnome because I didn’t need it anymore, no one claimed it so it was retired.

Maybe one of the other agents listed can be used

$ dnf provides PolicyKit-authentication-agent
Updating and loading repositories:
Repositories loaded.
cinnamon-6.4.9-1.fc42.x86_64 : Window management and application launching for GNOME
Repo         : @System
Matched From : 
Provide      : cinnamon = 6.4.9-1.fc42

gnome-shell-48.2-1.fc42.x86_64 : Window management and application launching for GNOME
Repo         : @System
Matched From : 
Provide      : gnome-shell = 48.2-1.fc42

cinnamon-6.4.9-1.fc42.x86_64 : Window management and application launching for GNOME
Repo         : updates
Matched From : 
Provide      : cinnamon = 6.4.9-1.fc42

gnome-shell-48.2-1.fc42.x86_64 : Window management and application launching for GNOME
Repo         : updates
Matched From : 
Provide      : gnome-shell = 48.2-1.fc42

lxpolkit-0.5.6-1.fc42.x86_64 : Simple PolicyKit authentication agent
Repo         : updates
Matched From : 
Provide      : lxpolkit = 0.5.6-1.fc42

polkit-kde-6.4.0-1.fc42.x86_64 : PolicyKit integration for KDE Desktop
Repo         : updates
Matched From : 
Provide      : polkit-kde = 6.4.0-1.fc42

cinnamon-6.4.8-2.fc42.x86_64 : Window management and application launching for GNOME
Repo         : fedora
Matched From : 
Provide      : cinnamon = 6.4.8-2.fc42

gnome-shell-48.0-1.fc42.x86_64 : Window management and application launching for GNOME
Repo         : fedora
Matched From : 
Provide      : gnome-shell = 48.0-1.fc42

lxpolkit-0.5.5^20241019gitc72db4f8-1.fc42.x86_64 : Simple PolicyKit authentication agent
Repo         : fedora
Matched From : 
Provide      : lxpolkit = 0.5.5^20241019gitc72db4f8-1.fc42

lxqt-policykit-2.1.0-2.fc42.x86_64 : PolicyKit agent for LXQt desktop suite
Repo         : fedora
Matched From : 
Provide      : lxqt-policykit = 2.1.0-2.fc42

mate-polkit-1.28.1-4.fc42.x86_64 : Integrates polkit authentication for MATE desktop
Repo         : fedora
Matched From : 
Provide      : mate-polkit = 1.28.1-4.fc42

polkit-kde-6.3.4-1.fc42.x86_64 : PolicyKit integration for KDE Desktop
Repo         : fedora
Matched From : 
Provide      : polkit-kde = 6.3.4-1.fc42

xfce-polkit-0.3-15.fc42.x86_64 : Simple PolicyKit authentication agent for Xfce
Repo         : fedora
Matched From : 
Provide      : xfce-polkit = 0.3-15.fc42

3 Likes

Probably all of them work (some I already tested, but I was wondering as those prompts work inside Gnome, something else is doing the job there.

gnome-shell has it’s own builtin polkit support

1 Like