On 22-07-2022 12:24, Maxime Devos wrote: > retitle 56661 SDDM does not do the equivalent of 'login shell > --login', unlike other login managers > thanks > > A digged a little, and found  that: > > For GDM, things work, for SDDM, they don't. > > There is a 'xinitrc' procedure in gnu/services/xorg.scm that generates > a configuration file that has a fallback .xsession that does a > --login. This is used by gdm-wayland-session-wrapper, > and slim-shepherd-service.  However, nothing > similar appears to be done for SDDM.  So it appears that the SDDM > service needs to be tweaked to use xinitrc or such. It appears that SDDM supports xinitrc files, but it looks for them (see data/scripts/Xsession) in $HOME/.xsessionrc and /etc/X11/xinit/xinitrc.d, which do not exist in Guix. There is no option for overriding the xinitrc.  However, it is possible to override the Xsession script used, so we can give SDDM a modified Xsession script that uses Guix' xinitrc. I'll give that a try. Greetings, Maxime