View previous topic :: View next topic |
Author |
Message |
Brain Fury Guru
Joined: 10 Jul 2003 Posts: 357 Location: Düsseldorf (Germany)
|
Posted: Sun May 29, 2005 11:39 am Post subject: canont login anymore |
|
|
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 |
|
|
Chiefengineerk n00b
Joined: 24 May 2005 Posts: 14 Location: Germany
|
Posted: Sun May 29, 2005 11:57 am Post subject: Re: canont login anymore |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54550 Location: 56N 3W
|
Posted: Sun May 29, 2005 12:01 pm Post subject: |
|
|
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 |
|
|
Brain Fury Guru
Joined: 10 Jul 2003 Posts: 357 Location: Düsseldorf (Germany)
|
Posted: Thu Jun 02, 2005 12:14 am Post subject: |
|
|
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 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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54550 Location: 56N 3W
|
Posted: Thu Jun 02, 2005 7:23 pm Post subject: |
|
|
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 |
|
|
|