When I enter my username and password I am looped back to the login screen again. I went to the shell screen and mv .Xauthority . Xauthority.bak is not working as it is saying /bin:/usr/bin is not included in the path environment variable.
When I enter my username and password I am looped back to the login screen again. I went to the shell screen and mv .Xauthority . Xauthority.bak is not working as it is saying /bin:/usr/bin is not included in the path environment variable.
We don't have a lot of information to go on, but lets try this...
sudo mount -o remount,rw /
# remount the disk as rwcd /home/bak/utkarsh
# change directoryls -al .*thority*
# list some filesYou should see something like this...
If it DOES NOT show
-rw-------
then...sudo chmod 600 .*thority*
# change file protectionIf it DOES SHOW
root root
then...sudo chown utkarsh:utkarsh .*thority*
# change file ownershipNote: change
utkarsh
to your correct usernamereboot
# reboot the computerReboot and see if you can log in.