public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jörg Schaible" <joerg.schaible@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Solved: KDE 5: Broken file protocol for KDE 4 apps caused by kwallet
Date: Mon, 17 Oct 2016 00:06:41 +0200	[thread overview]
Message-ID: <nu0tlf$fj$1@blaine.gmane.org> (raw)
In-Reply-To: ntmbf5$1l6$1@blaine.gmane.org

> Jörg Schaible wrote:
> 
>> Hi,
>> 
>> after the update to Plasma 5/KF5, I can no longer open (HTML) files from
>> my local disk with Konqueror. It claims it does no longer know the file
>> protocol. I get a similar error in Amarok when I try to apply a cover to
>> an album from the local disk. It seems all KDE4-based application are
>> affected.
>> 
>> Does anybody what's causing this behavior and know how to solve it?

Jörg Schaible wrote:

> Anyone? After upgrading a second machine to KDE/Plasma 5, I have the same
> behavior there. All KDE-4-based apps fail to interact with the file
> system. Using KMail I can no longer add any attachment to an email nor
> save an existing attachment to disk.

OK, finally I found the culprit. I knew that it had to be something in the 
configuration, because I did not had the problem with a new/unused account 
on the same machine.

After some hours of investigation (deleting and restoring files based on 
their modification time in the local configuration), I found out that the 
file protocol works if I remove the salt file of the KDE4 wallet.

Well, unfortunately this prevented KMail to access the mail servers, because 
the wallet was no longer accessible at all. But I could save attachments ;-)

In the end it turned out that the problem was caused by kwallet-pam. When I 
upgraded KDE 4 to 5 I also upgraded kwallet-pam directly. However, this 
prevents unfortunately the migration of the default wallet from KDE 4 to 5. 
This migration happens normally the first time when the default wallet is 
accessed and the user is asked for the wallet's password.

It seems that the PAM system will access the wallet way to early and the 
migration cannot be performed. I have no idea why this finally breaks the 
file protocol for KDE 4 apps, but this is what happens.

After deactivating the kwallet pam module (in /etc/sddm) and a reboot, the 
migration could be performed after the login and all apps behave properly. 
It is even possible to activate the PAM module again afterwards.

Hope this might help others. At least a big fat warning should be added to 
Gentoo's KDE 5 upgrade guide.

Cheers,
Jörg



      parent reply	other threads:[~2016-10-16 22:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-02 19:27 [gentoo-user] KDE 5: Broken file protocol for KDE 4 apps Jörg Schaible
2016-10-12 21:54 ` [gentoo-user] " Jörg Schaible
2016-10-12 22:24   ` P Levine
2016-10-13 21:43     ` [gentoo-user] " Jörg Schaible
2016-10-13 12:39   ` [gentoo-user] " Michael Mol
2016-10-13 13:07     ` Andrew Lowe
2016-10-13 14:48       ` Michael Mol
2016-10-13 15:03         ` Michael Mol
2016-10-13 17:56     ` [gentoo-user] " Jörg Schaible
2016-10-16 22:06   ` Jörg Schaible [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nu0tlf$fj$1@blaine.gmane.org' \
    --to=joerg.schaible@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox