You are not logged in.
Pages: 1
Hey all,
first of all, great great great distro. I am using a Aspire One netbook and installed Arch a few weeks ago. A few kinks here and there, but I am getting to it and I REALLY like it!
I edited the /etc/inittab so it boots directly into XFCE with a preferred user. Intention was that I use mostly the DM but can kill the xserver by "strg+alt+backspace" to get back to the command line for serious work. Booting into XFCE works flawless.
Unfortunately I somehow blew the login. Now if I kill X I am stuck at the login (vc/1). Whatever I type in password, login always fails. It accepts the users my perferred user "prefusr" and the root account "root". I tried to change the passwd (is works when I use the "su" command in the terminal, so I suppose it is saved) and to edit /etc/passwd to erase the password.
All to no avail. Login always fails.
I also tried to restore the /etc/inittab back to its former glory but that only gets me stuck at the login like when I killed X
Where shall I start? Any suggestions what I messed up?
Thanks for your help!
cFirefox
Offline
I had the exact same problem half year ago. I do not remember exactly what was the problem then. I remember that I was able to log in via vc2..3..4.., but not with vc1. Can you post the /etc/inittab.
Last edited by Gruntz (2009-03-12 10:52:27)
Offline
This is the newbie corner, so:
How do I change to vc2..3 and 4?
Here is my /etc/inittab:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:once:/bin/su chris -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
Offline
you press ctrl-alt-F2, F3 etc.
Double booting Arch Linux and Linux Mint
Reader of XKCD
Offline
It might be worth noting that your keymap for vc and your keymap for X are NOT the same, so that could be the cause of failed logins...
[git] | [AURpkgs] | [arch-games]
Offline
Other login instances do not help (vc2, vc3 and so on). It is still "login failed)
So where can I check which keymap I use for vc?
edit: Thinking again, I don't think the cause is the wrong keymap, because if I don't have a password, it doesn't work either. And entering the username is flawless.
cFirefox
Last edited by cFirefox (2009-03-12 19:24:52)
Offline
wouldn't changing
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
to
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:
be a good start?
Offline
Been there, done that
No use. The problem is somewhere in that vc. unfortunately I don't know how to check/ modify config files
Any ideas?
Offline
That does this line do?
x:5:once:/bin/su chris -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
It makes no sense to me. Maybe it's causing the problem? What Login Manager do you use?
Offline
That does this line do?
x:5:once:/bin/su chris -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
It makes no sense to me. Maybe it's causing the problem? What Login Manager do you use?
It starts X as preferred user - wiki article.
cFirefox, can you login with
su - username
(where username is the name of your user)? Can you login with a graphical login manager?
Offline
ive got a similar problem in vc/1 keypresses are not being interpreted as such, ive got the gdm daemon set up to log into x. never touched the inittab, i even started a thread here that got 0 posts
inittab as follows
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
unfortunately, i do not know how to debug this.
my post is located here: http://bbs.archlinux.org/viewtopic.php?id=65708
Last edited by eldragon (2009-03-13 01:38:28)
Offline
Debug!
Try another keyboard, try another port (USB vs PS/2)... does the keyboard work fine in Grub (try editing a boot option)? etc.
Offline
Debug!
Try another keyboard, try another port (USB vs PS/2)... does the keyboard work fine in Grub (try editing a boot option)? etc.
you certainly havent read the provided information..
anyway, ive tested both usb / onboard laptop keyboard.
only place the problem occurs is on vc/1
Last edited by eldragon (2009-03-13 03:15:03)
Offline
I was talking to the OP. If I had any idea what your error is, I would post in your thread
Offline
Hey all,
@Mogger
I already tried that. Absolutely no problem, either as my preferred user or as root. Both take their respective password without a problem.
@Ranguvar
The keyboard is working, I can enter m username alright. Keymap is German (sry about that ) I assured that and at least the "enter" key is working when I enter the password. Is there any possibility to show "*" or "X" when entering the password?
I have no problem to enter the usernames but as soon as I confirm the password it takes some seconds (about 5 sec) and then it says: Login failed.
Am I realy the only one with this fault?
Offline
cFirefox, you can try to replace your last section of your /etc/inittab to this. My inittab is exactly as yours, but that section is different. You can try, it will not hurt
...
# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
...
Offline
Hi, I tried it.
No use.
My vc/1... is broken. How can I fix it??
Offline
Push,
nobody has any ideas??
Might it be a PAM or Policykit error?
Last edited by cFirefox (2009-03-17 06:57:19)
Offline
If you can log in as root , create another user and give a try. If you can not log in even as root you may have to recover your root password. http://www.linuxforums.org/security/how … sword.html.
Offline
Hello Kgas,
the link is not working so I can't take a look at it.
But my root account is working when I try to log in in su. IT IS JUST NOT WORKING IN THAT GODFORSAKEN VC/1.
Dear all,
please refrain from telling me to check if my password is valid. At least in "su" it is. Its just like vc/1 doesn't read either the correct password or the users. I cannot identify which one.
I there anybody here who can tell me how to config vc/1? Point me to a wiki, tell me to look at a specific man page, "rtfm" me or whatever?
Offline
someone gave me in my own thread some advice as of why it would not work in my case.
it turned out to be gdm running as a daemon.
check my thread (posted a few posts back) and follow what was said there.
Offline
Thank you,
I will try that as soon as I get back from work.
Offline
No use. I seems to be no keyboard problem and not to be connected to gdm.
I am looking at a reinstall. it seems to be the only possibility.
Offline
Pages: 1