On 2025-10-26, Dale wrote: > Michael wrote: >> On Sunday, 26 October 2025 09:35:27 Greenwich Mean Time Dale wrote: >>> Michael wrote: >>>> On Sunday, 26 October 2025 06:54:35 Greenwich Mean Time Dale wrote: >>>>> I read down to the part about Pam under Troubleshooting, close to the >>>>> bottom. I was missing a file with a single line. The other file and >>>>> line was there. This is what was missing, file name and contents. >>>>> >>>>> >>>>> root@Gentoo-1 / # cat /etc/pam.d/elogind-user >>>>> session optional pam_elogind.so
If you have a system where this file was present, who installed it on that system? >>> I'm not sure what you mean by VT and Plasma exactly. I mostly use a >>> Konsole for command line stuff, easy to copy/paste. I use a console >>> after updates when I'm restarting services that have new config files. >>> I logout of KDE for that as well. This is what I get while logged into >>> KDE and while using Konsole. I'm guessing VT stands for "virtual terminal" (or perhaps also "virtual console"), the terminal emulators linux systems have available on [ctrl+]alt+Fn. >> There should be a more scientific approach to fixing this, but in absence of >> wiser counsel you should remove the file you added. PAM and applications >> which need it will add their own files and settings in there. You would >> only >> need to add your own if you are setting up bespoke security access >> requirements for some script or application. >> >> Then you can re-emerge sys-auth/elogind and sys-auth/pambase and reboot. If >> this doesn't solve the problem I would also re-emerge sys-apps/shadow and >> sys- >> apps/util-linux. Run dispatch-conf to update any changes to /etc/ config >> files. > > When there is a update to a pam config file, I always accept new. If > something was to be added, I wouldn't have stopped it. I did remove the > file I created. It didn't seem to help anyway. > > If I reemerge those packages, should I add the --noconfmem option to > make sure the files are updated? I'm not sure that option is the right > one. The one I'm looking for behaves as if no file already exists and > updates like new or something like that. I'd refrain from such destructive updates/rebuilds, or even rebuilds in general, without at least an idea of what is causing the issue. > Could there be a config file that is the default in use in /usr > somewhere? I know for some packages, if nothing exists in /etc, it > defaults to one in /usr somewhere. I don't use this kind of stuff (no elogind, no such variable set, no login manager, &c), so I can't compare with my own settings; if this is a new system, my current guess would be to check the effective USE flags of involved packages (QT, elogind, pam?) to see if something is missing or different. (And I say "effective" because a newer version of the same profile or a different profile could affect this too, besides your customizations under /etc/portage.) -- Nuno Silva

