Does LightDM greeter option require manual intervention?

Recently I installed LightDM on FreeBSD 15.1.Because lightdm-gtk-greeter doesn't have a very good support for my high DPi screen.I installed slick-greeter instead.However,after setting lightdm to start on boot and reboot,I found it going straight to TTY.I was able to solve this problem afterwards by declaring the greeter I need in /usr/local/etc/lightdm/lightdm.conf.The document on X windows system,on the other hand,never mentioned such need.So is it really necessary to modify lightdm.conf to change the greeter it uses instead of lightdm-gtk-greeter?
 
So is it really necessary to modify lightdm.conf to change the greeter it uses instead of lightdm-gtk-greeter?
The post-install message from x11/slick-greeter will tell you.
Code:
#!/bin/sh

PREFIX=${PKG_PREFIX-/usr/local}

case $2 in
POST-INSTALL)
	if grep -Fxq "#greeter-session=example-gtk-gnome" ${PREFIX}/etc/lightdm/lightdm.conf
	then
		echo ":: Please set greeter-session=slick-greeter in ${PREFIX}/etc/lightdm/lightdm.conf"
	else
		echo ":: A greeter has already been configured in ${PREFIX}/etc/lightdm/lightdm.conf"
		echo ":: Leaving the lightdm greeter configuration unchanged."
	fi
	echo ":: $(grep greeter-session= ${PREFIX}/etc/lightdm/lightdm.conf)"
	;;
esac
 
Back
Top