I won’t just ask you to check the memory for no reason.
Please refer to /etc/systemd/nvfb-early.sh on your nano. Change the default display manger to gdm3 and do re-configure.
# Read total memory size in megabyte
TOTAL_MEM=$(free --mega | awk '/^Mem:/{print $2}')
if [ $? -eq 0 ]; then
TOTAL_MEM=$(echo "scale=1;${TOTAL_MEM}/1000" | bc)
TOTAL_MEM=$(echo "${TOTAL_MEM}" | awk '{print int($1+0.5)}')
# If RAM size is less than 4 GB, set default display manager as LightDM
if [ -e "/lib/systemd/system/lightdm.service" ] &&
[ "${TOTAL_MEM}" -lt 4 ]; then
DEFAULT_DM=$(cat "/etc/X11/default-display-manager")
if [ "${DEFAULT_DM}" != "/usr/sbin/lightdm" ]; then
echo "/usr/sbin/lightdm" > "/etc/X11/default-display-manager"
wait_debconf_resource
DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true dpkg-reconfigure lightdm
echo set shared/default-x-display-manager lightdm | debconf-communicate
fi
fi
else
echo "ERROR: Cannot get total memory size."
fi