[Bug 819066] New: Cannot enter "kwallet" nor "ssh" key during logon with "ssh-add" turn on in "/etc/X11/xinit/xinitrc"
https://bugzilla.novell.com/show_bug.cgi?id=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c0 Summary: Cannot enter "kwallet" nor "ssh" key during logon with "ssh-add" turn on in "/etc/X11/xinit/xinitrc" Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: DOlsson@WEB.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 After having activated (i.e. removed the '#' comments in lines 48-50 in "/etc/X11/xinit/xinitrc") the call of "ssh-add", I am not able to enter neither the "kwallet" key (for which I am first asked for) nor the "ssh" key (which is asked for afterwards). The reason for this is that the keyboard is no active anymore. I am able to use the mouse to select the input field, but nothing that I try to type gets entered, nor can I move the focus from the input field to one of the buttons using the <TAB> key! Reproducible: Always Steps to Reproduce: 1. Install a fresh openSUSE 12.3 using KDE as desktop. 2. Edit the "/etc/X11/xinit/xinitrc" removing the '#' comments, thus enabling the call of "ssh-add" during logon. 3. Create a "ssh" key for the user. 4. Create a "kwallet" to keep the keys in. Actual Results: Unable to use the keyboard to enter the asked for keys. Expected Results: When the "kwallet" and "ssh-add" applications shows their pop-up windows, the input field should be selected and the keyboard focus should have been activated, thus allowing for the entering of the asked for keys. -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c Dennis Olsson <DOlsson@WEB.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cannot enter "kwallet" nor |Cannot enter "kwallet" nor |"ssh" key during logon with |"ssh" key during login with |"ssh-add" turn on in |"ssh-add" turned on in |"/etc/X11/xinit/xinitrc" |"/etc/X11/xinit/xinitrc" -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c1 --- Comment #1 from Dennis Olsson <DOlsson@WEB.de> 2013-05-09 03:16:45 CEST --- The first lines of output from ".xsession-errors" looks as follows: /etc/X11/xim: Checking whether an input method should be started. sourcing /etc/sysconfig/language to get the value of INPUT_METHOD INPUT_METHOD is not set or empty (no user selected input method). Trying to start a default input method for the locale en_GB.UTF-8 ... There is no default input method for the current locale. Dummy input method "none" (do not use any fancy input method by default) Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kbuildsycoca4 running... QDBusConnection: name 'org.kde.kwalletd' had owner '' but we thought it was ':1.5' kwalletd(5704)/kdeui (Wallet) KWalletD::setupDialog: Application ' "Ksshaskpass" ' using kwallet without parent window! kwalletd(5704)/kdeui (Wallet) KWalletD::setupDialog: Application ' "Ksshaskpass" ' using kwallet without parent window! kwalletd(5704)/kdeui (Wallet) KWalletD::setupDialog: Application ' "Ksshaskpass" ' using kwallet without parent window! startkde: Starting up... kdeinit4: Shutting down running client. klauncher: Exiting on signal 15 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) KDE Daemon (kded) already running. kbuildsycoca4 running... QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.15' -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c2 --- Comment #2 from Dennis Olsson <DOlsson@WEB.de> 2013-05-09 03:19:18 CEST --- The only way to be able to login, is to use the mouse and clicking on "Cancel" on the "kwallet" as well as the "ssh-add" windows. Otherwise they keep asking for the key -- which I cannot enter, while I am not able to enter any characters in the input fields! -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c3 --- Comment #3 from Dennis Olsson <DOlsson@WEB.de> 2013-05-09 03:30:34 CEST --- HHmm, oddly enough, although I apparently cannot enter any letters/numbers/special chars representing the keys in "kwallet" and "ssh-add", the windows do act on the <RETURN> key. Apparently, while normally these pop-windows acknowledge the entering of chars with the display of a bullet, but in this case nothing happens. Using the <RETURN> key (or clicking on "OK" with the mouse) activates the application, but always resulting in "wrongly entered key, please retype" (sort of) response, with the only way of getting on with the login is by clicking on the "Cancel" button, although this defies the very purpose of using the keys in the first place. Do not get this. Would appreciate any input/help as how to debug and/or solve this oddity! :-) Many thanks in advance. -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c4 --- Comment #4 from Dennis Olsson <DOlsson@WEB.de> 2013-05-09 03:35:59 CEST --- After having logged on, I tried $ batch at> export DISPLAY=:0 at> ssh-add at> CTRl-D after which the "kwallet" window pop-up, and here the entering of the key results nicely in bullets, and acceptance of the entered key. Followed by the "ssh-add" window pop-up. Also here the entering of the key results in bullets and acceptance of the entered key. OK, I had expected that this would work like this, but still -- Why does not it work during the logon phase? -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c5 --- Comment #5 from Dennis Olsson <DOlsson@WEB.de> 2013-05-09 03:49:41 CEST --- Hhmm, using this "fix" in "/etc/X11/xinit/xinitrc", line 49: Original line: ssh-add < /dev/null "Fixed" line: ssh-add < /dev/null & then it works. OK, it is not especially "nice", while the "kwallet" and "ssh-add" windows have to "fight" with all the other windows that get started during the login phase, but at least it is now possible to enter the keys as one would except. The problem seems to be the KDM, then, while with original line is started before the window manager "kwin" is started. The question is just, why it it so? This has not been a problem in any of the earlier KDE releases. I am using: kwin-4.10.2-1.11.3.x86_64 kdm-4.10.2-1.11.3.x86_64 ... kdebase4-libkonq-4.10.2-1.4.4.x86_64 kdebase4-nsplugin-4.10.2-1.4.4.x86_64 kdebase4-openSUSE-12.3-10.15.6.x86_64 kdebase4-runtime-4.10.2-1.4.5.x86_64 kdebase4-runtime-branding-openSUSE-12.3-10.15.6.x86_64 kdebase4-session-4.10.2-1.4.1.noarch kdebase4-workspace-4.10.2-1.11.3.x86_64 kdebase4-workspace-branding-openSUSE-12.3-10.15.6.x86_64 kdebase4-workspace-ksysguardd-4.10.2-1.11.3.x86_64 kdebase4-workspace-liboxygenstyle-4.10.2-1.11.3.x86_64 kdebase4-workspace-plasma-calendar-4.10.2-1.11.3.x86_64 python-kdebase4-4.10.2-1.11.3.x86_64 -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c6 --- Comment #6 from Dennis Olsson <DOlsson@WEB.de> 2013-05-13 18:45:34 CEST --- Same result after having upgraded to 4.10.3: kdm-4.10.3-918.1.x86_64 kwin-4.10.3-918.1.x86_64 ... kdebase4-libkonq-4.10.3-338.1.x86_64 kdebase4-nsplugin-4.10.3-338.1.x86_64 kdebase4-openSUSE-12.3-232.2.x86_64 kdebase4-runtime-4.10.3-426.1.x86_64 kdebase4-runtime-branding-openSUSE-12.3-232.2.x86_64 kdebase4-session-4.10.3-59.1.noarch kdebase4-workspace-4.10.3-918.1.x86_64 kdebase4-workspace-branding-openSUSE-12.3-232.2.x86_64 kdebase4-workspace-ksysguardd-4.10.3-918.1.x86_64 kdebase4-workspace-liboxygenstyle-4.10.3-918.1.x86_64 kdebase4-workspace-plasma-calendar-4.10.3-918.1.x86_64 python-kdebase4-4.10.3-918.1.x86_64 -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c7 --- Comment #7 from Dennis Olsson <DOlsson@WEB.de> 2014-01-25 13:41:57 CET --- Same result after having updated to 4.11.5: kdm-4.11.5-5.1.x86_64 kwin-4.11.5-5.1.x86_64 .. kdebase4-libkonq-4.11.5-1.1.x86_64 kdebase4-nsplugin-4.11.5-1.1.x86_64 kdebase4-openSUSE-12.3-261.1.x86_64 kdebase4-runtime-4.11.5-1.1.x86_64 kdebase4-runtime-branding-openSUSE-12.3-261.1.x86_64 kdebase4-session-4.11-62.2.noarch kdebase4-workspace-4.11.5-5.1.x86_64 kdebase4-workspace-branding-openSUSE-12.3-261.1.x86_64 kdebase4-workspace-ksysguardd-4.11.5-5.1.x86_64 kdebase4-workspace-liboxygenstyle-4.11.5-5.1.x86_64 kdebase4-workspace-plasma-calendar-4.11.5-5.1.x86_64 python-kdebase4-4.11.5-5.1.x86_64 -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c8 --- Comment #8 from Dennis Olsson <DOlsson@WEB.de> 2014-05-02 22:30:45 CEST --- Same result after having upgraded to 4.13.0(*): kdm-4.11.9-5.1.x86_64 kwin-4.11.9-5.1.x86_64 ... kdebase4-libkonq-4.13.0-3.5.x86_64 kdebase4-nsplugin-4.13.0-3.5.x86_64 kdebase4-openSUSE-12.3-2.5.x86_64 kdebase4-runtime-4.13.0-3.1.x86_64 kdebase4-runtime-branding-openSUSE-12.3-2.5.x86_64 kdebase4-session-4.13-4.1.noarch kdebase4-workspace-4.11.9-5.1.x86_64 kdebase4-workspace-branding-openSUSE-12.3-2.5.x86_64 kdebase4-workspace-ksysguardd-4.11.9-5.1.x86_64 kdebase4-workspace-liboxygenstyle-4.11.9-5.1.x86_64 kdebase4-workspace-plasma-calendar-4.11.9-5.1.x86_64 I find it rather strange that upgrading to KDE 4.13.0 leaves "kdm" at 4.11.9 -- The same goes for the "kdebase4-workspace", but that it how it is. (*) Using these KDE repositories for the upgrading to 4.13.0: http://download.opensuse.org/repositories/KDE:/Current/openSUSE_12.3/ http://download.opensuse.org/repositories/KDE:/Extra/KDE_Current_openSUSE_12... -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c9 --- Comment #9 from Dennis Olsson <DOlsson@WEB.de> 2014-05-02 22:32:52 CEST --- Taking into account how long this bug has been open, I am wondering, are any one from the KDE Team looking at this bug at all -- Or, does it interest you that the functionality of a KDE application suddenly has changed into being unusable? -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c10 Raymond Wooninck <tittiatcoke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tittiatcoke@gmail.com --- Comment #10 from Raymond Wooninck <tittiatcoke@gmail.com> 2014-05-02 20:47:02 UTC --- I am sorry that nobody looked at this before, but the method that you are trying to activate will not work with KDE. ssh-add can not be called without setting an environment variable to indicate how the ssh key should be retrieved from the kwallet. By putting a & behind, just means that you push the process to the background so that other processes will continue. The best way to resolve it is to comment those lines again in the /etc/X11/xinit/xinitrc file (which is by the way part of Xorg and not of KDE). And follow the instructions on this page https://en.opensuse.org/SDB:Ssh-agent_KDE_Wallet -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c11 --- Comment #11 from Dennis Olsson <DOlsson@WEB.de> 2014-05-06 22:09:53 CEST --- I know that "/etc/X11/xinit/xinitrc" is part of Xorg, it is just that I upgraded from openSUSE 11.2 using KDE3, where this worked nicely (OK, at that time, I did not make use of "kwallet"), and thus had expected this would work with KDE4 as well, which it obviously does not. That it does not work with "kwallet", I can understand and accept, but that the used of "ssh-add" from "/etc/X11/xinit/xinitrc"(*) does not work under KDE4, where it did under KDE3, it somewhat puzzling for me. When I had seen that the starting of "ssh-add" as a background process worked (which I did not like), I started to look around in the KDE4 System Configuration to figure out, how I could solve this in another way. What I can see now, is that I have manage to create an auto started call of "ssh-add", when KDE4 gets started by inserting a "ssh-add.desktop" file as "~/.config/autostart/ssh-add.desktop" (KDE4 System Configuration -> Startup and Shutdown -> Autostart -> Desktop File -> (no name) ssh-add). Unfortunately, I am not especially good using the KDE4 GUI, so what I did back then, was to use "brutal force" by creating a "ssh-add.desktop" file using the Desktop GUI and then moving the file to "~/.config/autostart/ssh-add.desktop" (I assume that it is also the reason why the entry under "Desktop File" does not have a name). But, anyhow, it works as intended. :-) Still, I would like to know, why the "ssh-add" in "xinitrc" worked under KDE3, but not under KDE4. (*) I do not change the system default file, instead I make a copy of it to "~/.xinitrc", where I make the changes, making use of the fact that Xorg preferences the usage of "~/.xinitrc" over the system default file "/etc/X11/xinit/xinitrc". -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c12 --- Comment #12 from Dennis Olsson <DOlsson@WEB.de> 2014-05-07 10:25:05 CEST --- The explanation might very well be the same as to why one cannot enter the authentication in the authentication pop-up window, when shutting down using the KDM System Shutdown Menu, when KDM is configured to ask for root authentication before handling system shutdown, as I reported in bug 860506 -- now a duplicate of bug 772344 (which also refers to various upstream bugs). -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c13 Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |initialZero@gmail.com --- Comment #13 from Christian Trippe <ctrippe@opensuse.org> 2014-05-07 18:33:33 UTC --- *** Bug 852453 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=852453 -- 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=819066 https://bugzilla.novell.com/show_bug.cgi?id=819066#c Christian Trippe <ctrippe@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ctrippe@opensuse.org Component|KDE4 Workspace |KDE4 Workspace Product|openSUSE 12.3 |openSUSE 13.1 -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=819066 http://bugzilla.novell.com/show_bug.cgi?id=819066#c14 Dennis Olsson <DOlsson@WEB.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NORESPONSE --- Comment #14 from Dennis Olsson <DOlsson@WEB.de> --- Closed, because no one seems interested in solving this and because it is of no interest any more anyway. As a side note, I would like to mention that I solved my problem by not using any of the X11 scripts at all, but instead by adding 2 program entries to the "Desktop File" menu used to automatically start up programs with KDE. The "Desktop File" menu is found under: "System Settings" -> "Startup and Shutdown" -> "Desktop File" and by using "Add Program...", twice, I added two entries named "ssh-add" and "ssh-add ~/.ssh/<private key>", which ensures that the default private key file "~/.ssh/id_rsa" and the arbitrary private key file "~/.ssh/<private key>" are added to the ssh-agent daemon after entering the pass-phrase in the pop-up windows that appears after login to the KDE desktop. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=819066 http://bugzilla.novell.com/show_bug.cgi?id=819066#c15 Dennis Olsson <DOlsson@WEB.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #15 from Dennis Olsson <DOlsson@WEB.de> --- Verified that solution works through usage of it the past 3+ years... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com