I am facing a login loop problem in Ubuntu 18.04 similar to another login loop problem
I have also changed the .profile file so that:
grep -H PATH ~/.profile
/home/trilok/.profile:PATH=/usr/local/bin:$PATH
But I also get:
grep -H PATH ~/.bash_profile
~/.bash_profile: No such file or directory
...and...
grep -H PATH ~/.bashsrc
~/.bashsrc: No such file or directory
The contents of xsession-errors is as follows:
/usr/bin/gettext.sh: line 88: gettext command not found
/usr/bin/gettext.sh: line 88: envsubst command not found
/usr/bin/gettext.sh: line 88: envsubst command not found
/usr/lib/lightdm/config-error-dialog.sh: line19: gettext: command not found
/usr/lib/lightdm/config-error-dialog.sh: line20: fold: command not found
/usr/lib/lightdm/config-error-dialog.sh: line28: zenity: command not found
/usr/sbin/lightdm-sesion: line 33: cat: command not found
/usr/sbin/lightdm-sesion: line 34: truncate: command not found
/usr/sbin/lightdm-sesion: line 33: cat: command not found
/usr/sbin/lightdm-sesion: line 34: truncate: command not found
/usr/sbin/lightdm-sesion: line 106: ls: command not found
/usr/sbin/lightdm-sesion: line 117: exec: command not found