[SOLVED] Login screen takes too long to appear

Kernels & Hardware, configuring network, installing services

Re: Debian Strech - boot problem

Postby kingocounty » 2018-05-07 00:00

I'm experiencing the same problem (AMD FX-8350, Samsung SSD, Nvidia graphics) and I found a workaround on Reddit/debian. According to the thread, the problem is linked to low entropy and can be remedied by installing the haveged package. Here's the link to the solution and explanation:

https://www.reddit.com/r/debian/comments/8h9bfq/recent_debian_linux_kernel_update_breaks_my_system/dyj3xhj
User avatar
kingocounty
 
Posts: 11
Joined: 2018-03-14 13:11

Re: Debian Strech - boot problem

Postby kevinthefixer » 2018-05-07 01:15

Worked for me too. Many thanks for posting this!
kevinthefixer
 
Posts: 68
Joined: 2018-05-05 22:30

Re: Debian Strech - boot problem

Postby cgirerd » 2018-05-07 08:32

That also works for me! Thank you very much for this solution :D
cgirerd
 
Posts: 19
Joined: 2018-05-03 19:24

Re: Debian Strech - boot problem

Postby lbrunosouzati » 2018-05-07 12:03

Just confirming the user's response kingocounty really solves the problem I just tested an "apt install haveged" and the boot returned the previous usual speed. (Before installing boot in 24 minutes / after 5s).
lbrunosouzati
 
Posts: 7
Joined: 2018-02-02 06:44

Re: Login screen takes too long to appear

Postby cgirerd » 2018-05-07 13:21

I've just renamed this thread with a more explicit formulation ("Login screen takes too long to appear"), as other users that have the same problem may not seem directly concerned by this thread regarding its previous name "Debian Stretch - boot problem". For instance, I just found another thread here: http://forums.debian.net/viewtopic.php?f=5&t=137440 to explain the same problem.
cgirerd
 
Posts: 19
Joined: 2018-05-03 19:24

Re: Login screen takes too long to appear

Postby elbraca » 2018-05-07 15:23

Same issue here. Solved it by installing havehed. Thanks!

Regards.
elbraca
 
Posts: 28
Joined: 2017-07-27 18:49

SOLVED: Login screen takes too long to appear

Postby debiman » 2018-05-07 17:57

very glad to see this solved!
a true community effort!
User avatar
debiman
 
Posts: 2610
Joined: 2013-03-12 07:18

Re: Login screen takes too long to appear

Postby emariz » 2018-05-07 23:52

Both of my laptops were affected by this issue, but I think that the symptoms here are worse, for the entire boot sequence is halted. This is, the system cannot perform a complete boot, even after one hour, unless one presses some keys multiple times (around ten times, in my case.)

One laptop is an old Sony Vaio with an Intel Sandy Brige i3 processor and a hard drive, the other one is a more recent ThinkPad E470 with an Intel Kaby Lake i5 processor and an SSD. Both are running Testing.

Installing haveged does seem to have solved to problem on the newer laptop, yet it does not solve it on the old Vaio, which must use the previous kernel (4.15.0-2-amd64 = 4.15.11-1) in order to boot normally.

According to systemd-analyze, the Vaio halts during the "kernel" period of the booting sequence. Unfortunately, the lines visible on the screen are only harmless warnings.
emariz
 
Posts: 2904
Joined: 2008-10-17 07:59

Re: Login screen takes too long to appear

Postby kevinthefixer » 2018-05-08 00:51

@emariz, sounds like your Vaio has a different problem. Suggest you start another thread for that one, and keep in mind that you are running Testing.
kevinthefixer
 
Posts: 68
Joined: 2018-05-05 22:30

Re: Login screen takes too long to appear

Postby smalltimer » 2018-05-08 08:36

Not sure of the etiquette, but thought I'd report in. Issue solved! Many thanks to kingocounty for pointing out the haveged solution.
smalltimer
 
Posts: 4
Joined: 2018-05-05 20:48

Re: Login screen takes too long to appear

Postby cgirerd » 2018-05-09 07:57

Just a quick question before I may tag this topic as solved. The solution to our issue was to install haveged. But I wonder if our problem was just a missing package we should have installed, or if it is just a way to fix a real problem with the linux kernel (or whatever). I think we are in the second case, do you agree? If so, there might be a real problem somewhere. I guess it might have been observed by developpers, but maybe we should fill in a bug report? What do you think?
cgirerd
 
Posts: 19
Joined: 2018-05-03 19:24

Re: Login screen takes too long to appear

Postby sunrat » 2018-05-09 11:43

There was a kernel update today for Stretch. Possibly fixes the problem, I can't confirm though.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2391
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Login screen takes too long to appear

Postby cgirerd » 2018-05-09 12:13

sunrat wrote:There was a kernel update today for Stretch. Possibly fixes the problem, I can't confirm though.


I just did the update. I also removed haveged to see if this updated kernel solves our problem. And it looks like it is the case (at least for me). I've rebooted my computer about 20 times on the new kernel and didn't experience any issue.
cgirerd
 
Posts: 19
Joined: 2018-05-03 19:24

Re: Login screen takes too long to appear

Postby Manumerique » 2018-05-09 14:02

I got the same problem as cgirerd.
Stuck right before login screen, with usual tty1 output.
When logging into tty2, launching x server with startx, I was automatically sent back to tty1 after a few seconds.
Same without GUI, tty2 stops blinking, same issue.
I'm on Debian Testing, I was on kernel 4.15.3, and the problem happend after the 4.16.1 update.
Nevertheless, I tried booting with older kernels (4.15.3, 4.15.2) without success.
I tried installing haveged, without success.
I tried reinstalling gdm3, without success.
I removed gdm3 and installed lightdm instead, and it works !
The problem (at least mine) seems definitely tied to gdm3.
I'm waiting for a patch before switching back to gdm3.
Manumerique
 
Posts: 3
Joined: 2018-05-09 13:50

Re: Login screen takes too long to appear

Postby kingocounty » 2018-05-09 15:41

The latest kernel update appears to have fixed the issue for me. I've uninstalled haveged and have done a few successful reboots with no wait for gdm.
User avatar
kingocounty
 
Posts: 11
Joined: 2018-03-14 13:11

PreviousNext

Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable