Removing LightDM

04-05-21 7:33 simon

For my Chromebook I don't need a login box, I can manage with a tty and auto start X after logging in.

I remove LightDM and then add this to the login script.

Add or edit .bash_profile

#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startxfce4
fi