sagt of kdesession from xinitrc (no session manager). After leaving session and restarting session again kdewallet does not accept password (error 9). After a full system reboot it does work again until the next logout from the session.
Confirmed in KDE neon user Edition 5.13 I always thought it was a problem of pam, but it's not. One can reproduce the bug by manually closing the wallet and trying to open it back..
By closing the wallet, I meant forcing it to close. The problem seems to happen because some application is not properly disconnected from kwallet when closing the session. In my case I only see the following kwallet applications: kded5, akonadi_googlecalendar_resource and akonadi_googlecontacts If I manually disconnect them and do relogin, everything works as it should.
Further testing. The problem is not app specific. The bug is present once any application different of kwalletmanager is using kwallet. I'm going to check now if there is a way to manually disconnect applications using kwallet from the terminal, so I can create an script to do so at logout, as a workaround...
I just tested it again. It is true that a kdeinit5/kde5 is remaining ans some baloo processes. But killing the kdeinit5 processes before restrting the x-session did not help. I keep getting the eror -9 after entering the password in kwallet. > Am 15.06.2018 um 19:09 schrieb avlas <bugzilla_noreply@kde.org>: > > https://bugs.kde.org/show_bug.cgi?id=395234 > > --- Comment #2 from avlas <jsardid@gmail.com> --- > By closing the wallet, I meant forcing it to close. > > The problem seems to happen because some application is not properly > disconnected from kwallet when closing the session. > > In my case I only see the following kwallet applications: kded5, > akonadi_googlecalendar_resource and akonadi_googlecontacts > > If I manually disconnect them and do relogin, everything works as it should. > > -- > You are receiving this mail because: > You reported the bug.
Killing the applications may not work. See if you can start kwalletmanager, open it (hidden in systray) and in applications tab, disconnect them all (I cannot disconnect kwalletmanager, but it's fine, kwalletmanager doesn't seem to trigger the issue). Once done, restart the session. This fixes the issue for me... Although manually doing this every tim I want to restart the session is quite annoying, and so far I couldn't find any way to automatize it :/ (In reply to georg.wagner from comment #4) > I just tested it again. > > It is true that a kdeinit5/kde5 is remaining ans some baloo processes. > > But killing the kdeinit5 processes before restrting the x-session did not > help. I keep getting the eror -9 after entering the password in kwallet. > > > Am 15.06.2018 um 19:09 schrieb avlas <bugzilla_noreply@kde.org>: > > > > https://bugs.kde.org/show_bug.cgi?id=395234 > > > > --- Comment #2 from avlas <jsardid@gmail.com> --- > > By closing the wallet, I meant forcing it to close. > > > > The problem seems to happen because some application is not properly > > disconnected from kwallet when closing the session. > > > > In my case I only see the following kwallet applications: kded5, > > akonadi_googlecalendar_resource and akonadi_googlecontacts > > > > If I manually disconnect them and do relogin, everything works as it should. > > > > -- > > You are receiving this mail because: > > You reported the bug.
TRied this, but in kwalletmanager there is no application shown as connected and the wallet is closed. Thereafter I restartend the session and when kmail requested its password from kwallet, kwallet again brought the error -9. > Am 15.06.2018 um 19:50 schrieb avlas <bugzilla_noreply@kde.org>: > > https://bugs.kde.org/show_bug.cgi?id=395234 > > --- Comment #5 from avlas <jsardid@gmail.com> --- > > Killing the applications may not work. > > See if you can start kwalletmanager, open it (hidden in systray) and in > applications tab, disconnect them all (I cannot disconnect kwalletmanager, but > it's fine, kwalletmanager doesn't seem to trigger the issue). Once done, > restart the session. > > This fixes the issue for me... Although manually doing this every tim I want to > restart the session is quite annoying, and so far I couldn't find any way to > automatize it :/ > > (In reply to georg.wagner from comment #4) >> I just tested it again. >> >> It is true that a kdeinit5/kde5 is remaining ans some baloo processes. >> >> But killing the kdeinit5 processes before restrting the x-session did not >> help. I keep getting the eror -9 after entering the password in kwallet. >> >>> Am 15.06.2018 um 19:09 schrieb avlas <bugzilla_noreply@kde.org>: >>> >>> https://bugs.kde.org/show_bug.cgi?id=395234 >>> >>> --- Comment #2 from avlas <jsardid@gmail.com> --- >>> By closing the wallet, I meant forcing it to close. >>> >>> The problem seems to happen because some application is not properly >>> disconnected from kwallet when closing the session. >>> >>> In my case I only see the following kwallet applications: kded5, >>> akonadi_googlecalendar_resource and akonadi_googlecontacts >>> >>> If I manually disconnect them and do relogin, everything works as it should. >>> >>> -- >>> You are receiving this mail because: >>> You reported the bug. > > -- > You are receiving this mail because: > You reported the bug.
Mmm, in my case the wallet is automatically open at first login (via pam), then the wifi is automatically connected (kded5) and even if I don't open kmail, akonadi resources are also started. What if you try to open the wallet at first login (via kmail or manually), and then try the steps I said, and finally restart the session?
so, rebooted, to be able to start cleanly. Then started x-session used kmail, to be forced to login to kwallet (worked) then opened kwalletmanager, tab applications, only kwalletmanager itself was shown as connected kwallet was open, cosed it Message cannot cleanly close kwallet, maybe applications still connected, force ? forced closure of kwallet logged out -> logout was interrupted by kwalletmanager Second logout worked Session start, login to kwallet worked ! > Am 15.06.2018 um 20:39 schrieb avlas <bugzilla_noreply@kde.org>: > > https://bugs.kde.org/show_bug.cgi?id=395234 > > --- Comment #7 from avlas <jsardid@gmail.com> --- > Mmm, in my case the wallet is automatically open at first login (via pam), then > the wifi is automatically connected (kded5) and even if I don't open kmail, > akonadi resources are also started. > > What if you try to open the wallet at first login (via kmail or manually), and > then try the steps I said, and finally restart the session? > > -- > You are receiving this mail because: > You reported the bug.
(In reply to avlas from comment #3) > Further testing. The problem is not app specific. The bug is present once > any application different of kwalletmanager is using kwallet. > > I'm going to check now if there is a way to manually disconnect applications > using kwallet from the terminal, so I can create an script to do so at > logout, as a workaround... Mmm, unfortunately this seems unreliable to say the least. Most of the times it doesn't workaround the issue. I hope this bug gets some attention as it makes impossible to restart a session when using kwallet, one needs to always reboot, which is a bit annoying.