Login stopped working?

diggityDawg
Posts: 62
Joined: Tue Mar 12, 2013 10:46 am

Login stopped working?

Postby diggityDawg » Fri Mar 29, 2013 8:22 am

I've had my Amahi/Ubuntu machine up and running for a few weeks now, and I'm slowly getting everything configured. Then last night I noticed my /home partition had 16GB free, but only 4kb available. I couldn't figure out why that was, so I rebooted the machine. When I went to log back in, it looks like it's going to the desktop, then goes right back to the login. I don't get an error, and I've tried a wrong password, which DOES give me an error. It's as if I am authenticated, but then logged back out immediately. Has anyone seen this before? Any idea how I can get past this?

Thanks!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Login stopped working?

Postby bigfoot65 » Fri Mar 29, 2013 10:03 am

Can you SSH into the box? That would allow you to explore around.

Most folks who have problems login are using the wrong credentials or the CAPS Lock is engaged. I am sure you have already thought about those issues.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

diggityDawg
Posts: 62
Joined: Tue Mar 12, 2013 10:46 am

Re: Login stopped working?

Postby diggityDawg » Fri Mar 29, 2013 10:24 am

Yes, I've thought about that. That's why I mentioned that I can get an "incorrect password" error, but when I put the correct password in, it doesn't give me an error, just sends me back to the login screen.

I can SSH into the box, but I don't have a clue as to what I could do to resolve this... What do I look for? What would I try to fix? I did get into the auth.log and found this pattern when I try to login:

Code: Select all

Mar 29 07:07:04 homeserver-Z68MA-D2H-B3 sshd[1191]: Server listening on 0.0.0.0 port 22. Mar 29 07:07:04 homeserver-Z68MA-D2H-B3 sshd[1191]: Server listening on :: port 22. Mar 29 07:07:06 homeserver-Z68MA-D2H-B3 CRON[1354]: pam_unix(cron:session): session opened for user root by (uid=0) Mar 29 07:07:07 homeserver-Z68MA-D2H-B3 CRON[1354]: pam_unix(cron:session): session closed for user root Mar 29 07:07:12 homeserver-Z68MA-D2H-B3 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0) Mar 29 07:07:12 homeserver-Z68MA-D2H-B3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0 Mar 29 07:07:20 homeserver-Z68MA-D2H-B3 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "homeserver" Mar 29 07:07:21 homeserver-Z68MA-D2H-B3 dbus[1414]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.28" (uid=104 pid=2369 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1655 comm="/usr/sbin/console-kit-daemon --no-daemon ") Mar 29 07:07:23 homeserver-Z68MA-D2H-B3 dbus[1414]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.36" (uid=104 pid=2525 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1655 comm="/usr/sbin/console-kit-daemon --no-daemon ") Mar 29 07:07:27 homeserver-Z68MA-D2H-B3 lightdm: pam_unix(lightdm:session): session closed for user lightdm Mar 29 07:07:27 homeserver-Z68MA-D2H-B3 lightdm: pam_unix(lightdm:session): session opened for user homeserver by (uid=0) Mar 29 07:07:27 homeserver-Z68MA-D2H-B3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0 Mar 29 07:07:28 homeserver-Z68MA-D2H-B3 lightdm: pam_unix(lightdm:session): session opened for user lightdm by (uid=0) Mar 29 07:07:28 homeserver-Z68MA-D2H-B3 lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0 Mar 29 07:07:30 homeserver-Z68MA-D2H-B3 lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "homeserver" Mar 29 07:07:30 homeserver-Z68MA-D2H-B3 dbus[1414]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.43" (uid=104 pid=2781 comm="/usr/lib/indicator-datetime/indicator-datetime-ser") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.15" (uid=0 pid=1655 comm="/usr/sbin/console-kit-daemon --no-daemon ")
Does that tell you anything? I don't understand what much of that says, but it looks like there are some things going on preventing me from getting to my desktop...?

Thanks for your help!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Login stopped working?

Postby bigfoot65 » Fri Mar 29, 2013 12:19 pm

Does not offer much useful info to me. I presume you have tried a reboot. Not sure where to go from here.

Since you cannot access the box remotely or via the dashboard, it's difficult to create an alternate user. If this is Desktop, can you access the box and log in as guest? If so, you can then possibly become root and add a new user.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

diggityDawg
Posts: 62
Joined: Tue Mar 12, 2013 10:46 am

Re: Login stopped working?

Postby diggityDawg » Fri Mar 29, 2013 12:49 pm

I can access the box remotely through SSH. That's how I got the log file...

I found out that my .Xsession-errors file in /home was 312GB and I had almost no space left in /home. Not sure if this was the problem, but it seems to me if it tries to create some temp files when you login and there's no space left in /home (like, 4kb), then it might just fail and go right back to login??

Following some advice on Ubuntu forums I put a bash script in that deletes that file when it gets too big, and I deleted the current one that was taking up so much space.

When I get home from work I will reboot again and try to login. Hopefully it will work this time.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Login stopped working?

Postby bigfoot65 » Fri Mar 29, 2013 12:52 pm

Yea if you are out of space, then that could be the issue. Check for big log files. Sorry I misunderstood and thought you could not get in.

If you want to add a new user, you can do it manually. Then see if that works as well.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 11 guests