Skip to content
  • Fabian Vogt's avatar
    Check for a graphical session · f3b230f7
    Fabian Vogt authored
    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.
    
    Reviewers: #plasma
    
    Subscribers: plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D7125
    f3b230f7