You are not logged in.

#1 2013-07-07 23:16:51

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

[solved] 30 second pause after login since last update

Hello,

After the most recent pacman upgrade I did (today), there is a 30 second pause right after logging in to a terminal. That is, right after Linux boots up, and being in a text mode terminal (no graphical desktop started yet), after typing username and password, it hangs for 30 seconds.

Also, if being in a graphical desktop, but then pressing something like ctrl+alt+F4 to go to some text mode terminal, there again, after logging in, 30 second pauze.

And even when starting a graphical desktop, there is also a 30 second time where it is black that didn't use to be there before this upgrade.

What could be the problem here and how do I get rid of it? It's an annoying wait and it wasn't there before the upgrade.

Thanks!

EDIT: it's 30 seconds, not 10

Last edited by aardwolf (2013-07-08 00:20:58)

Offline

#2 2013-07-07 23:23:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] 30 second pause after login since last update

I really think you need to read over your question and reevaluate whether this is an answerable question with the amount of information you have provided.

Offline

#3 2013-07-07 23:38:45

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Re: [solved] 30 second pause after login since last update

Here is all the info I have:

After booting to Archlinux, in the text mode login prompt, after typing username, then password, it freezes for over 10 seconds.

uname -a
Linux 2600K 3.9.9-1-ARCH #1 SMP PREEMPT Wed Jul 3 22:45:16 CEST 2013 x86_64 GNU/Linux

I had to change from grub to grub 2 after this pacman upgrade, not sure if that is related.

This was also the pacman upgrade where everything moved to /usr/bin

When logging in to a tty, it always says twice "Last login: ....". It is between those two outputs, that the freeze happens.

Is there any more info that could be helpful?

Offline

#4 2013-07-07 23:40:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] 30 second pause after login since last update

Logs?

Offline

#5 2013-07-07 23:42:45

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Re: [solved] 30 second pause after login since last update

Which log files?

Offline

#6 2013-07-07 23:56:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] 30 second pause after login since last update

Considering that you have been a forum member for ~8 years now, you should know that you should not come here expecting to get your hand held.  Also, considering you have been a forum member for ~8 years, how could you not have some basic knowledge about how to debug your system? 

That said, hopefully, you are using systemd.  So it would be i the journal... where we now have centralized logging.  But do not post your entire journal.  Go through it yourself and see if you can find anything that might be of relevance.  If you cannot figure it out, come back here and post those parts and ask specific questions.  If you do figure it out, come back here and post the solution so that you can contribute back to this thread you have started.

Offline

#7 2013-07-08 00:01:46

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Re: [solved] 30 second pause after login since last update

8 years of using KDE on Archlinux to program in C++ and browse the internet has not given me knowledge of systemd, sorry. I'm not good when it comes to system administration... hmm

Looking up how to see the log these days actually helped, thanks smile

I think I know what it is, even though I followed the instructions on the front page of the ArchLinux site related to pacman -Syu and the move of everything to /usr/bin, something apparently got messed up anyway...

Jul 08 01:58:34 2600K systemd[1]: Starting Getty on tty3...
Jul 08 01:58:34 2600K systemd[1]: Started Getty on tty3.
Jul 08 01:58:39 2600K login[1078]: pam_unix(login:session): session opened for user aardwolf by LOGIN(uid=0)
Jul 08 01:58:39 2600K dbus-daemon[399]: dbus[399]: [system] Activating via systemd: service name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
Jul 08 01:58:39 2600K dbus[399]: [system] Activating via systemd: service name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
Jul 08 01:58:39 2600K systemd[1]: Starting Console Manager...
Jul 08 01:58:39 2600K systemd[1079]: Failed at step EXEC spawning /usr/sbin/console-kit-daemon: No such file or directory
Jul 08 01:58:39 2600K systemd[1]: console-kit-daemon.service: main process exited, code=exited, status=203/EXEC
Jul 08 01:58:39 2600K systemd[1]: Failed to start Console Manager.
Jul 08 01:58:39 2600K systemd[1]: Unit console-kit-daemon.service entered failed state.
Jul 08 01:59:04 2600K dbus-daemon[399]: dbus[399]: [system] Failed to activate service 'org.freedesktop.ConsoleKit': timed out
Jul 08 01:59:04 2600K dbus[399]: [system] Failed to activate service 'org.freedesktop.ConsoleKit': timed out
Jul 08 01:59:04 2600K login[1078]: LOGIN ON tty3 BY aardwolf
Jul 08 01:59:04 2600K systemd-logind[397]: New session 4 of user aardwolf.

Last edited by aardwolf (2013-07-08 00:03:10)

Offline

#8 2013-07-08 00:04:06

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] 30 second pause after login since last update

Consolekit is deprecated, unmaintained, and the functioanlity has been replaced by logind.  You need to remove it from your system as it is no longer in the repos.

Offline

#9 2013-07-08 00:07:54

aardwolf
Member
From: Belgium
Registered: 2005-07-23
Posts: 304

Re: [solved] 30 second pause after login since last update

Nice! I did

pacman -R consolekit

and now login is instantantious, and on top of that, the KDE problem where the launcher menu is freezed at the same time! Thank you so much!

Offline

#10 2013-07-08 00:14:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] 30 second pause after login since last update

Please mark the thread as [Solved].  BTW, this was on the front page of the site (the "news").  You should probably try to stay aware of that.  There are a number of ways you can get this information, including having it emailed to you.

Offline

Board footer

Powered by FluxBB