View Issue Details

IDProjectCategoryView StatusLast Update
0009622Kali LinuxKali Package Bugpublic2026-04-10 09:09
Reporterkrishnendu Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009622: root terminal not open after upgrade
Description

root login pop up not stay to put password

Attached Files

Relationships

has duplicate 0009623 closedarnaudr root terminal not open after upgrade 
has duplicate 0009628 closedarnaudr root terminal not open after upgrade 

Activities

arnaudr

arnaudr

2026-04-04 06:59

manager   ~0021510

Please reboot your system. Does that fix the issue?

Jess Up

Jess Up

2026-04-04 17:27

reporter   ~0021512

This is happening with me too. When I run any program that requires root, the password prompt fails, and it closes.

arnaudr

arnaudr

2026-04-05 03:14

manager   ~0021513

This is an expected side-effect of the latest update of the package polkitd. You need to reboot the system after this upgrade.

It's written among the logs of apt full-upgrade (assuming you ran this command manually in a terminal), but the line is buried among other apt logs, so I guess most people won't see it...

┌──(kali㉿kali)-[~]
└─$ sudo apt update && sudo apt full-upgrade
[...]
Setting up libpolkit-gobject-1-0:amd64 (127+really127-0kali1)…
Setting up libpolkit-agent-1-0:amd64 (127+really127-0kali1)…
Setting up polkitd (127+really127-0kali1)…
Upgrading to this polkitd version requires a reboot, please reboot the system when convenient.
Created symlink '/etc/systemd/system/sockets.target.wants/polkit-agent-helper.socket' → '/usr/lib/systemd/system/polkit-agent-helper.socket'.
[...]

Please reboot your system. Does that fix the issue?

krishnendu

krishnendu

2026-04-05 15:49

reporter   ~0021514

sudo apt update && sudo apt full-upgrade
not working

RDjavi.06

RDjavi.06

2026-04-06 01:21

reporter   ~0021515

sudo

arnaudr

arnaudr

2026-04-06 02:43

manager   ~0021521

Please reboot your system. Does that fix the issue?

krishnendu

krishnendu

2026-04-06 02:47

reporter   ~0021522

nothing work
┌──(root㉿kali)-[~]
└─# apt install --reinstall policykit-1 polkitd
Reinstallation of policykit-1 is not possible, it cannot be downloaded.
Summary:
Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 0
Download size: 123 kB
Space needed: 0 B / 12.4 GB available

Continue? [Y/n] y
Get:1 http://http.kali.org/kali kali-rolling/main amd64 polkitd amd64 127+really127-0kali1 [123 kB]
Fetched 123 kB in 1s (113 kB/s)
(Reading database ... 1052277 files and directories currently installed.)
Preparing to unpack .../polkitd_127+really127-0kali1_amd64.deb ...
Unpacking polkitd (127+really127-0kali1) over (127+really127-0kali1) ...
Setting up polkitd (127+really127-0kali1) ...
polkit-agent-helper.socket is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for dbus (1.16.2-4) ...
Processing triggers for sgml-base (1.31+nmu1) ...
Processing triggers for kali-menu (2026.2.2) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date.

reboot but still same problem

arnaudr

arnaudr

2026-04-06 02:51

manager   ~0021523

What terminal do you use?

arnaudr

arnaudr

2026-04-06 02:56

manager   ~0021524

Last edited: 2026-04-06 02:58

@krishnendu Can you provide the output of the following commands:

systemctl status polkit-agent-helper.socket
dpkg-query -W | grep -E 'base-files|kali-defaults|polkit|init-system'
update-alternatives --display x-terminal-emulator
Jess Up

Jess Up

2026-04-07 04:48

reporter   ~0021528

──(private㉿kali)-[~]
└─$ systemctl status polkit-agent-helper.socket
○ polkit-agent-helper.socket - Authorization Manager Agent Helper
Loaded: loaded (/usr/lib/systemd/system/polkit-agent-helper.socket; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:polkit(8)
Listen: /run/polkit/agent-helper.socket (Stream)
Accepted: 0; Connected: 0;

┌──(private㉿kali)-[~]
└─$ dpkg-query -W | grep -E 'base-files|kali-defaults|polkit|init-system'
base-files 1:2026.1.1
gir1.2-polkit-1.0:amd64 127+really127-0kali1
init-system-helpers 1.69+kali1
kali-defaults 2026.1.2
kali-defaults-desktop 2026.1.2
libpolkit-agent-1-0:amd64 127+really127-0kali1
libpolkit-gobject-1-0:amd64 127+really127-0kali1
libpolkit-qt5-1-1:amd64 0.200.0-4+b2
libpolkit-qt6-1-1:amd64 0.200.0-4+b2
polkit-kde-agent-1 4:6.5.4-1
polkitd 127+really127-0kali1

┌──(private㉿kali)-[~]
└─$ update-alternatives --display x-terminal-emulator
x-terminal-emulator - auto mode
link best version is /usr/bin/gnome-terminal.wrapper
link currently points to /usr/bin/gnome-terminal.wrapper
link x-terminal-emulator is /usr/bin/x-terminal-emulator
slave x-terminal-emulator.1.gz is /usr/share/man/man1/x-terminal-emulator.1.gz
/usr/bin/gnome-terminal.wrapper - priority 40
slave x-terminal-emulator.1.gz: /usr/share/man/man1/gnome-terminal.wrapper.1.gz
/usr/bin/koi8rxterm - priority 20
slave x-terminal-emulator.1.gz: /usr/share/man/man1/koi8rxterm.1.gz
/usr/bin/konsole - priority 40
/usr/bin/lxterm - priority 30
slave x-terminal-emulator.1.gz: /usr/share/man/man1/lxterm.1.gz
/usr/bin/tilix.wrapper - priority 30
slave x-terminal-emulator.1.gz: /usr/share/man/man1/tilix.1.gz
/usr/bin/uxterm - priority 20
slave x-terminal-emulator.1.gz: /usr/share/man/man1/uxterm.1.gz
/usr/bin/xterm - priority 20
slave x-terminal-emulator.1.gz: /usr/share/man/man1/xterm.1.gz

Jess Up

Jess Up

2026-04-07 04:51

reporter   ~0021529

I'm having the same problem as the person you asked to use the commands.

I'm running KDE Plasma Desktop. My terminal is Konsole.

arnaudr

arnaudr

2026-04-08 03:59

manager   ~0021531

Last edited: 2026-04-08 04:56

You should try that:

systemctl enable --now polkit-agent-helper.socket

Then reboot. Now the unit should be active:

# systemctl status polkit-agent-helper.socket
● polkit-agent-helper.socket - Authorization Manager Agent Helper
     Loaded: loaded (/usr/lib/systemd/system/polkit-agent-helper.socket; enabled; preset: enabled)
     Active: active (listening) since Wed 2026-04-08 00:48:13 EDT; 6min ago
 Invocation: cb41812efd434b569f93350f58dff278
       Docs: man:polkit(8)
     Listen: /run/polkit/agent-helper.socket (Stream)
   Accepted: 1; Connected: 0;

Apr 08 00:48:13 kali systemd[1]: Listening on polkit-agent-helper.socket - Authorization Manager Agent Helper.

And you should be able to start a root terminal via the menu icon. Does that work?

Jess Up

Jess Up

2026-04-08 17:32

reporter   ~0021534

(private㉿kali)-[~]
└─$ systemctl enable --now polkit-agent-helper.socket
Failed to enable unit: Access denied

Jess Up

Jess Up

2026-04-08 17:38

reporter   ~0021535

I tried it, and rebooted, but still the same.

I'm not sure if this helps but I'm running Kali as a virtual machine in VMware Workstation with Win11 as the host.

I had a similar issue that happened earlier in the year which was resolved, but not sure if it's related.

It's in thread 0009497

arnaudr

arnaudr

2026-04-09 01:30

manager   ~0021536

I forgot to mention it above: you need to run the command as root:

sudo systemctl enable --now polkit-agent-helper.socket

I had a similar issue that happened earlier in the year which was resolved, but not sure if it's related.

It's related, but now it should be fixed, in the sense that polkit-agent-helper.socket should be enabled automatically. I don't know why it's not enabled for you, but if you enable it manually (command above) and reboot, it should work.

Jess Up

Jess Up

2026-04-09 05:37

reporter   ~0021538

It's working now for me. Thank you.

krishnendu

krishnendu

2026-04-09 13:30

reporter   ~0021541

apt update
apt install --reinstall policykit-1 polkitd

chown root:root /usr/lib/policykit-1/polkit-agent-helper-1
chmod 4755 /usr/lib/policykit-1/polkit-agent-helper-1

chown root:root /usr/bin/pkexec
chmod 4755 /usr/bin/pkexec

fixed my issue thanks

arnaudr

arnaudr

2026-04-09 14:23

manager   ~0021543

Last edited: 2026-04-09 14:43

This is not a good piece of advice.

Re-installing package is Ok, no problem with that.

However changing file permissions and ownership of the files installed by the packages is not a good idea. In particular, version 127 of polkit REMOVED the SUID bit on polkit-agent-helper-1, to increase security overall (SUID programs are a security risk). When you run chmod 4755 /usr/lib/policykit-1/polkit-agent-helper-1 you set the SUID bit again, for no reason.

krishnendu

krishnendu

2026-04-10 09:09

reporter   ~0021547

many many thanks arnaudr

reset permission again reinstall

──(root㉿kali)-[~]
└─# sudo apt install --reinstall polkitd policykit-1
Reinstallation of policykit-1 is not possible, it cannot be downloaded.
Summary:
Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 0
Download size: 123 kB
Space needed: 0 B / 12.4 GB available

Continue? [Y/n] y
Get:1 http://http.kali.org/kali kali-rolling/main amd64 polkitd amd64 127+really127-0kali1 [123 kB]
Fetched 123 kB in 1s (107 kB/s)
(Reading database ... 1052624 files and directories currently installed.)
Preparing to unpack .../polkitd_127+really127-0kali1_amd64.deb ...
Unpacking polkitd (127+really127-0kali1) over (127+really127-0kali1) ...
Setting up polkitd (127+really127-0kali1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for dbus (1.16.2-4) ...
Processing triggers for sgml-base (1.31+nmu1) ...
Processing triggers for kali-menu (2026.2.2) ...
Scanning processes...
Scanning candidates...
Scanning linux images...

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

User sessions running outdated binaries:
master @ session #3: localsearch-3[2979]
master @ user service: wireplumber.service[2167]

No VM guests are running outdated hypervisor (qemu) binaries on this host.

systemctl enable --now polkit-agent-helper.socket
┌──(root㉿kali)-[~]
└─# systemctl status polkit-agent-helper.socket
● polkit-agent-helper.socket - Authorization Manager Agent Helper
Loaded: loaded (/usr/lib/systemd/system/polkit-agent-helper.socket; enable>
Active: active (listening) since Fri 2026-04-10 05:01:23 EDT; 5min ago
Invocation: 204130cf9a0d44bf8277754e2c14bd52
Docs: man:polkit(8)
Listen: /run/polkit/agent-helper.socket (Stream)
Accepted: 4; Connected: 0;

Apr 10 05:01:23 kali systemd[1]: Closed polkit-agent-helper.socket - Authorizat>
Apr 10 05:01:23 kali systemd[1]: Stopping polkit-agent-helper.socket - Authoriz>
Apr 10 05:01:23 kali systemd[1]: Listening on polkit-agent-helper.socket - Auth>
lines 1-11/11 (END)

again use this command its work now fine

Issue History

Date Modified Username Field Change
2026-04-04 03:26 krishnendu New Issue
2026-04-04 03:26 krishnendu File Added: Kali Linux 2025-2026-04-04-08-55-05.png
2026-04-04 06:59 arnaudr Note Added: 0021510
2026-04-04 17:27 Jess Up Note Added: 0021512
2026-04-05 03:14 arnaudr Note Added: 0021513
2026-04-05 15:49 krishnendu Note Added: 0021514
2026-04-06 01:21 RDjavi.06 Note Added: 0021515
2026-04-06 01:23 RDjavi.06 Issue cloned: 0009623
2026-04-06 02:43 arnaudr Note Added: 0021521
2026-04-06 02:47 krishnendu Note Added: 0021522
2026-04-06 02:51 arnaudr Note Added: 0021523
2026-04-06 02:56 arnaudr Note Added: 0021524
2026-04-06 02:57 arnaudr Note Edited: 0021524
2026-04-06 02:58 arnaudr Note Edited: 0021524
2026-04-06 07:03 arnaudr Relationship added has duplicate 0009623
2026-04-07 04:48 Jess Up Note Added: 0021528
2026-04-07 04:51 Jess Up Note Added: 0021529
2026-04-08 03:59 arnaudr Note Added: 0021531
2026-04-08 04:37 arnaudr Relationship added has duplicate 0009628
2026-04-08 04:56 arnaudr Note Edited: 0021531
2026-04-08 17:32 Jess Up Note Added: 0021534
2026-04-08 17:38 Jess Up Note Added: 0021535
2026-04-09 01:30 arnaudr Note Added: 0021536
2026-04-09 05:37 Jess Up Note Added: 0021538
2026-04-09 13:30 krishnendu Note Added: 0021541
2026-04-09 14:23 arnaudr Note Added: 0021543
2026-04-09 14:43 arnaudr Note Edited: 0021543
2026-04-10 09:09 krishnendu Note Added: 0021547