K wallet has disappeared and I cannot get it back

My kwallet has become disabled because it was not originally set up right. When I try to reinstall it, it doesn’t appear to be available in the repositories. Can anyone tell me how to get it working again, as I have begun to see the value of it. At first, I thought it was a nuisance so I did not care that it was not there. It does seem to be a screwy system and I have read an unbelievable number of complaints about it. But with all of the computer security issues now in the news regarding privacy, etc. I would like to take advantage of the system.

Please give some more information about the version of openSUSE you are using. Is it openSUSE 42.1 LEAP or openSUSE 13.2 with KDE5 installed or any previous version (if so, which one precisely)?

A list of the repositories enabled in your system would be helpful as well (-> zypper lr --details).

Best regards

susejunky

The KDE4 kwallet is part of kdebase4-runtime, the KF5 one is in kwalletd5.

But reinstalling it probably won’t fix your problem.

Can anyone tell me how to get it working again, as I have begun to see the value of it.

Maybe it’s just disabled?
You can enable it in kwalletmanager or kwalletmanager5, but unfortunately you cannot install both at the same time…

You can also try to remove ~/.kde4/share/config/kwalletrc (for the KDE4 version) and/or ~/.config/kwalletrc (KF5) that should re-enable it and even ask you for a new password.

You can set an empty one then you don’t have to enter it all the time, but that’s of course less secure (personally I don’t care about that though…).

There’s also a way to automatically unlock the wallet on login via kwallet_pam, but I never tried that.

At first, I thought it was a nuisance so I did not care that it was not there. It does seem to be a screwy system and I have read an unbelievable number of complaints about it. But with all of the computer security issues now in the news regarding privacy, etc. I would like to take advantage of the system.

Just to be clear here: kwallet is just a means for KDE applications to store passwords and other credentials so that you don’t have to enter them all the time, similar to Firefox’s password manager.
It doesn’t protect your privacy in any way or something like that.

I am using LEAP 42.1. I am totally new to KDE. I used Gnome since I began with opensuse a few years ago.

In my updates notification I receive the notice: OpenSuse-2015-843 (update for kde frameworks 5)
When I try to install this update I get: dependency resolution failed. More info is available in the detailed report

How do I access the detailed report? Where is it?

Repositories installed are:

  #  | Alias                           | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                     | Service
---+---------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------+--------
 1 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/       |        
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                  |        
 3 | download.opensuse.org-oss       | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/           |        
 4 | download.opensuse.org-oss_1     | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                       |        
 5 | download.opensuse.org-oss_2     | Main Repository (Sources)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
 6 | linuxdownload.adobe.com-linux   | Adobe Flash Plugin                      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/                            |        
 7 | openSUSE-42.1-0                 | openSUSE-42.1-0                         | No      | ----      | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/scsi-20001020000060804-part2              |        
 8 | packman.inode.at-suse           | Packman Repository                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/                        |        
 9 | repo-debug                      | openSUSE-Leap-42.1-Debug                | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/     |        
10 | repo-debug-non-oss              | openSUSE-Leap-42.1-Debug-Non-Oss        | Yes     | ( p) Yes  | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |        
11 | repo-debug-update               | openSUSE-Leap-42.1-Update-Debug         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.1/oss                 |        
12 | repo-debug-update-non-oss       | openSUSE-Leap-42.1-Update-Debug-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/debug/update/leap/42.1/non-oss/            |        
13 | repo-source                     | openSUSE-Leap-42.1-Source               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/    |        
14 | repo-update                     | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                      |        
     

Thanks for the help.

I think some of your repositories are not necessary (not correct?) and all have the same priority what might cause problems in resolving dependencies. So i would suggest the following setup:


Priority 99: http://download.opensuse.org/distribution/leap/42.1/repo/oss/
Priority 99: http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/
Priority 98: http://download.opensuse.org/update/leap/42.1/oss/
Priority 98: http://download.opensuse.org/update/leap/42.1/non-oss/
Priority 97: http://packman.inode.at/suse/openSUSE_Leap_42.1/
Priority 97: http://linuxdownload.adobe.com/linux/x86_64/ (i dont't know what you need this for. If you don't know either better disable it.)

If you don’t do any development / system testing then all other repositories are not really needed and therefore should be disabled. You can change your repository setup with YaST2 and after that you should run “zypper dup” to make sure that your system reflects the software from the repositories.

As wolfi323 already mentioned kwallet should be part of the standard install. If it is still missing, please come back here.

Best regards

susejunky

Yast shows the KWalletd5 is installed. But it doesn’t work at all and it is not available in the K applications menu. I have posted the results for zypper dup. After these operations I am still getting the same error when I try to install the update. The update wants something that I have no access to.


linux-p6x0:~ # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following 17 NEW packages are going to be installed:
  alsa-plugins-pulse-32bit gstreamer-plugins-libav libdcadec0 libfaac0 libid3tag0
  libmp3lame0 libmusicbrainz4 libofa0 libopencore-amrnb0 libopencore-amrwb0 libtxc_dxtn
  libvo-aacenc0 libx265-68 libxvidcore4 openSUSE-release-ftp udev-configure-printer
  vlc-noX-lang

The following application is going to be REMOVED:
  "GStreamer Multimedia Codecs"

The following package is going to be REMOVED:
  s2tc

The following 46 packages are going to be upgraded:
  amarok amarok-lang fdupes gstreamer gstreamer-0_10 gstreamer-0_10-lang
  gstreamer-0_10-plugin-esd gstreamer-0_10-plugins-base gstreamer-0_10-plugins-base-lang
  gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-lang gstreamer-lang
  gstreamer-plugins-base gstreamer-plugins-base-lang gstreamer-plugins-good
  gstreamer-plugins-good-lang k3b k3b-lang libavcodec56 libavformat56 libavutil54
  libgstallocators-1_0-0 libgstapp-0_10-0 libgstapp-1_0-0 libgstaudio-1_0-0 libgstfft-1_0-0
  libgstinterfaces-0_10-0 libgstpbutils-1_0-0 libgstphotography-1_0-0 libgstreamer-0_10-0
  libgstreamer-1_0-0 libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0
  libgsttag-1_0-0 libgstvideo-1_0-0 libmjpegutils-2_0-0 libopencv2_4 libquicktime0 libsox3
  libsoxr0 libstreamanalyzer0 libswresample1 mjpegtools sox

The following 46 packages are going to change vendor:
  amarok                            openSUSE -> http://packman.links2linux.de
  amarok-lang                       openSUSE -> http://packman.links2linux.de
  fdupes                            openSUSE -> http://packman.links2linux.de
  gstreamer                         openSUSE -> http://packman.links2linux.de
  gstreamer-0_10                    openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-lang               openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-plugin-esd         openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-plugins-base       openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-plugins-base-lang  openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-plugins-good       openSUSE -> http://packman.links2linux.de
  gstreamer-0_10-plugins-good-lang  openSUSE -> http://packman.links2linux.de
  gstreamer-lang                    openSUSE -> http://packman.links2linux.de
  gstreamer-plugins-base            openSUSE -> http://packman.links2linux.de
  gstreamer-plugins-base-lang       openSUSE -> http://packman.links2linux.de
  gstreamer-plugins-good            openSUSE -> http://packman.links2linux.de
  gstreamer-plugins-good-lang       openSUSE -> http://packman.links2linux.de
  k3b                               openSUSE -> http://packman.links2linux.de
  k3b-lang                          openSUSE -> http://packman.links2linux.de
  libavcodec56                      openSUSE -> http://packman.links2linux.de
  libavformat56                     openSUSE -> http://packman.links2linux.de
  libavutil54                       openSUSE -> http://packman.links2linux.de
  libgstallocators-1_0-0            openSUSE -> http://packman.links2linux.de
  libgstapp-0_10-0                  openSUSE -> http://packman.links2linux.de
  libgstapp-1_0-0                   openSUSE -> http://packman.links2linux.de
  libgstaudio-1_0-0                 openSUSE -> http://packman.links2linux.de
  libgstfft-1_0-0                   openSUSE -> http://packman.links2linux.de
  libgstinterfaces-0_10-0           openSUSE -> http://packman.links2linux.de
  libgstpbutils-1_0-0               openSUSE -> http://packman.links2linux.de
  libgstphotography-1_0-0           openSUSE -> http://packman.links2linux.de
  libgstreamer-0_10-0               openSUSE -> http://packman.links2linux.de
  libgstreamer-1_0-0                openSUSE -> http://packman.links2linux.de
  libgstriff-1_0-0                  openSUSE -> http://packman.links2linux.de
  libgstrtp-1_0-0                   openSUSE -> http://packman.links2linux.de
  libgstrtsp-1_0-0                  openSUSE -> http://packman.links2linux.de
  libgstsdp-1_0-0                   openSUSE -> http://packman.links2linux.de
  libgsttag-1_0-0                   openSUSE -> http://packman.links2linux.de
  libgstvideo-1_0-0                 openSUSE -> http://packman.links2linux.de
  libmjpegutils-2_0-0               openSUSE -> http://packman.links2linux.de
  libopencv2_4                      openSUSE -> http://packman.links2linux.de
  libquicktime0                     openSUSE -> http://packman.links2linux.de
  libsox3                           openSUSE -> http://packman.links2linux.de
  libsoxr0                          openSUSE -> http://packman.links2linux.de
  libstreamanalyzer0                openSUSE -> http://packman.links2linux.de
  libswresample1                    openSUSE -> http://packman.links2linux.de
  mjpegtools                        openSUSE -> http://packman.links2linux.de
  sox                               openSUSE -> http://packman.links2linux.de


46 packages to upgrade, 17 new, 1 to remove, 46  to change vendor.
Overall download size: 73.4 MiB. Already cached: 0 B. After the operation, additional 55.3
MiB will be used.
Continue? [y/n/? shows all options] (y): y

There are some running programs that might use files deleted by recent upgrade. You may wish to check and restart some of them. Run 'zypper ps -s' to list these programs.
linux-p6x0:~ # zypper ps -s
The following running processes use deleted files:

PID  | PPID | UID  | User | Command        | Service        
-----+------+------+------+----------------+----------------
975  | 963  | 0    | root | X              | display-manager
1357 | 1338 | 1000 | john | ksmserver      |                
1367 | 1357 | 1000 | john | kwin_x11       |                
1369 | 1338 | 1000 | john | QQmlThread     |                
1413 | 1338 | 1000 | john | plasmashell    |                
1430 | 1338 | 1000 | john | xembedsniproxy |                
1434 | 1338 | 1000 | john | xembedsniproxy |                
1440 | 1    | 1000 | john | pulseaudio     |                
1445 | 1338 | 1000 | john | xembedsniproxy |                
1449 | 1338 | 1000 | john | xembedsniproxy |                
1452 | 1338 | 1000 | john | xembedsniproxy |                
1457 | 1338 | 1000 | john | xembedsniproxy |                
1461 | 1338 | 1000 | john | xembedsniproxy |                
1479 | 1338 | 1000 | john | xembedsniproxy |                
1485 | 1338 | 1000 | john | xembedsniproxy |                
1487 | 1338 | 1000 | john | xembedsniproxy |                
1493 | 1338 | 1000 | john | xembedsniproxy |                
1500 | 1338 | 1000 | john | xembedsniproxy |                
1532 | 1338 | 1000 | john | xembedsniproxy |                
1550 | 1338 | 1000 | john | xembedsniproxy |                
1577 | 1338 | 1000 | john | xembedsniproxy |                
1588 | 1338 | 1000 | john | xembedsniproxy |                
1611 | 1338 | 1000 | john | xembedsniproxy |                
1634 | 1338 | 1000 | john | xembedsniproxy |                
1662 | 1338 | 1000 | john | xembedsniproxy |                
1683 | 1338 | 1000 | john | xembedsniproxy |                
1685 | 1338 | 1000 | john | xembedsniproxy |                
1688 | 1338 | 1000 | john | xembedsniproxy |                
1691 | 1338 | 1000 | john | xembedsniproxy |                
1694 | 1338 | 1000 | john | xembedsniproxy |                
1698 | 1338 | 1000 | john | xembedsniproxy |                
1700 | 1338 | 1000 | john | xembedsniproxy |                
1704 | 1338 | 1000 | john | xembedsniproxy |                
1707 | 1338 | 1000 | john | xembedsniproxy |                
1710 | 1338 | 1000 | john | xembedsniproxy |                
1712 | 1338 | 1000 | john | xembedsniproxy |                
1729 | 1    | 1000 | john | kuiserver      |                
2233 | 2231 | 1000 | john | klauncher      |                
2235 | 1    | 1000 | john | kded4          |                
4301 | 0    | 1000 | john | DOM            |                
4328 | 4301 | 1000 | john | kmozillahelper |                
4397 | 1    | 1000 | john | konsole        |                

You may wish to restart these processes.
See 'man zypper' for information about the meaning of values in the above table.



Can anyone give advice based on this information? Thank you for your help

I’m not really clear on what you are trying to do.

If you want to start over, then


rm .config/kwalletrc
rm -rf .local/share/kwalletd

Those should be run from your home directory. And it is best to not be logged into Plasma 5 while doing that. So login to Icewm, or use CTRL-ALT-F1 and login at a terminal.

After removing the files, login again to Plasma 5, and try making a fresh start on kwallet.

A simple way to respond to the “There are some running programs that …”-message is to restart your system.

Due to “zypper dup” you then should have a completely updated system running. There should be no further need for updates. So i do not understand what sort of update you want (or are asked) to do after “zypper dup” was run. A screenshot might help to clarify this.

As far as kwallet is concerned i hardly can tell you more than wolfi323 and nrickert already posted here. You could try to run “kwalletmanager5” in a console and post the result here.

Another thing you should be aware of: On my machines kwallet goes to the systemtray immediately after its startetd and i have to press the little “up arrow” of systemtray to see and access kwallet.

Best regards

susejunky

After doing this yast shows that some files from kwallet are still installed. It seems that I have a combobulation of 4 and 5 together that are all sharing files with plasma, such that I will never be able to get a properly working kwallet without re-installation. I would like to get this straightened out but I will need much help. I am willing to work with someone if they think they can get me a working kwallet without re-installation of the system

Here is the result you requested. This is after I did the uninstall as instructed by nrickert


~ # kwalletmanager5
QStandardPaths: wrong ownership on runtime directory /run/user/0, -2 instead of 0
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kwalletd5 received signal 6")
The kwalletd service is still not registered
Invalid DBus reply:  QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kwalletd5 received signal 6")
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Couldn't start kwalletd:  QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kwalletd5 received signal 6")
The kwalletd service is still not registered
Invalid DBus reply:  QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kwalletd5 received signal 6")



Well, yes. That’s the way that plasma 5 is at present.

I assumed, perhaps wrongly, that your problem was with kwallet5.

If you want to di the same with kwallet4, then:


rm .kde4/share/config/kwalletrc
rm -rf .kde4/share/apps/kwallet

Maybe you should remove both kwallet versions at the same time, and then start over with your next plasma login.

You are trying to run it as root apparently. That won’t work!

Run it as user.

Sorry. It still looks like to me that there is something wrong? How do I fix this?


~> kwalletmanager5
Pass a valid window to KWallet::Wallet::openWallet().
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)


I appreciate your help. . .thanks

That’s the way it looks on my system as well. So kwalletmanager should now be running.

As i already mentioned:

On my system kwalletmanager5 opens and goes straight to the systemtray immediately after its startetd. So there is no open window for kwalletmanager5. You have to search your systemtray for kwalletmanager5. On my system kwalletmanager5 is not shown directly in the systemtray. I have to press the little up arrow “^” on the right hand side of my systemtray to open the window with kwalletmanager5.

Best regards

susejunky

Thanks for trying to help me with this susejunky.

I know the up arrow in the system tray that you are referring to. The only items that mine have here are Notifications, a disabled Battery and Brightness, Bluetooth, and Printers icons.
When I try to open the kwalletmanager icon that lists in my application menu, I get the following message in a popup window.


 KDEInit could not launch 'ksystraycmd':

 Could not open library '/usr/lib64/libkdeinit5_ksystraycmd'.
 Cannot load library /usr/lib64/libkdeinit5_ksystraycmd: (/usr/lib64/libkdeinit5_ksystraycmd.so: cannot open shared object file: No such file or directory)

Furthermore the same error message occurs, that I referred to previously, when I try to install the update openSuse-2015-843 (Recommended Update for kde frameworks 5) that continually resides in my systemtray.

There is no ksystraycmd in Plasma5, and it should not be used either.

Let me guess. You edited the menu entry at some time and enabled the option “Run in system tray”?
Disable it again, and/or remove the kwalletmanager.desktop (or similar) file in ~/.local/share/applications/.

To your original problem of kwalletmanager5 not starting: there were problems (fixed recently but not in Leap yet) that it doesn’t work correctly/at all if kwallet is disabled (even in KDE4 already).
So, back to the start: try to remove ~/.config/kwalletrc and ~/.local/share/kwalletd , and kwalletmanager5 should start.
Or try to enter “Configure Desktop”->“User Account Details”->KDE Wallet and enable it there.

Furthermore the same error message occurs, that I referred to previously, when I try to install the update openSuse-2015-843 (Recommended Update for kde frameworks 5) that continually resides in my systemtray.

Which “same error message”?

Thank you for helping me. ( IMO There is absolutely no way that a computer illiterate person could operate these Linux systems without giving up. . .LOL Microsoft and Apple certainly must feel no threat from Linux to service the general public)

Kwallet is working with Kmail with a newly created GPG key. However, when I open Kwallet manager, the only listed associated application is kwalletmanager5. Why is Kmail not listed in the application? Also the “Contents” folder appears to be empty. Anyway to correct this malfunction? Without this functionality, is there a way to associate other programs with passwords using KWallet?

[QUOTE
Furthermore the same error message occurs, that I referred to previously, when I try to install the update openSuse-2015-843 (Recommended Update for kde frameworks 5) that continually resides in my systemtray.[/QUOTE]

This is a Software update that probably got incorrectly into my system because of having a wrong repository open. It is an “update that brings KDE frameworks5 to version 5.16.0 and Plasma to 5.4.3” How do I rid myself of this pestering notification?

You have two kwallets, one from version 4 and the other from version 5. I think kmail is still using version 4, so it is accessing a different kwallet from the one seen by kwalletmanager5. Presumably this will all be straightened out when the remaing programs are migrated to plasma 5.

Right, unfortunately this has not really been thought through completely (by KDE).
Someone suggested a “fix” for this by making kwalletd5 offer the same DBUS interface as KDE4’s kwalletd so that KDE4 applications would use kwalletd5 instead (that’s how it is done for kactivitymanagerd), but that never went far unfortunately AFAIK.

For now, I can only suggest to either install kwalletmanager then instead of kwalletmanager5 (we are working on making both co-installable, see http://bugzilla.opensuse.org/show_bug.cgi?id=954371).
Or, you can switch to kmail5 (included in Leap 42.1), which of course does use kwallet5.

When attempting to install kmail5 in Yast, I get the message “***nothing provided for libGrantlee-Templates.so.5() 64bit needed by kmail5-15.08” *** I have the option to break the package by ignoring some of its dependencies. I have no idea if it is safe to go ahead and install Kmail5 without messing something up. Can I go ahead and install Kmail5?

BTW. . . .Software update problem was solved by using online update in Yast.

Thank you all for your help! Very much appreciated.