You are not logged in.

#1 2012-07-05 19:21:51

34634
Member
Registered: 2012-07-05
Posts: 11

[SOLVED] Login Issue

Hello all
I've been using Arch for about 2 months now, but after updating rebooting my system I am unable to login.

When trying to login I can type my username fine but after I hit enter the login manager disappears for a couple seconds before asking for my username again.

My problem is similar to the login problem described in this thread
https://bbs.archlinux.org/viewtopic.php?id=143995

I've tried rebuilding my Initcpio Image and updating my system again but with no luck

Any ideas on how I can fix this are welcome

Thanks

Last edited by 34634 (2012-07-06 00:13:10)

Offline

#2 2012-07-05 19:33:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Login Issue

This does sound similar to that other thread, so the same steps and information would be advised.

To check whether it is the login manager or X related, try login into a console.  You can boot to run level 3, or just switch to tty2 from your login manager.

What LM are you using, what's in your xinitrc, ...

Last edited by Trilby (2012-07-05 19:34:11)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-07-05 19:43:24

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Login Issue

It sounds like this:

https://bbs.archlinux.org/viewtopic.php?id=144483

Make sure you have the latest initscripts (i.e. you have updated from a up-to-date mirror).


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2012-07-05 20:04:32

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

Trilby wrote:

This does sound similar to that other thread, so the same steps and information would be advised.

To check whether it is the login manager or X related, try login into a console.  You can boot to run level 3, or just switch to tty2 from your login manager.

What LM are you using, what's in your xinitrc, ...

http://pastebin.com/DbvBkLEq



loafer wrote:

It sounds like this:

https://bbs.archlinux.org/viewtopic.php?id=144483

Make sure you have the latest initscripts (i.e. you have updated from a up-to-date mirror).

Tried updating again with no luck.

Offline

#5 2012-07-05 20:08:05

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Login Issue

What happens if you try to login from a tty?

What does "pacman -Qi initscripts" show?

Last edited by loafer (2012-07-05 20:10:14)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2012-07-05 20:16:36

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

loafer wrote:

What happens if you try to login from a tty?
What does "pacman -Qi initscripts" show?

Same thing happens when trying to log in from tty

For initscripts I have version 2012.06.3-1.

Last edited by 34634 (2012-07-05 20:17:07)

Offline

#7 2012-07-05 20:19:50

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Login Issue

Are you using [testing]?  If so you are not up-to-date.  What was the error when you tried to login at a tty?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2012-07-05 20:23:40

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

loafer wrote:

Are you using [testing]?  If so you are not up-to-date.  What was the error when you tried to login at a tty?

No I am using [core], [extra], [community], and [multilib].

As for tty there was not an error, it just prompted me to type my username again like described in my original post.

Offline

#9 2012-07-05 20:28:27

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Login Issue

OK, it doesn't sound like the same problem I experienced.  Trilby's comments seem most relevant.

The only other thing I can think of is did you merge the pacnew files after the util-linux update?

Last edited by loafer (2012-07-05 20:33:23)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#10 2012-07-05 20:31:25

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

loafer wrote:

OK, it doesn't sound like the same problem I experienced.  Trilby's comments seem most relevant.

Thanks for the help regardless.

Offline

#11 2012-07-05 20:38:43

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Login Issue

In fstab you need a "1" at the end only for the root partition. Everything else should have either "2" or "0".

https://wiki.archlinux.org/index.php/Fs … efinitions

For simplicity, you can also remove the "if" stuff from ~/.xinitrc.

(and I've said this before, in the thread you linked: https://bbs.archlinux.org/viewtopic.php … #p1121425)


You also have two "samba" daemons in rc.conf. One of them is backgrounded (the one with a "@" in front). No LOCALE set either (eg. LOCALE="en_US.UTF-8").

Post your /etc/inittab.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-07-05 20:44:46

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

DSpider wrote:

In fstab you need a "1" at the end only for the root partition. Everything else should have either "2" or "0".

https://wiki.archlinux.org/index.php/Fs … efinitions

For simplicity, you can also remove the "if" stuff from ~/.xinitrc.

(and I've said this before, in the thread you linked: https://bbs.archlinux.org/viewtopic.php … #p1121425)


You also have two "samba" daemons in rc.conf. One of them is backgrounded (the one with a "@" in front). No LOCALE set either (eg. LOCALE="en_US.UTF-8").

Post your /etc/inittab.

Fixed the fstab and xinitrc files, my inittab is below.
http://pastebin.com/SjuR0jFG

Offline

#13 2012-07-05 20:58:26

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Login Issue

Ok, and your bootloader config file? You're not booting into runlevel 5 from there, are you? Let's have a look then.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-07-05 21:11:17

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

DSpider wrote:

Ok, and your bootloader config file? You're not booting into runlevel 5 from there, are you? Let's have a look then.

Here you go.
http://pastebin.com/KDXL2mvv

Offline

#15 2012-07-05 21:51:21

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Login Issue

None of this seems relevant... boot to runlevel 1 and look at /var/log/auth.log (assuming syslog-ng) to see what's failing.

Offline

#16 2012-07-05 22:08:31

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

falconindy wrote:

None of this seems relevant... boot to runlevel 1 and look at /var/log/auth.log (assuming syslog-ng) to see what's failing.

Just looked at the log file, the messages look like the example below.
"tty1: can't exec /bin/login: No such file or directory"

Offline

#17 2012-07-05 23:49:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] Login Issue

Sooooo you don't have a /bin/login because you forced an upgrade. Reinstall util-linux, and stop using -f with -Syu.

Offline

#18 2012-07-06 00:12:42

34634
Member
Registered: 2012-07-05
Posts: 11

Re: [SOLVED] Login Issue

falconindy wrote:

Sooooo you don't have a /bin/login because you forced an upgrade. Reinstall util-linux, and stop using -f with -Syu.

Thank you very much, I'll mark the thread as solved.

Offline

Board footer

Powered by FluxBB