|
From: | Maxime Devos |
Subject: | bug#56661: SDDM does not do the equivalent of 'login shell --login', unlike other login managers |
Date: | Fri, 22 Jul 2022 13:00:20 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 22-07-2022 12:44, Maxime Devos wrote:
Actually, I'll be doing other things first, but for anyone interested, this sounds like a likely solution to me.On 22-07-2022 12:24, Maxime Devos wrote:retitle 56661 SDDM does not do the equivalent of 'login shell --login', unlike other login managersthanks 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, <gdm-configuration> 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.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |