2

I am using Ubuntu 13.10 with Unity desktop. Unfortunately I am not able to log into my desktop. After entering correct password it keeps looping back to login.

Could you please help me to sort out this problem? I need help because I have important data in my laptop and I don't want to reinstall the OS.

This is my /etc/lightdm/lightdm.conf file:

[SeatDefaults]
user-session=unity
greeter-session=unity-greeter

This is the output of output after lspci|grep VGA :-

00:02:0 VGA compatible controller: Intel corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c) 
20
  • What did you do last time you logged in?
    – Danatela
    Apr 2, 2014 at 9:18
  • Nothing It works fine when I was last logged in. After that I was unable to login my personal computer. Apr 2, 2014 at 9:20
  • Can you select Recovery mode at boot?
    – Danatela
    Apr 2, 2014 at 9:25
  • Yes I can select recovery mode. Apr 2, 2014 at 9:41
  • @RohanDongre I suggest that it will help those who are trying to answer if you paste your lightdm.conf file which is in /etc/lightdm in pastebin.ubuntu.com and provide the link to it in the description of your question. If lightdm.conf is not present in your PC then you must probably paste your /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf file or something else like that.
    – Venkatesh
    Apr 10, 2014 at 14:43

2 Answers 2

1

Select Recovery mode during boot then Drop to root shell prompt.

From there, run (I assume rohan is your login name)

mount -o rw,remount /  #remount / filesystem in read-write mode
passwd rohan

Then enter your password and press Ctrl+D. Now you should be able to login.

7
  • Could you please tell me how to Remount filesystem in read-write mode ? could you please tell me step by step because I am not expert user of linux ? Apr 2, 2014 at 9:59
  • See the updated answer.
    – Danatela
    Apr 2, 2014 at 10:08
  • Thanks Danatela, I will try this solution and let you know if there is any issue. Apr 2, 2014 at 10:28
  • Sorry to say but solution doesn't worked for me. I have tried by changing ownership of .Xauthourity file too and I have installed gdm also but after reconfiguring gdm it shows that gdm is too heavy for my system may be because of my system configuration. My system has 2 gb RAM and intel core2duo processor. Apr 3, 2014 at 8:15
  • Try to add new user and login to that user.
    – Danatela
    Apr 3, 2014 at 8:22
1

Here I am sharing how I make my desktop on. After getting help by peoples who gave to solve my problem which was I facing from few days back, unfortunately they didn't worked for me.

So I thought lets try it by upgrading distro version from 13.10 to 14.04 LTS. and it works for me and now I am able to logged in my desktop.

Thanks to @Venki, @Danatela for helping me to sort out my problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .