ubuntu box just redisplaying login screen after update
My Ubuntu 12.04 box has been working fine. A recent update may have messed something up.
I normally run remote windows on it, and I noticed that my windows were failing to start up. I then tried logging into it directly from the GUI console, and I'm seeing that after I press enter on the (valid) password, the page just redisplays. It's not a password error, as that would give me an inline error. I see some messages appear and disappear quickly between the login screen going away and then redisplaying, but they go away too quickly to read. I was able to run the non-gui login, and I did an update and upgrade, and then rebooted, but it's doing the same thing. I have a Samba connection from my Windows box, and that's still working. If it matters, here's my uname output (somewhat elided): Linux ... 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux What can I do to troubleshoot this? Note: After more testing, I found that I can log in with the text console (Ctrl-Alt-F1), but I can also log into the GUI console with a "Guest" session. This seems significant to me, as if there's something specific to my own login that causes the window manager to die. |
Not a solution - just a pointer... all the error log files (including X) would be in /var/log. You can check thoes files and see what exactly is causing the crash.
You can also create a new user and see if you are able to log in as the new user. Hoe this helps. |
Ok, I saw the following lines in "auth.log" that seem to be relevant:
Code:
Jul 10 13:23:33 .... lightdm: pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0 |
I figured it out. It was a simple problem. I was trying to source my .bashrc from my .profile, without checking for Bash. It was failing when sourced from the login, as that's apparently the Bourne shell (not Bash, in any case). I commented out the sourcing of it, and that fixed that problem. I had a valid reason to source it, because my Emacs wasn't getting my environment variables, so I'll have to figure out the correct way to make that happen.
|
All times are GMT -5. The time now is 03:24 AM. |