Something delays the system start drastically. 04 January 2019, 19:57:42 Hello everybody,I had already looked for help in this thread, but the main problem does not seem to come from nm. The problem seems to be caused by another service.In dmesg, the time difference between the following lines is particularly noticeable:Code: [Select][ 7.551828] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready[ 154.276342] random: crng init doneIf i added havged to the default runlevel, the timeout increases to over five minutes.How can I narrow down the source of the error?Edit:The most time last line on display is: nm-dispatcher req:5, but if i record the desktop and play it very slow the next line is:Code: [Select]Checking your configfile (etc/syslog-ng/syslog-ng.conf) ...WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode.Don't know what to do? Thanks. Last Edit: 04 January 2019, 20:15:30 by Phoen7x
Re: Something delays the system start drastically. Reply #1 – 04 January 2019, 20:56:07 Code: [Select]Configuration file format is too old, syslog-ng is running in compatibility modeYou just need to change the first line of /etc/syslog-ng/syslog-ng.conf to Code: [Select]@version: 3.18But that is not what is slowing the startup down.I would guess there is not enough entropy ? havged should make it quicker not slower.Without havged boot and keep hitting random keys on the keyboard. If this make the boot quicker then it's definitely to to with entropy.Never had this issue so don't know much morehttps://wiki.archlinux.org/index.php/Random_number_generation
Re: Something delays the system start drastically. Reply #2 – 04 January 2019, 22:14:41 Youre right. With typing random keys, it's fast very fast. So it's an entropie problem, but how to solve?I'm running Intel i5-3470 with 8GB DDR3 RAM.Edit: adding haveged to boot runlevel not default solves the problem. Two little questions: Why does openrc with xdm doesn't start lightdm, but lxdm is no problem.Why, when i log in xfce mousepad autostart everytime? Last Edit: 04 January 2019, 22:23:07 by Phoen7x
Re: Something delays the system start drastically. Reply #3 – 04 January 2019, 22:43:22 I would start new topics as they are both questions unrelated to the topic and less likely to been seen by someone who knows.
Re: Something delays the system start drastically. Reply #4 – 05 January 2019, 01:47:31 Quote from: Phoen7x – on 04 January 2019, 22:14:41Why does openrc with xdm doesn't start lightdm, but lxdm is no problem.Lightdm need special attention setting up /etc/pam.d/lightdm*, since it comes atm from arch repos to work with systemd.I would not recommend lxdm, it does not work well with elogind.
Re: Something delays the system start drastically. Reply #5 – 06 January 2019, 16:59:04 @Phoen7x I had a very similar problem with an runit install, I posted the solution here: https://forum.artixlinux.org/index.php/topic,692.msg6164.html#msg6164Perhaps you can adapt it for OpenRc?Obviously don't install the runit version of rng-tools, there is a non-runit version in AUR as well.
Re: Something delays the system start drastically. Reply #6 – 06 January 2019, 20:52:52 Quote from: artoo – on 05 January 2019, 01:47:31Lightdm need special attention setting up /etc/pam.d/lightdm*, since it comes atm from arch repos to work with systemd.I would not recommend lxdm, it does not work well with elogind.I couldn't anything how to configure... where can I find more about this?I've already tried SLiM, but 'shutdown' and 'restart' is just a logout. Do you have an idea why?
Re: Something delays the system start drastically. Reply #7 – 06 January 2019, 21:16:20 Quote from: Phoen7x – on 06 January 2019, 20:52:52I couldn't anything how to configure... where can I find more about this?I've already tried SLiM, but 'shutdown' and 'restart' is just a logout. Do you have an idea why?slim is also notorious for being a PITA.All display manager packages except for sddm currently come from arch repos.We might add lightdm at some point to have a gtk based DM in repos.If you use for example lightdm from arch, open the /etc/pam.d/lightdm* files, and replace any line contianingCode: [Select]session optional pam_systemd.sowithCode: [Select]session optional pam_elogind.soand restart the DM or reboot.
Re: Something delays the system start drastically. Reply #8 – 06 January 2019, 22:00:33 Doesn't solves my problem.in the ligdm there is only Code: [Select]-session optional pam_gnome_keyring.so auto_startonly in the lightdm-greeter i've changed but same flashing cursor...
Re: Something delays the system start drastically. Reply #9 – 07 January 2019, 12:02:00 The topic is already off track, so go with the flow, but somehow I have been reading the same problem in two threads and getting confused.I thought the delay problem was cured, the problem now is DM behavior. May I ask what are you trying to achieve by a DM? Is it remote login, is this a multiuser system, is it to have a choice of many desktops and window managers? All mentioned DMs have been able to work without systemd in various systems, I don't think it takes much. Maybe artix just picked sddm and went with it and there is no manpower to work on the rest. But DMs have a reason for use.
Re: Something delays the system start drastically. Reply #10 – 07 January 2019, 17:32:51 Quote from: Phoen7x – on 06 January 2019, 22:00:33Doesn't solves my problem.in the ligdm there is only Code: [Select]-session optional pam_gnome_keyring.so auto_startonly in the lightdm-greeter i've changed but same flashing cursor... It could help if you tried to work out what was happening by looking in the log file (/var/log/lightdm/lightdm.log), if you haven't, and posting the log and also your /etc/lightdm/lightdm.confOr maybe try starting lightdm ( from the console, with no X or dm running) with debugging and see what it says.Code: [Select]lightdm -dIt may well be that you don't have the greeter set up correctly ? Only guessing.I use lightdm (believe it or not I had forgotten that, thought I was still on sddm !) with lightdm-slick-greeter.I have used it both without and with elogind installed (without atm) and the only issue I remember was to do with the greeter. But as I've just shown my memory is poor
Re: Something delays the system start drastically. Reply #11 – 10 January 2019, 15:17:32 Switched to https://forum.artixlinux.org/index.php/topic,806.0.html, before there is trouble.