[Kde-pim] Akonadi and system log out

Weng Xuetian wengxt at gmail.com
Mon Oct 19 05:55:49 BST 2015


Hi kdepim world,

I'm a packager from Chakra Linux[1] and we are moving towards the same
direction[2] as archlinux to make use of system to launch dbus-daemon.

After the migration, almost everything works, but I noticed a problem
that akonadi doesn't exit anymore on logout. After logout,
akonadiserver, mysqld and akonadi_control are left in last session,
but all agents exit (didn't check the reason for this).

The problem is, the dbus-daemon is now shared between different
session, which means akonadi is being reused for the next session and
all agent are already gone.

Apparently akonadi is a QCoreApplication so it doesn't use x11 session
manager, I guess that's the reason why it doesn't exit when x server
ends. And with [2], the dbus-daemon doesn't exit upon login.

I'm currently using a workaround by putting a script in
/etc/xdg/plasma-workspace/shutdown/ to execute "akonadictl stop". I
wonder if this problem could be solved on kde-pim side.

Thanks!
Xuetian


[1] http://chakraos.org/
[2] https://www.archlinux.org/news/d-bus-now-launches-user-buses/
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list