Date: Sun, 30 Jun 2024 01:36:29 +0300 From: Anton Shepelev <anton.txt@gmail.com> To: freebsd-stable@freebsd.org Subject: Setting up lightdm for autologin Message-ID: <20240630013629.5e2a77141763f28ad51be4a9@gmail.com>
index | next in thread | raw e-mail
Hello, all. I need you help in configuring lightdm for autologin on FreeBSD 14.1. The handbook does not explain how to do it, and only mentions that a greeter is not required in case of autologin: <https://docs.freebsd.org/en/books/handbook/desktop/#xfce-start> I therefore found no better method than following the ArchLinux instruction about enabling autologin: https://wiki.archlinux.org/title/LightDM#Enabling_autologin with the necessary correction for FreeBSD differences in tools and paths. Since it had no effect, i.e. I still was promtped for login and password by the greeter, I tried to move pam out of the way and relaxed some tests in /usr/ local/etc/pam.d/lighdm-autologin.so: auth required pam_env.so auth sufficient pam_permit.so account sufficient pam_permit.so But autologin does not occur, anyway, lightdm.log showing this warning: Failed to get list of logind seats: GDbus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.login1 was not provided by any .service files and a failed attempt to autologin: pid=1533: Started with service 'lightd-autologin', username '<my_user>' pid=1533: Exited with return value 1 Session: Failed during authentification But why? How can I troubleshoot it?home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240630013629.5e2a77141763f28ad51be4a9>
