I am using Ubuntu 12.04 in Dell desktop. I am unable to login into my desktop. when i enter my login details its just coming again to login page without entering into my dashboard? Please help me...
33 Answers
I recently faced the same problem in my Ubuntu 14.04. I tried every solution present on Internet. after getting frustrated I tried to do something similar to what I thought is appropriate. I deleted the .profile file and restart system, after that I was able to login to same user. Following are the steps :
- Press CTRL + ALT + F3 to go to TTYs.
- Type:
sudo mv .profile .profile.backup - Then Type:
sudo reboot
I was facing this issue after adding export PATH=$JAVA_HOME/bin:$PATH in /etc/environment and /etc/profile files.
Solution:
On Login Page
- Go to the command line - Ctrl+Alt+F1 or Ctrl+F2
- Enter your username & password
sudo nano /etc/environmentand removePATH=$JAVA_HOME/bin:$PATHsudo nano /etc/profileand removePATH=$JAVA_HOME/bin:$PATH
Note:If the sudo and nano commands are not working for you, try this commands
/usr/bin/sudo /usr/bin/nano /etc/environment
/usr/bin/sudo /usr/bin/nano /etc/profile Well did you tried to double check on your display manager. That may be there is a clash between gdm & lightdm.
Try CLT+ALT+F1 login to your account and
sudo service lightdm start