Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] Login screen takes too long to appear
- kingocounty
- Posts: 12
- Joined: 2018-03-14 13:11
Re: Debian Strech - boot problem
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/comment ... em/dyj3xhj
https://www.reddit.com/r/debian/comment ... em/dyj3xhj
-
- Posts: 190
- Joined: 2018-05-05 22:30
-
- Posts: 7
- Joined: 2018-02-02 06:44
Re: Debian Strech - boot problem
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).
Re: Login screen takes too long to appear
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.
Re: Login screen takes too long to appear
Same issue here. Solved it by installing havehed. Thanks!
Regards.
Regards.
SOLVED: Login screen takes too long to appear
very glad to see this solved!
a true community effort!
a true community effort!
Re: Login screen takes too long to appear
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.
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.
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: Login screen takes too long to appear
@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.
-
- Posts: 4
- Joined: 2018-05-05 20:48
Re: Login screen takes too long to appear
Not sure of the etiquette, but thought I'd report in. Issue solved! Many thanks to kingocounty for pointing out the haveged solution.
Re: Login screen takes too long to appear
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?
- sunrat
- Administrator
- Posts: 6477
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: Login screen takes too long to appear
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!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Login screen takes too long to appear
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.sunrat wrote:There was a kernel update today for Stretch. Possibly fixes the problem, I can't confirm though.
-
- Posts: 3
- Joined: 2018-05-09 13:50
Re: Login screen takes too long to appear
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.
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.
- kingocounty
- Posts: 12
- Joined: 2018-03-14 13:11
Re: Login screen takes too long to appear
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.
-
- Posts: 7
- Joined: 2018-02-02 06:44
Re: Login screen takes too long to appear
Only confirming, the 05/09/2018 update despite the kernel number being the same the slow screen login problem was solved, even without installing the haveged package I did a clean install with the gnome and the error is no longer detected.
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: Login screen takes too long to appear
Latest kernel update fixed me up too, installed the new kernel, uninstalled haveged and boot times are normal, the sun is shining upon the kingdom, the trees are full of fruit and even the birds are singing! Bet you never expected that from a kernel update now did you? But seriously folks, thanks to all who pitched in and got this fixed. This is the way it's supposed to work, maybe we could show this example to the world's politicians?
- kingocounty
- Posts: 12
- Joined: 2018-03-14 13:11
Re: Login screen takes too long to appear
Yes, we came together as a community to break, and then fix, Debian.
Purely said in fun, of course. I have great respect and appreciation for everyone involved in maintaining and furthering Debian. Thanks to all the devs for keeping up this fantastic distribution!
Purely said in fun, of course. I have great respect and appreciation for everyone involved in maintaining and furthering Debian. Thanks to all the devs for keeping up this fantastic distribution!
Re: Login screen takes too long to appear
I guess this issue is definitely solved for everyone. Thank you for your help and efforts!
-
- Posts: 3
- Joined: 2018-05-09 13:50
Re: [SOLVED] Login screen takes too long to appear
Problem not solved for me.
Didn't have a kernel update in Debian Testing since 4.16.1.
Tried to remove lightdm and reinstall gdm, with same problems as in my previous post.
Folks, what was the version number of your kernel update ?
Didn't have a kernel update in Debian Testing since 4.16.1.
Tried to remove lightdm and reinstall gdm, with same problems as in my previous post.
Folks, what was the version number of your kernel update ?