LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 11-29-2009, 03:58 AM   #1
ichliebede
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
User can't login with the right password


Hello people! I've been using linux for a while and this problem never occurred until today. And I've searched some solutions online and tried them out, no use at all.

The problem is:
I can't login on desktop even though I entered the right pssword. After I entered the right password, it seemed to be logging, but then it switched back to the log-in page. Like this, over and over again, just won't let it in.

My system is:
Ubuntu 9.10 karmic

It still worked normally yesterday, but this afternoon it's like this. I have no idea why. Does anyone know what's wrong? How should I solve it?

According to what I found online, I've tried to remove gdm and re-installed it; failsafeGnome; autoremove to free some space. No use, still the same.

I'd appreciate any help/ideas. Thank you in advance!
 
Old 11-29-2009, 05:02 AM   #2
zugvogel
LQ Newbie
 
Registered: Sep 2005
Location: Tokyo, Japan
Distribution: Mac, Ubuntu, Debian and Centos
Posts: 28

Rep: Reputation: 16
When I had this problem before, it was because the disk was full and couldn't write the necessary files for starting the desktop session.

You say you've cleared space though and are still having the problem. I wonder if you have ssh-server enabled you could try logging in over ssh - It could help narrow down the problem.
 
Old 11-29-2009, 05:59 AM   #3
marafa
LQ Newbie
 
Registered: Sep 2008
Posts: 26

Rep: Reputation: 1
first of all, have you tried to look at the system log on stdout? its normally on f12 as in ctrl-alt-f12. it mostly a copy of /var/log/messages

secondly, have you installed anything new recently? like oracle for example?

thirdly, and this could be related to the second. have you edited any files in /etc/pam.d ?

and finally, have you tried logging in with rescue mode?
- use rescue mode
- mount your hard disk
- chroot the new mounted directory
- su - $user
- read the error message
 
Old 12-02-2009, 01:49 AM   #4
ichliebede
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you for your replies!

@zugvogel
Well, I have tried to free some space by autoremove, which freed 300 MB. And I gave Ubuntu 50 GB (I have duel systems), so it should be enough, I guess?

@marafa
I don't think I've edited pam.d nor installed something like oracle (no idea what it exactly is). Just to be sure, in which situation could I actually edit pam.d without any notice? I just recently edited the layout of the desktop, I guess that's it. I have used rescue mode (if it is also called failsafe?) to change the password to try logging in, no use. I could only log in under safe mode, and after finally re-enterring my desktop, there were no menu bars at all, and if I opened a file or a folder on the desktop, the windows did not contain those close buttons and such. I'm sorry that I'm a beginner, so could you explain how I could do the mount and chroot things safely? :| Thanks a lot.
 
Old 12-03-2009, 02:33 AM   #5
ichliebede
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ichliebede View Post
Thank you for your replies!

@zugvogel
I have used rescue mode (if it is also called failsafe?) to change the password to try logging in, no use.
Oh sorry that I messed it up with failsafe stuff. I did have used rescue mode...

I appreciate any further help

Last edited by ichliebede; 12-03-2009 at 02:34 AM.
 
Old 12-03-2009, 06:29 AM   #6
ichliebede
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Ah, thanks everyone. I've fixed it myself by solving every problem (more than not being able to logging in) under rescue mode...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Login Password for user xanksx Linux - Newbie 2 08-31-2009 03:50 AM
Can a user login without having a password set? kinetik Linux - General 6 07-25-2009 02:17 PM
ssh login without password for only one user zhjim Linux - Server 4 11-21-2006 05:31 PM
User login without password Artik Debian 5 05-11-2005 01:56 PM
how to login as user who has no password danahata Linux - Newbie 4 08-20-2003 06:57 PM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration