Check for a graphical session
ClosedPublic

Authored by fvogt on Aug 4 2017, 9:47 AM.

Details

Summary

Avoid running if it detects a text session. This can be overridden by adding
"force_run" as argument.

Test Plan

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.

Diff Detail

Repository
R107 KWallet PAM Integration
Branch
patch4
Lint
No Linters Available
Unit
No Unit Test Coverage
fvogt created this revision.Aug 4 2017, 9:47 AM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 4 2017, 9:47 AM
davidedmundson accepted this revision.Aug 18 2017, 12:31 AM
This revision is now accepted and ready to land.Aug 18 2017, 12:31 AM
fvogt closed this revision.Aug 18 2017, 6:55 AM