You are not logged in.
policykit-1-gnome, despite its name, has little to do with gnome these days: it's a standalone app that puts up the password prompts when you want to perform a system action as root, like opening gparted or installing a .deb file with gdebi. An agent like this is pretty much essential for a graphics-based desktop.
Unfortunately it's been abandoned upstream for some years, and it looks as if Debian are going to drop it from Trixie:
https://bugs.debian.org/cgi-bin/bugrepo … bug=990271
https://bugs.debian.org/cgi-bin/bugrepo … bug=990259
The only Debian packages which list dependencies on policykit-1-gnome are cinnamon related, but it looks as if XFCE might also be using it.
Here's a long discussion by Cinnamon developers, and others, in response to a heads-up from Debian dev Simon McVittie:
https://github.com/linuxmint/cinnamon/issues/10172
They finally decided to go on using policykit-1-gnome for now, but that will impinge on the Debian Cinnamon packages.
There are alternatives listed by the virtual package polkit-1-auth-agent, notably lxpolkit and lxqt-policykit.
I'm going to try out lxpolkit to see if it works as a replacement, but we could also wait a bit and see what the XFCE devs do about it. Anyway, this is something for Carbon, not Boron - unless we do a last-minute swap of lxpolkit for policykit-1-gnome...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I switched with no problem (on Boron). Install lxpolkit, then purge policykit-1-gnome. Comment out the policykit line in autostart and start lxpolkit with...
lxpolkit &
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
Yup, working on my VM too.
A bit spartan compared with policykit-1-gnome but it does the job.
So we've got a way forward if nothing better comes up for Carbon.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
first tint2 now polkit1-gnome...seems a lot of things are falling by the wayside.
Real Men Use Linux
Offline
^Yes, mabye it is time to start thinking about some kind alternative to the present setup for Carbon or further ahead?
Offline
Cinnamon seem to have added polkit dialogue function internally: https://github.com/linuxmint/cinnamon/pull/12059
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Cinnamon seem to have added polkit dialogue function internally: https://github.com/linuxmint/cinnamon/pull/12059
Maybe something similar for Carbon or use the Mate PK agent?
Real Men Use Linux
Offline
Right now, thinking about lxpolkit (seems to work OK but a bit old) or mate-polkit if the dependencies aren't too heavy.
I don't think digging the polkit code out of Cinnamon would be too easy.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
FWIW I can say I have used lxpolkit for years on debian without any difficulty (on all manner of wms). Only recently (on arch) have I encountered an AUR install bug with lxpolkit; it works fine but is less 'secure feeling' with the compile error(s).
I am now trying to see how well mate-polkit will work. Early results on arch (not debian) are very positive and hopeful. It acts like it's lightweight.
Pax vobiscum,
Mark Rabideau - https://many-roads.com https:/eirenicon.org
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Offline
Is there any indication that Debian will provide a vanilla polkit package (like Arch and Void have) by the time Trixie rolls out?
You must unlearn what you have learned.
-- yoda
Offline
The Arch polkit package just provides the backup textual pkttyagent, the graphical authentication agents are packaged separately, just as with Debian:
https://wiki.archlinux.org/title/Polkit … ion_agents
EDIT: the equivalent Debian package would be polkitd, which is already used by BunsenLabs IIRC.
Last edited by Head_on_a_Stick (2025-01-20 19:34:39)
Offline
^ Thanks
I just checked on my system. Clean install of Debian upgraded to Sid. Xfce and labwc. It just has polkitd and some other polkit packages. I get the prompt for authentication when trying to run gparted -
is one of these DE-policykit packages even needed any more?
Edit - My mistake. The policykit-1-gnome package gets installed with the xfce desktop and is started with the session.
You must unlearn what you have learned.
-- yoda
Offline
The policykit-1-gnome package gets installed with the xfce desktop and is started with the session.
So that's what xfce are using atm. I wonder what they have in mind for when it gets dropped from Trixie?
https://bugs.debian.org/cgi-bin/bugrepo … bug=990271
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
There is an xfce-polkit
https://github.com/ncopa/xfce-polkit
I thought it was abandoned too, but Void still uses it with an xfce4 install.
When I searched the Debian repos it didn't show up. Maybe it will get picked up.
Is it in backports?
You must unlearn what you have learned.
-- yoda
Offline
No trace of xfce-polkit anywhere in Debian:
https://packages.debian.org/search?suit … fce-polkit
It does appear in some web searches, but it's hard to tell how useful it is.
The last git commit was on Jun 21, 2022
https://github.com/ncopa/xfce-polkit/commits/master/
but the last changes to the actual code were in 2018.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Right now, thinking about lxpolkit (seems to work OK but a bit old) or mate-polkit if the dependencies aren't too heavy.
Installed mate-polkit in my VM and it brought in not much more than lxpolkit. It's better-looking than either lxpolkit or lxqt-policykit too.
I am now trying to see how well mate-polkit will work. Early results on arch (not debian) are very positive and hopeful. It acts like it's lightweight.
Last edited by johnraff (2025-02-09 07:49:18)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I have been using lxpolkit since my first labwc installation and I think it was a 'recommendation' from @malm.
I really liked the simple entry in the 'autostart':
lxpolkit > /dev/null 2>&1 &
did the job.
Offline
@johnraff I am still using mate-polkit and it is still chugging along perfectly. I think there a few options that will easliy work.
Pax vobiscum,
Mark Rabideau - https://many-roads.com https:/eirenicon.org
i3wm, dwm, hlwm on sid/ arch ~ Reg. Linux User #449130
"For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
Offline
Both lxpolkit and mate-polkit look like usable options, and both fairly light.
(Mate-polkit doesn't need an entry in autostart at all because it ships a .desktop file in /etc/xdg/autostart but that's a minor point.)
Mate-polkit uses gtk3 as opposed to gtk2 for lxpolkit and looks very similar to policykit-1-gnome.
Right now, I suggest replacing policykit-1-gnome with mate-polkit in the metapackage lists, and see how it goes.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Right now, I suggest replacing policykit-1-gnome with mate-polkit in the metapackage lists, and see how it goes.
Agreed, the GTK3 update is a good point.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline