Dependency Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009497 | Kali Linux | Kali Package Bug | public | 2026-01-11 15:09 | 2026-01-14 07:45 |
| Reporter | iojymbo | Assigned To | arnaudr | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | assigned | Resolution | open | ||
| Summary | 0009497: policykit-1 127-1+kali1: pkexec issues | ||||
| Description | policykit-1 127-1+kali1: pkexec issues EnvironmentVersion: Kali 2024.4 after policykit-1 (127-1+kali1) update SummaryDue to the new Debian polkit mecanisms introduced in 127-1, the polkit authentication pop-up is broken and pkexec no longer work with some graphical applications that require root access upon launch, such as Qterminal, Sparrow-Wifi, Zenmap, etc. Polkit authentication pop-up: SymptomWhen you start one of these applications, you will see these error messages in the journalctl log: Based on my observations of the Debian polkitd package update, the 'polkit-agent-helper.socket' service must now be enabled and started (https://salsa.debian.org/utopia-team/polkit/-/commit/07b46e3a27cb483e68a06292a0387d09d0060bea). Polkit authentication pop-up: WorkaroundTo fix the Polkit authentication pop-up, add the following to the "Disable all sockets by default, except whitelisted ones" section of the "/usr/lib/systemd/system-preset/95-kali.preset" file: Next, enable and start it: The journalctl error log entry disappears: Pkexec/Qterminal: SymptomThis previous workaround fixs Sparrow-Wifi and Zenmap problems, but not the Qterminal command as 'root', probably due to the update from X11 to Wayland, DISPLAY and XAUTHORITY environment variables are no longer passed to the 'pkexec x-terminal-emulator' command. Qterminal output error: Pkexec/Qterminal: WorkaroundStarting Pkexec with missing 'env' arguments: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY x-terminal-emulator | ||||
| has duplicate | 0009500 | closed | daniruiz | [pkexec/polkitd 127-1+kali1] polkit-agent-helper-1 missing setuid bit after upgrade |
| has duplicate | 0009501 | closed | daniruiz | Sudo terminal commands on GUI Interfaces in programs automatically close |
| has duplicate | 0009489 | closed | arnaudr | Polkitd 127-1+kali1 error, unable to elevate with lxpolkit |
|
Please update your system ( |
|
|
Hi Arnaud, I confirm the upgrade to |
|
|
PS: I have a question for my own personal knowledge. I haven't seen any updates to the |
|
|
Not sure the downgrade is a good idea. In my case the proposed workaround (manually enabling polkit-agent-helper.socket) already solved the issue in a satisfactory way. The problem about per-Kali politic of disabling everything not indispensable should be solved in its own package. The mentioned issue about graphical programs in elevated environment on Wayland is a known limitation of Polkit, IIRC. This can be worked by creating launchers that detect the environment and set the corresponding variables as needed. |
|
|
Hi, I confirm that the update fixed the issue.
Updated the polkit packages to version 127+really126-0+kali1:
The setuid bit on /usr/lib/polkit-1/polkit-agent-helper-1 has been successfully restored, and volume mounting now works without problems. Thanks for your support! |
|
|
@pkreuzt The downgrade is a temporary solution until we have time to investigate the issue. In my tests, enabling |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-01-11 15:09 | iojymbo | New Issue | |
| 2026-01-13 08:52 | daniruiz | Assigned To | => arnaudr |
| 2026-01-13 08:52 | daniruiz | Status | new => assigned |
| 2026-01-13 09:00 | arnaudr | Note Added: 0021240 | |
| 2026-01-13 09:36 | daniruiz | Relationship added | has duplicate 0009500 |
| 2026-01-13 09:36 | daniruiz | Relationship added | has duplicate 0009501 |
| 2026-01-13 09:36 | daniruiz | Relationship added | has duplicate 0009489 |
| 2026-01-13 10:18 | iojymbo | Note Added: 0021242 | |
| 2026-01-13 10:28 | iojymbo | Note Added: 0021243 | |
| 2026-01-13 17:30 | pkreuzt | Note Added: 0021246 | |
| 2026-01-13 23:39 | Alderson Elliot | Note Added: 0021248 | |
| 2026-01-14 07:44 | arnaudr | Note Added: 0021249 | |
| 2026-01-14 07:45 | arnaudr | Note Edited: 0021249 |
related to
child of
duplicate of