Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2024 20:32:15 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Anton Shepelev <anton.txt@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Setting up lightdm for autologin
Message-ID:  <75222de0-b288-4973-8add-e032548fed4d@chen.org.nz>
In-Reply-To: <20240630013629.5e2a77141763f28ad51be4a9@gmail.com>

index | next in thread | previous in thread | raw e-mail

On 30/06/24 10:36, Anton Shepelev wrote:
> 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>;

My lightdm.conf works with the following, with x11/slick-greeter:

#
# General Configuration
#
[LightDM]
minimum-vt=9
lock-memory=false

#
# Seat configuration
#
[Seat:*]
greeter-session=slick-greeter
greeter-hide-users=true
session-wrapper=/usr/local/etc/lightdm/Xsession
autologin-user = monitor
autologin-user-timeout = 8

I had to introduce an autologin-user-timeout to let the system catch up 
during the boot sequence.

Hope that helps.
-- 
Jonathan Chen <jonc@chen.org.nz>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75222de0-b288-4973-8add-e032548fed4d>