Ubuntu 14.04 get stuck when trying to login my desktop. The screen goes black and soon after that the login screen bounce back.
Actually i added a line in /.profile file in last boot-up export PATH= .:$PATH
and during next boot, it started to enter in loop.
login into tty1 showing
-bash: export: '.:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin:/home/mohammad/android-sdk-linux/platform-tools:/home/mohammad/android-sdk-linux/tools' : not a valid identifier
entering any command in tty1 showing
-bash:<command name> : NO such file or directory
cp /etc/skel/.profile /home/username/.profilewhereusernameis your username – Zanna Dec 16 '16 at 18:30mount -o remount,rw /– Zanna Dec 16 '16 at 18:58usernamewith your actual username in the command and rebooted right? and you still get the same error? – Zanna Dec 16 '16 at 19:45mount -o remount,rw /and followed bycp /etc/skel/.profile /home/mohammad/.profile. after this the.profilefile is changed but unable to boot. – thebluemagician Dec 16 '16 at 19:55~/.profileto export the default PATH (in recovery again, add to the end of the filePATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games) but I am uncertain if something else may have got broken by your original action that I don't understand... – Zanna Dec 16 '16 at 20:30,bashrcfile at bothhome/mohammadand/etcfolder – thebluemagician Dec 16 '16 at 21:18~/.bashrc? – Zanna Dec 16 '16 at 21:23.bashrcfile in/etcand in 'home/mohammadfolder – thebluemagician Dec 16 '16 at 21:26/etc/bash.bashrcand your local bashrc~/.bashrc. Why do you ask? – Zanna Dec 16 '16 at 21:30~/.bashrcis also empty – thebluemagician Dec 16 '16 at 21:31cp /etc/skel/.bashrc /home/mohammad/.bashrc– Zanna Dec 16 '16 at 21:35