ubuntu box just redisplaying login screen after update
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Last edited by david.karr; 07-10-2012 at 10:02 AM.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
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.
This makes it seem like it's just a password problem, but I haven't changed my password, and I can log into the text console with the same password. I also have Samba connections from my Windows box, which are authenticating with no problem.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.