Check for a graphical session
Avoid running if it detects a text session. This can be overridden by adding
"force_run" as argument.
Put pam_kwallet5.so as optional in a global common-session pam file
that is included by all other services. It is not invoked when logging in from
a tty with getty, sudo or su and still works when using SDDM. When adding
force_run it runs in all cases.
Differential Revision: https://phabricator.kde.org/D7125