[Bug 789158] New: Seemingly conflicting logic in Xsession breaks SSH_ASKPASS
https://bugzilla.novell.com/show_bug.cgi?id=789158 https://bugzilla.novell.com/show_bug.cgi?id=789158#c0 Summary: Seemingly conflicting logic in Xsession breaks SSH_ASKPASS Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: omega@online.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 The opensuse docs http://doc.opensuse.org/documentation/html/openSUSE/opensuse-security/cha.ss... explains that the lines # if test -S "$SSH_AUTH_SOCK" -a -x "$SSH_ASKPASS"; then # ssh-add < /dev/null # fi should be uncommented to have the X session ask me for the ssh passphrase upon login. It did not work for me. I did some analysis and I think the problem comes from /etc/X11/xdm/Xsession. The stuff that sets $SSH_AUTH_SOCK & friends is in sys.xsession. This file is not executed if $HOME/.xinitrc is present (see line 229 and following in /etc/X11/xdm/Xsession) because the user's .xinitrc is executed instead. I feel that there is something wrong with the logic how and when these scripts are invoked since sys.xsession will call $HOME/.xinitrc. I suppose that $HOME/.xinitrc should not be executed to start the Xsession, only $HOME/.xsession should if present. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=789158
https://bugzilla.novell.com/show_bug.cgi?id=789158#c1
--- Comment #1 from Boris Neubert
https://bugzilla.novell.com/show_bug.cgi?id=789158
https://bugzilla.novell.com/show_bug.cgi?id=789158#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=789158
https://bugzilla.novell.com/show_bug.cgi?id=789158#c2
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com