View previous topic :: View next topic |
Author |
Message |
frli8848 n00b
Joined: 26 May 2011 Posts: 18
|
Posted: Mon Oct 01, 2018 6:11 am Post subject: SDDM/X11 won't start until network is up or timeouts |
|
|
Hi All,
After updating gentoo and KDE a couple of weeks ago SDDM won't start until the network is up or timeouts. This means it takes several minutes too boot (my two laptops) when I have no ethernet connected. I'm running:
Plasma 5.13.5
Frameworks 5.50.0
Qt 5.11.1
Kernel 4.18.7
Is there a setting where I can make X start immediately (without waiting for an IP)?
/Fredrik |
|
Back to top |
|
|
bec Apprentice
Joined: 30 Sep 2004 Posts: 220 Location: Cali - Colombia
|
Posted: Thu Oct 25, 2018 3:14 pm Post subject: |
|
|
Try putting services elogind, xdm in the boot runlevel.
consolekit instead of elogind if you are using systemd! _________________ abe |
|
Back to top |
|
|
mega_flow Tux's lil' helper
Joined: 26 Jun 2016 Posts: 84 Location: Belgium
|
Posted: Thu Oct 25, 2018 7:22 pm Post subject: |
|
|
Hi Fredrik
like u i got a slowdown when booting after upgrading plasma.
when shifting tty and typing on the keyboard . sddm seems to start faster
After a look to dmesg i saw this line . To slow down the boot
Code: | random: crng init done |
A Google search told me this 2 apps "rng-tools" and "haveged". To make crng init faster
rng-tools work but give error on starting the app. haveged work fine for me |
|
Back to top |
|
|
Ralphred Guru
Joined: 31 Dec 2013 Posts: 494
|
Posted: Thu Oct 25, 2018 8:41 pm Post subject: |
|
|
This is the 3rd time I've seen this on the forums now.
All seems related to this commit.
If you have /dev/hwrng then installing rng-tools with /etc/init.d/rngd in your boot runlevel and /etc/conf.d/rngd set as
If you get read errors on boot then setIf you only get 1 read error then you'll have to experiment to see which it is.
If you have no /dev/hwrng then you can set DEVICE=/dev/urandom for a really nasty hack to get round it, or try the OP's last post in this thread. |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Thu Oct 25, 2018 10:25 pm Post subject: |
|
|
bec wrote: | consolekit instead of elogind if you are using systemd! |
bec, do I understand you correctly? If you are telling the OP he must use consolekit if he is using systemd, that is incorrect. If an installation is using systemd, consolekit must not be installed (and neither must elogind, as you correctly stated). systemd-logind caters for all that:
freedesktop.org wrote: | systemd's logind service obsoletes ConsoleKit which was previously widely used on Linux distributions. |
https://www.freedesktop.org/wiki/Software/systemd/writing-display-managers/ _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
bec Apprentice
Joined: 30 Sep 2004 Posts: 220 Location: Cali - Colombia
|
Posted: Mon Oct 29, 2018 10:40 pm Post subject: |
|
|
Fitzcarraldo wrote: | bec wrote: | consolekit instead of elogind if you are using systemd! |
bec, do I understand you correctly? If you are telling the OP he must use consolekit if he is using systemd, that is incorrect. If an installation is using systemd, consolekit must not be installed (and neither must elogind, as you correctly stated). systemd-logind caters for all that:
freedesktop.org wrote: | systemd's logind service obsoletes ConsoleKit which was previously widely used on Linux distributions. |
https://www.freedesktop.org/wiki/Software/systemd/writing-display-managers/ |
No consolekit when using systemd as Fitzcarraldo corrects me! _________________ abe |
|
Back to top |
|
|
cbxd n00b
Joined: 07 Aug 2018 Posts: 2 Location: France
|
Posted: Wed Oct 31, 2018 12:27 pm Post subject: |
|
|
mega_flow wrote: | Hi Fredrik
like u i got a slowdown when booting after upgrading plasma.
when shifting tty and typing on the keyboard . sddm seems to start faster
After a look to dmesg i saw this line . To slow down the boot
Code: | random: crng init done |
A Google search told me this 2 apps "rng-tools" and "haveged". To make crng init faster
rng-tools work but give error on starting the app. haveged work fine for me |
Hi,
That's exactly what my issue was: xdm would take a long time until starting eventually. Hitting a key in another tty would speed up xdm start. I have just reinstalled Gentoo.
In my case, I only needed to install haveged and add it to boot with: Code: | rc-update add haveged boot |
Now xdm and sddm start right away as expected.
Thanks a lot.
Chris |
|
Back to top |
|
|
frli8848 n00b
Joined: 26 May 2011 Posts: 18
|
Posted: Wed Dec 19, 2018 8:39 am Post subject: |
|
|
cbxd wrote: | mega_flow wrote: | Hi Fredrik
like u i got a slowdown when booting after upgrading plasma.
when shifting tty and typing on the keyboard . sddm seems to start faster
After a look to dmesg i saw this line . To slow down the boot
Code: | random: crng init done |
A Google search told me this 2 apps "rng-tools" and "haveged". To make crng init faster
rng-tools work but give error on starting the app. haveged work fine for me |
Hi,
That's exactly what my issue was: xdm would take a long time until starting eventually. Hitting a key in another tty would speed up xdm start. I have just reinstalled Gentoo.
In my case, I only needed to install haveged and add it to boot with: Code: | rc-update add haveged boot |
Now xdm and sddm start right away as expected.
Thanks a lot.
Chris |
Installing haveged solved it for me too! Thanks!
I had this problem on two 2013 MacBooks (an Air and a Pro), that is, unless I had an Apple thunderbolt ethernet dongle connected or an Apple Thunderbolt Display?! Connecting a USB ethernet dongle did not help.
/Fredrik |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Thu Apr 25, 2019 11:34 am Post subject: |
|
|
cbxd wrote: | mega_flow wrote: | Hi Fredrik
like u i got a slowdown when booting after upgrading plasma.
when shifting tty and typing on the keyboard . sddm seems to start faster
After a look to dmesg i saw this line . To slow down the boot
Code: | random: crng init done |
A Google search told me this 2 apps "rng-tools" and "haveged". To make crng init faster
rng-tools work but give error on starting the app. haveged work fine for me |
Hi,
That's exactly what my issue was: xdm would take a long time until starting eventually. Hitting a key in another tty would speed up xdm start. I have just reinstalled Gentoo.
In my case, I only needed to install haveged and add it to boot with: Code: | rc-update add haveged boot |
Now xdm and sddm start right away as expected.
Thanks a lot.
Chris |
I have been having this issue for a long time, I thought at some point the gentoo devs would fix this issue, and since it was not a big deal I never bothered to deal with it myself. Finally one day I decided to come to the gentoo forums to see if anyone else was having the same issue, I read this comment and this solution worked. I'm glad that I found this solution. Thanks. |
|
Back to top |
|
|
|