I'm running Deb testing on my HP Envy x360. Why? Well, I could not get the nvme drive recognized. I didnt want to fart around too much since my previous laptop was sold and needed to transfer my old stuff. In general everything works fine unless there is an application which requires authentication like Synaptic Package Manager or gparted. Neither ask for a password. I can sudo from the command line and it runs, just not sure how to fix it from the gui..
Anyone run into this before and have a fix? Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] gparted on XFCE not asking for password
[SOLVED] gparted on XFCE not asking for password
Last edited by themagicm on 2021-02-08 18:24, edited 1 time in total.
-
- Global Moderator
- Posts: 2637
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 192 times
Re: gparted on XFCE not asking for password
Yes, I have, yes I do!themagicm wrote:Anyone run into this before and have a fix? Thanks
Clues are in http://forums.debian.net/viewtopic.php?f=10&t=148806
XFCE isn't always including an user-agent, formerly gnomes I think now gone from bullseye, you need to finish it off depending on how you want it. You want a password dialog you need an agent.
Start by checking the menu for it's entry and run it on the command line and see...
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: gparted on XFCE not asking for password
Check for running polkit agents with
As CwF says Xfce in buster uses polkit-gnome-authentication-agent-1 for the graphical password prompt so if that doesn't appear in the output of the above command then try installing the policykit-1-gnome package.
Code: Select all
pgrep -a polkit
deadbang
Re: gparted on XFCE not asking for password
Use pkexec instead of sudo:
Code: Select all
pkexec /usr/sbin/gparted &
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: gparted on XFCE not asking for password
The menu entries for gparted and synaptic already use pkexec.
deadbang
Re: gparted on XFCE not asking for password
running journalctl --follow, then running gparted from the menu, I see:
/usr/libexec/gdm-x-session[10876]: Error executing command as another user: No authentication agent found.
I'll start looking to see what I can find...
/usr/libexec/gdm-x-session[10876]: Error executing command as another user: No authentication agent found.
I'll start looking to see what I can find...
Re: gparted on XFCE not asking for password
CwF wrote:Yes, I have, yes I do!themagicm wrote:Anyone run into this before and have a fix? Thanks
Clues are in http://forums.debian.net/viewtopic.php?f=10&t=148806
XFCE isn't always including an user-agent, formerly gnomes I think now gone from bullseye, you need to finish it off depending on how you want it. You want a password dialog you need an agent.
Start by checking the menu for it's entry and run it on the command line and see...
Yep..you were correct. I installed what "Head_on_a_stick" suggested, and its all working now!
Thanks to both of you.. appreciate it!!