https://bugs.kde.org/show_bug.cgi?id=487912

--- Comment #44 from zb4ng <zb...@arcor.de> ---
Some things I tried to avoid this mess and/or find out why this happens:
Every login, I create a log: 
journalctl /usr/bin/plasmashell

Whenever the bug happens, then this is in the log:
plasmashell[2581]: Qt: Session management error: Authentication Rejected,
reason : MIT-MAGIC-COOKIE-1 authentication rejected
plasmashell[2581]: Aborting shell load: The activity manager daemon
(kactivitymanagerd) is not running.
plasmashell[2581]: If this Plasma has been installed into a custom prefix,
verify that its D-Bus services dir is known to the system for the daemon to be
activatable.
see also here: https://bugs.kde.org/show_bug.cgi?id=491130#c1

Now the "magic cookie" is managed by the X-Server for authentication purposes
(I don't really know what's going on there and I couldn't find very detailed
info about this).
What I presume now is that there are at least two possible things that could be
the cause:
Either: Sometimes, "activity manager daemon" doesn't start in time for the
Xauthority/magic cookie stuff.
Or: The activity manager daemon doesn't start because the authentication got
rejected.

In the light of this, I tried the following workarounds, but wo success:
1. add xhost +local: to ~/.profile in the hope that the X-Server authentication
gets skipped.
2. boot and then wait two minutes before logging into the X-Server

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to