Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
canont login anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Sun May 29, 2005 11:39 am    Post subject: canont login anymore Reply with quote

I have some serious problems with my gentoo on my Desktop PC.
While booting it tells me that there is no kdm in $PATH and furthermore if i want to login using the shell there is no password prompt.
I enter my username, wait for the password promt but it won't come.. after a few seconds i get something like a timeout and there is the username prompt again.

Can anyone help me here?
_________________
shift HAPPENS
Back to top
View user's profile Send private message
Chiefengineerk
n00b
n00b


Joined: 24 May 2005
Posts: 14
Location: Germany

PostPosted: Sun May 29, 2005 11:57 am    Post subject: Re: canont login anymore Reply with quote

Brain Fury wrote:
I have some serious problems with my gentoo on my Desktop PC.
While booting it tells me that there is no kdm in $PATH and furthermore if i want to login using the shell there is no password prompt.
I enter my username, wait for the password promt but it won't come.. after a few seconds i get something like a timeout and there is the username prompt again.

Can anyone help me here?


Hi,

Realy a serious problem!

Did you change anything prior to the start of the problem?

You can check the following to get rid of this problem:
Check the $PATH-Variable, /etc/inittab, /etc/profile, /etc/bash.bashrc and the other files used to startup. DOn't forgett the one in your HOME directory.

To access these files you can either dial in from another PC via ssh, (or telnet); or boot from your installation CD and do a chroot, as you did during the installation.
You can refer to the gentoo Handbook

The linux kernel usualy provides a single user mode for maintenance, but don't know how to access if you are using grub. With Lilo you only have to type "linux single" on lilo prompt.

Greating

Klaus

Would be nice to hear what the problem was.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Sun May 29, 2005 12:01 pm    Post subject: Reply with quote

Brain Fury,

Boot the liveCD, mount your boot partition at /mnt/gentoo then open your grub.conf in nano with
Code:
nano -w /mnt/gentoo/grub/grub.conf
add the word single to the end of the kernel command line.

Reboot nomally. You will be dropped into a shell as the root user. No password required. Now you can look around and see whats happened.
Look in /etc/passwd to see if you users are still there and /etc/shadow for their password hashes. An asterisk (*) in the second field here means that the user cannot log in.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Brain Fury
Guru
Guru


Joined: 10 Jul 2003
Posts: 357
Location: Düsseldorf (Germany)

PostPosted: Thu Jun 02, 2005 12:14 am    Post subject: Reply with quote

well thank you for your help but i just can't figure out why it doesn't work
i think i have to do the litte fixing-it-all-trick known to all the windows users as "format c:" ;)

if you have any idea please tell me because i really don't want to do a new install :D from now on you'll have approx. 14 hours to tell me what else i could do, i'm going to bed now. good night
_________________
shift HAPPENS
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54310
Location: 56N 3W

PostPosted: Thu Jun 02, 2005 7:23 pm    Post subject: Reply with quote

Brain Fury,

After its booted, and you are missing your login prompt, press Ctrl-Alt-F2 and see if you can login at VT2
A reinstall is not required. It souinds like the xdm setup is faulty.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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