On Sunday 07 April 2013 17:50:24 John Burrell wrote: > I've built lfs-systemd-20130324 successfully and, encouraged by this, I went > on to add some blfs packages. > > When I login I don't appear to have a session set up. > > When I do: > > loginctl list-seats > > I get seat0 - 1 seat listed > > but when I do: > > loginctl list-sessions > > it says 0 sessions listed.
The problem is that BLFS provides instructions for a sysVinit system, not a systemd one. Armin has been talking about creating a systemd branch of blfs. > Which prog in systemd should create the session when I login? Is it > systemd-logind? Yes, systemd-logind is the login manager for systemd and thus controls the sessions. > I've installed linux-pam. Is this the problem, do you think? Is logind (or > whichever program creates the session) not using pam_systemd.so? You need to add: session optional pam_systemd.so to the /etc/pam.d/system-session. Also if you are going to use a graphical login manager, you need to modify their pam files to call the pam_systemd.so module. -Ragnar -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page