I can't login (Mint12)

Questions about applications and software
Forum rules
Before you post please read this

I can't login (Mint12)

Postby giantfly on Fri Apr 27, 2012 1:37 pm

I'm using a live-cd now. I tried to login with user account on Linux Mint 12 (Lisa), but after I type my password and play enter, I see a black screen and back to login page. With a guest session, the system starts up normally.

I'm trying to access the hard drive from a live-cd but it says the content was unmounted to protect my data (good to know). The readme says to type ecryptfs-mount-private on terminal, but terminal says private content is not setup properly.

I have some files in my drive that I really can't lose and do not have a backup (I know...). Someway to access the drive or even better, to login?

* I'm the only person who use this pc and in the last time I login I didn't do anything that could compromising the system.
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Linux Mint is funded by ads and donations.
 

Re: I can't login (Mint12)

Postby peileppe on Fri Apr 27, 2012 3:53 pm

giantfly wrote:... the last time I login I didn't do anything that could compromising the system.


Not even a keyboard layout change ?
I had this issue once, and it was an AZERTY/QWERTY keyboard mix-up
User avatar
peileppe
Level 1
Level 1
 
Posts: 18
Joined: Thu Nov 11, 2010 7:29 am

Re: I can't login (Mint12)

Postby giantfly on Fri Apr 27, 2012 6:17 pm

peileppe wrote:
giantfly wrote:... the last time I login I didn't do anything that could compromising the system.


Not even a keyboard layout change ?
I had this issue once, and it was an AZERTY/QWERTY keyboard mix-up

No, even that.

I'm not typing my password wrong. I tried it and the system just sad it was wrong.
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby limotux on Sat Apr 28, 2012 7:37 am

Hi...

Same situation here!
I'm on LMDE, on a laptop.
It keeps rejecting my password, though I could log with it when booted in safe mode at the prompt as root password!
I believe there is some file somewhere that has the user name and password sort of corrupted.

Now I'm using live dvd. Hope you can help me rescue my system and not reinstalling from scratch.
Any ideas?
Fujitsu Life Book T 4310, 8 GB ram, LMDE, ( Linux lmde 3.0.0-1-686-pae )
In Love With Linux
User avatar
limotux
Level 4
Level 4
 
Posts: 211
Joined: Wed Aug 25, 2010 2:55 pm

Re: I can't login (Mint12)

Postby limotux on Sat Apr 28, 2012 12:40 pm

hmmm.. Just want to report back.
I could sort it out. I loged in recovery mode, tried few things at the prompt while reading carefully the error messages... then
Code: Select all
dpkg --configure -a
(not sure the syntax is correct 100%) fixed all packages, rebooting again it went fine.

I wonder if this would be of help to giantfly. Please let me know. It might be useful for others as well

Edit:
rechecked the syntax is correct
Code: Select all
dpkg --configure -a

P.S. found another command here https://lists.ubuntu.com/archives/ubunt ... 03301.html
Fujitsu Life Book T 4310, 8 GB ram, LMDE, ( Linux lmde 3.0.0-1-686-pae )
In Love With Linux
User avatar
limotux
Level 4
Level 4
 
Posts: 211
Joined: Wed Aug 25, 2010 2:55 pm

Re: I can't login (Mint12)

Postby giantfly on Sat Apr 28, 2012 5:53 pm

I don't think it is the same problem. It was not rejecting my password. It rejects just when type it wrong (I did to test) with the message "wrong password". When correct, it just show the black screen, like Mint turn off, and then back to login screen.

I could login as a guest, went to system settings, users accounts and unlock my main account to change password. I created account as admin and standard and could login with them. Just my main account was the problem. Well, this until yesterday. Now, I can't login as a guest too, really don't understand why, since I didn't installed/changed anything as a guest. And guest session do not ask for password. It's happening the same: black screen and then back to login.

I tried to use dpkg --configure -a with recovery mode as a root, but it was saying just "can't find dpkg -system-read only" or something like that.
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby limotux on Sun Apr 29, 2012 1:23 am

giantfly, I think this means you don't have dpkg installed.

try
sudo apt-get install dpkg
(not 100% sure about syntax)
then try again.
I feel it is a similar problem. Something is corrupt and it should fix it.
Fujitsu Life Book T 4310, 8 GB ram, LMDE, ( Linux lmde 3.0.0-1-686-pae )
In Love With Linux
User avatar
limotux
Level 4
Level 4
 
Posts: 211
Joined: Wed Aug 25, 2010 2:55 pm

Re: I can't login (Mint12)

Postby giantfly on Sun Apr 29, 2012 3:00 pm

limotux wrote:giantfly, I think this means you don't have dpkg installed.

try
sudo apt-get install dpkg
(not 100% sure about syntax)
then try again.
I feel it is a similar problem. Something is corrupt and it should fix it.

The answer I got:

W: not using locking for read only lock file /var/lib/dpkg/lock
E: unable to write to /var/cache/apt
E: the package lists or status file could not be parsed or opened
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby limotux on Sun Apr 29, 2012 3:18 pm

mmm.. sorry not sure what the situation is on your end.
Hope someone more experienced helps out.
Fujitsu Life Book T 4310, 8 GB ram, LMDE, ( Linux lmde 3.0.0-1-686-pae )
In Love With Linux
User avatar
limotux
Level 4
Level 4
 
Posts: 211
Joined: Wed Aug 25, 2010 2:55 pm

Re: I can't login (Mint12)

Postby peileppe on Mon Apr 30, 2012 4:21 am

giantfly wrote:I don't think it is the same problem. It was not rejecting my password. It rejects just when type it wrong (I did to test) with the message "wrong password". When correct, it just show the black screen, like Mint turn off, and then back to login screen.


Doesn't look like a password issue - could it be something that happen when you open your session :?:
Maybe an item in autostart is crashing your session and sending you back to the login screen :!:
User avatar
peileppe
Level 1
Level 1
 
Posts: 18
Joined: Thu Nov 11, 2010 7:29 am

Re: I can't login (Mint12)

Postby giantfly on Mon Apr 30, 2012 9:24 am

I realize that all the system is in ready-mode only and I can't change anything. I can't add new user, I can't even change the password. No file accepts a modification.

So, is there some way to circumvent this problem? How to fix something that can't be changed?
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby giantfly on Mon Apr 30, 2012 10:35 am

peileppe wrote:
giantfly wrote:I don't think it is the same problem. It was not rejecting my password. It rejects just when type it wrong (I did to test) with the message "wrong password". When correct, it just show the black screen, like Mint turn off, and then back to login screen.


Doesn't look like a password issue - could it be something that happen when you open your session :?:
Maybe an item in autostart is crashing your session and sending you back to the login screen :!:

Yes, it is. Everything I tried, the terminal just answered "read-only file system".

I found this on google: http://www.linuxsa.org.au/pipermail/lin ... 11333.html
http://www.linuxforums.org/forum/debian ... ystem.html
http://prefetch.net/blog/index.php/2011 ... ead-write/
http://www.unixguide.net/linux/faq/04.15.shtml
http://www.linuxforums.org/forum/debian ... ystem.html

I'm inclined to think it is this problem. I didn't test yet and don't have time now. If I need some support, I'll ask here. If I can do alone, I post how I did later.
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby giantfly on Mon Apr 30, 2012 1:34 pm

Yeah, some trouble with read-only mode. I used mount -o remount,rw /dev/sda1 and then I could create a root user. Now, I'm logged in it. :D

But my home/user that contains the files I want stills unavailable. :(

ecryptfs-mount-private stills answering ERROR: Encrypted private directory is not setup properly
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Re: I can't login (Mint12)

Postby giantfly on Tue May 01, 2012 10:46 am

I got access to my files following these steps: https://help.ubuntu.com/community/Encry ... y#Long_way

The system stills not working, but doesn't matter.
giantfly
Level 1
Level 1
 
Posts: 16
Joined: Sat Mar 10, 2012 4:40 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 20 guests