Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't login through tty!!!!![SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
genfive
Apprentice
Apprentice


Joined: 10 Nov 2005
Posts: 291

PostPosted: Thu Jul 06, 2006 5:17 pm    Post subject: Can't login through tty!!!!![SOLVED] Reply with quote

I cannot log into my linux anymore! I was emerging gnome, then I rebooted the machine without even starting X or any gui. At the terminal I tried to login, but it wouldn't let me. It simply waits for a few seconds without asking me for the password, and then goes back to the login prompt again... what could have happened?

[SOLUTION]
I must have unmerged pam-login at some point, without updating shadow. The problem went away as soon as I updated shadow and util-linux


Last edited by genfive on Fri Jul 07, 2006 3:26 am; edited 2 times in total
Back to top
View user's profile Send private message
arkanoid
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2006
Posts: 107
Location: Copenhagen, Denmark

PostPosted: Thu Jul 06, 2006 5:36 pm    Post subject: Reply with quote

I had that problem in my tty's as well, and I believe it was related to the pam-shadow/shadow-block. After solving that block my tty's didn't work. I think a simple reboot was all it took (I tried killing the terminals themselve, but without luck)

As a solution, you could pop a live-cd in your drive, boot up on it, chroot into your own environment, add the xdm initscript to runlevel default. Then X will start automatically, so you can use a terminal at least, and try to solve your problem that way around.
Back to top
View user's profile Send private message
genfive
Apprentice
Apprentice


Joined: 10 Nov 2005
Posts: 291

PostPosted: Thu Jul 06, 2006 6:47 pm    Post subject: Reply with quote

arkanoid wrote:
I had that problem in my tty's as well, and I believe it was related to the pam-shadow/shadow-block. After solving that block my tty's didn't work. I think a simple reboot was all it took (I tried killing the terminals themselve, but without luck)

As a solution, you could pop a live-cd in your drive, boot up on it, chroot into your own environment, add the xdm initscript to runlevel default. Then X will start automatically, so you can use a terminal at least, and try to solve your problem that way around.


I rebooted my machine several times, and it didn't solve the problem. I am new to linux, so what does this pam-shadow/shadow-block do? How do i solve the problem using other methods? (xdm may not work for me, because I was having problem with nvidia driver to start with)
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Thu Jul 06, 2006 7:08 pm    Post subject: Reply with quote

Recompile your kernel with the vesa or vesatng drivers and add xdm to your init script as well. I have not had the nvidia driver work for me since pre geforce 3. Two thoughts before you do that though.

1. Did you set a root passwd during your install ?
2. Did you create your username and a pasword for it also?
Back to top
View user's profile Send private message
genfive
Apprentice
Apprentice


Joined: 10 Nov 2005
Posts: 291

PostPosted: Thu Jul 06, 2006 7:13 pm    Post subject: Reply with quote

davascript wrote:
Recompile your kernel with the vesa or vesatng drivers and add xdm to your init script as well. I have not had the nvidia driver work for me since pre geforce 3. Two thoughts before you do that though.

1. Did you set a root passwd during your install ?
2. Did you create your username and a pasword for it also?


Yes. i have the root password set and also a different user account. I tried both, but none worked for me. I can SSH into the machine, but just cannot login from its agtty. But at the moment, I just want to get the login problem solved without introducing another headache with the video driver. The video driver will be the next thing on the list. For now, i will be happy if I could loginto the tty and do some stuff. Any ideas??
Back to top
View user's profile Send private message
davascript
l33t
l33t


Joined: 07 Apr 2004
Posts: 618
Location: Pennsylvania

PostPosted: Thu Jul 06, 2006 7:20 pm    Post subject: Reply with quote

no ideas as to why you cannot login locally but you can remotely. sorry
Back to top
View user's profile Send private message
genfive
Apprentice
Apprentice


Joined: 10 Nov 2005
Posts: 291

PostPosted: Thu Jul 06, 2006 7:33 pm    Post subject: Reply with quote

thanks anyways. anyone else have better ideas? pleeeeeeaaaaaaaaaaaaaaase......
Back to top
View user's profile Send private message
genfive
Apprentice
Apprentice


Joined: 10 Nov 2005
Posts: 291

PostPosted: Thu Jul 06, 2006 11:35 pm    Post subject: Reply with quote

please somebody. please help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum