[systemd-devel] User wayland session, conceptual questions
Vladimir Kudrya
vladimir-csp at yandex.ru
Sat Nov 30 12:06:36 UTC 2024
Hello again.
What would be the proper way of transferring environment variables set
by pam for login sessions into systemd user service activation
environment? Is there a tool or setting that does this automatically?
The problem is, in context of a login session it is hard to tell which
vars were set by pam. Since those variables come from various pam
modules for various applications (an example would be pam module for
kwallet that sets PAM_KWALLET5_LOGIN), it is an open-ended list. I need
to come up with a way to expose those vars to applications that are
being launched as services in graphical session, but I would like to
avoid just loading all the vars from login session context into
activation environment.
More information about the systemd-devel
mailing list