[Bug 2026307] Re: ssh-askpass-gnome pops up for every sudo command
Lena Voytek
2026307 at bugs.launchpad.net
Tue Jul 11 11:46:28 UTC 2023
Hmm, I tested the workaround on lunar too just to make sure and it works
for me. After the .desktop file is created the inhibitShortcutsDialog
will show up one more time. Notably the description of the dialog box
will change to contain the Name entry for the desktop file - in this
case "GNOME ssh-askpass" rather than the executable name "gnome-ssh-
askpass". After clicking "allow" it shouldn't pop up ever again.
If it still has that name the Exec path may be wrong in the desktop
file. Make sure it says "Exec=/usr/lib/openssh/gnome-ssh-askpass".
Alternatively the local desktop file entry just might not be working and
it may be worth adding the file to /usr/share/applications/ instead.
This also works for me. Hope that helps, thanks!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2026307
Title:
ssh-askpass-gnome pops up for every sudo command
Status in openssh package in Ubuntu:
New
Status in openssh source package in Jammy:
Triaged
Status in openssh source package in Kinetic:
Triaged
Status in openssh source package in Lunar:
Triaged
Bug description:
When running multiple commands like this:
SUDO_ASKPASS=/usr/lib/openssh/gnome-ssh-askpass sudo -A cp ./ez_bkup /usr/local/bin/
from my gtk4 app, the ssh-askpass-gnome dialog and the gnome
inhibitShortcutsDialog pops up. i click allow on the
inhibitShortcutsDialog, then enter my password, which is accepted,
then they both pop up again for each of these sudo commands my app
calls.
This happens in ubuntu 22.04-23.04 (completely updated) using gnome.
If i use xfce in the same ubuntu versions, the gnome dialog doesn't
pop up, of course, and ssh-askpass-gnome works properly (one entry and
then all commands executed without further prompting). Fedora 37 works
properly with gnome x11 or wayland, and xfce. Not sure if this is a
bug in ubuntu's ssh-askpass-gnome, gnome-shell, or both/something
else.
ubuntu 23.04 is using GNOME Shell 44.2 and ssh-askpass-gnome
1:9.0p1-1ubuntu8.2
fedora is using openssh-askpass-8.8p1-10.fc37 and GNOME Shell 43.6
thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2026307/+subscriptions
More information about the foundations-bugs
mailing list