On Sun, May 24, 2026 at 02:20:12PM +0000, Mikolaj Kucharski wrote: > Hi. > > I think xenodm(1) should setup login class on login. Here is an example > what I mean:
Hi It does. It uses etusercontext(...,LOGIN_SETALL||LOGIN_SETXDGENV) which includes LOGIN_SETENV... ...But xenodm does clean-up the environment of login sessions. So your SAMPLE_ENV_VAR also needs to be authorized in /etc/X11/xenodm.conf in the DisplayManager.exportList resource. See the xenodm(1) manual page for details. -- Matthieu Herrb
