I've also had issues with kontact and my .xsession-errors contained the following lines:
org.kde.pim.akonadiserver: database server stopped unexpectedly org.kde.pim.akonadiserver: stderr: "mysqld: [ERROR] Could not open required defaults file: $HOME/.local/share/akonadi/mysql.conf\nmysqld: [ERROR] Fatal error in defaults hand Where $HOME and $USER are substitution of my own to mask my home directory and username. I've noticed some DENIED lines in dmesg that seem related: audit: type=1400 audit(1515103889.923:49): apparmor="DENIED" operation="open" profile="/ usr/sbin/mysqld" name="$HOME/.local/share/akonadi/mysql.conf" pid=2655 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 == Successful attempt == Trying to launch the mysqld command mentioned in .xsession-errors but using mysqld- akonadi instead (which seems to have special treatment for $HOME/.local/share/akonadi) and relaunching akonadi and then kontact seems to have worked (am writing this from that very kontact process). Best regards, Thomas
signature.asc
Description: This is a digitally signed message part.