Sample Header Ad - 728x90

Force polkit to use a textual authentication agent in a GUI session

1 vote
2 answers
407 views
I am using the Secureblue Linux distro and I don't like the fact that when I run a script that eventually invokes run0, and leave it running and do something else while I'm waiting, I eventually get a popup all of a sudden prompting me to enter my password, and I don't know what it's about! It feels like it would be much more secure to have the auth prompt as a CLI authentication utility, in the terminal window that the script is running in, so I can tell what I am being expected to approve. However, I tried installing tmux and then running pkttyagent in one tmux pane and the script in another, but the GUI authentication dialog box still popped up, just like before, and pkttyagent didn't do anything. Even when I made them use a fresh, separate dbus session bus using dbus-run-session tmux, it failed the same way.
Asked by Robin Green (1299 rep)
Feb 1, 2025, 03:35 PM
Last activity: Feb 5, 2025, 10:52 AM