Bug 727826

Summary: ssh askpass does not work at kde startup
Product: [openSUSE] openSUSE 12.1 Reporter: Rich Coe <rcoe>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: ctrippe
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Rich Coe 2011-11-02 16:12:50 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

In .xinitrc I have the following,
if test -S "$SSH_AUTH_SOCK" -a -x "$SSH_ASKPASS"; then
       ssh-add < /dev/null
fi

This causes the X startup to eventually invoke /usr/lib64/ssh/ksshaskpass.

The UI comes up, but typing any keys is not reflected in the UI, and 
the passphrase is not read into the app.

If I invoke ssh-add after kde is up, the UI reacts normally and operates
correctly.

root     20020  1106  0 15:55 ?        00:00:00 -:0         
coe      20047 20020  0 15:55 ?        00:00:00 /bin/bash /usr/local/home/coe/.xinitrc
coe      20151 20047  0 15:55 ?        00:00:00 /usr/bin/gpg-agent --sh --daemon --write-env-file /usr/local/home/coe/.gnupg/agent.info /usr/bin/ssh-agent /usr/local/home/coe/.xinitrc
coe      20152 20047  0 15:55 ?        00:00:00 /usr/bin/ssh-agent /usr/local/home/coe/.xinitrc
coe      20156 20047  0 15:55 ?        00:00:00 ssh-add
coe      20157 20156  0 15:55 ?        00:00:00 /usr/lib64/ssh/ksshaskpass Enter passphrase for /usr/local/home/coe/.ssh/id_rsa: 


Reproducible: Always
Comment 1 Christian Trippe 2014-05-04 07:08:27 UTC
Closing as dup of a newer report

*** This bug has been marked as a duplicate of bug 852453 ***