Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293731 - With gksu in combination with openssh password dialog shows up in terminal, instead of gtk dialog popup.
Summary: With gksu in combination with openssh password dialog shows up in terminal, i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 15:17 UTC by Jesse Tijnagel
Modified: 2009-11-20 11:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Tijnagel 2009-11-19 15:17:48 UTC
Something like this command "gksu -u root 'sshfs user@74.54.61.250:. ./mnt/point -o allow_other'" normally asks in a GTK dialog ( screenshot: http://www.webslot.be/img/openSshPopup.png ) for the ssh password. On Gentoo however this dialog doesn't popup, instead the password request appears in the terminal.

Reproducible: Always

Actual Results:  
The password request appears in the terminal.

Expected Results:  
A GTK dialog asking for the ssh password.

I can't figure out if this is a matter of USE flags, configuration, a bug, or a combination of that.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-19 15:48:28 UTC
it looks like you don't have a x11-sshaskpass program installed.
Comment 2 Jesse Tijnagel 2009-11-20 00:09:23 UTC
(In reply to comment #1)
> it looks like you don't have a x11-sshaskpass program installed.
> 

Yes that's what i though. But neither emerging net-misc/ssh-askpass-fullscreen nor net-misc/x11-ssh-askpass helps, and net-misc/gtk2-ssh-askpass somehow got removed from portage.

There doesn't seem to be any good information available about how to get such askpass app to work, or about why net-misc/gtk2-ssh-askpass is not available in Portage.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-20 11:32:38 UTC
You need to make sure a few variables, notably DISPLAY and SSH_AKSPASS (or whatever it is again), stay set in your gksu environment. Please note that other distros might also configure gksu to in fact call sudo which you can configure /etc/sudoers (via visudo).