[Pkg-utopia-maintainers] Bug#853165: Synaptic fails to start; do not show pop-up for root password)
Matías Castillo Felmer
mcastillof at coders.cl
Mon Mar 31 22:37:15 BST 2025
Package: pkexec
Followup-For: Bug #853165
Dear Maintainer,
* What led up to the situation?
I don't know what led to the situation, but it was working a
few months
ago. The problem seems to be happening randomly to some people, as a
search on
the net shows.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I tried a few things that people suggest without success, like
reinstalling related packages:
sudo apt install --reinstall gir1.2-polkit-1.0 libpolkit-agent-1-0
policykit-1-gnome
I don't know where do I read the following but I confirmed it with
chatgpt. The user needs to be in sudo or admin group so that pkexec works.
So I checked in which groups my user was:
$ groups
<$USER here> dialout plugdev users docker libvirt libvirt-qemu
Then I added my user to sudo with:
$ sudo usermod -aG sudo $USER
I don't know if a reboot or a logout/login is need but, it is
working
now.
* What was the outcome of this action?
pkexec is showing the dialog requesting for the root password.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.19-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pkexec depends on:
ii libc6 2.41-6
ii libglib2.0-0t64 2.84.0-2
ii libpam0g 1.7.0-3
ii libpolkit-agent-1-0 126-2
ii libpolkit-gobject-1-0 126-2
ii polkitd 126-2
pkexec recommends no packages.
pkexec suggests no packages.
Versions of packages pkexec is related to:
pn elogind <none>
pn libpam-elogind <none>
ii libpam-systemd 257.4-3
ii systemd 257.4-3
-- no debconf information
On Mon, 6 Feb 2017 14:02:21 +0100 kznrsa <kznrsa at gmail.com> wrote:
> Package: policykit-1
> Version: 0.105-17
> Severity: important
>
> Dear Maintainer,
>
> *** Reporter, please consider answering these questions, where
> appropriate ***
>
> * What led up to the situation?
> Could not start synaptic via the LXDE menu (nothing happens); try to
> start it from the command line using:
> $ synaptic-pkexec
> ==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
> Authentication is required to run the Synaptic Package Manager
> Authenticating as: root
> Password:
> polkit-agent-helper-1: error response to PolicyKit daemon:
> GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for
cookie
> ==== AUTHENTICATION FAILED ===
> Error executing command as another user: Not authorized
>
> This incident has been reported.
>
> Others authentication problems exist:
> when trying to mount an internal partition from pcmanfm/lxde, a error
> message is displayed "not authorized to perform operation" (should ask
> for the root password).
>
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> * What was the outcome of this action?
> * What outcome did you expect instead?
>
> *** End of the template - remove these template lines ***
>
>
> -- System Information:
> Debian Release: 9.0
> APT prefers testing
> APT policy: (500, 'testing'), (100, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 4.9.0-1-686-pae (SMP w/2 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages policykit-1 depends on:
> ii dbus 1.10.14-1
> ii libc6 2.24-8
> ii libglib2.0-0 2.50.2-2
> ii libpam-systemd 232-14
> ii libpam0g 1.1.8-3.5
> ii libpolkit-agent-1-0 0.105-17
> ii libpolkit-backend-1-0 0.105-17
> ii libpolkit-gobject-1-0 0.105-17
>
> policykit-1 recommends no packages.
>
More information about the Pkg-utopia-maintainers
mailing list