I do understand this is a common problem. I have read and tried most of the suggestions but have not found a good solutions. Thus I am posting my question.
- Enter the correct password, the computer loops back to login screen
- Enter an incorrect password ubuntu responds incorrect passwords
- Pressed ctrl + alt + f1 the console can be accessed, but does't recognize common commands such as ls, cp, cat, more etc
- The following command was added /etc/profile file before the occurrence of the current scenario: PATH="...:/opt/qt/lib" (This was an error)
- echo command works
- Do an echo $PATH the response is "...:/opt/qt/lib"
- Currently /etc/profile looks something like the following
# ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022 # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi PATH="...:/opt/qt/lib" # This line is in error
So if /etc/profile file can be edited to remove the last line the problem might be solved.
Any suggestions how this can be achieved.
Thank you in advance
Following are some of the threads that have been referanced
- ubuntu 12.04 cannot login
- Can't log in - cycles through black screen [duplicate]
- Can't log in to ubuntu 12.04
- Ubuntu 12.04 Login Loop (without GUI)