Announcement

Collapse
No announcement yet.

Long time before login screen appears

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Long time before login screen appears

    After the latest security updates it takes a very very long time before the login screen appears and I can login with no problems.
    Am I the only one facing this? If so, what can I do to solve it?

    #2
    Try opening Konsole and entering:
    Code:
    sudo systemd-analyze critical-chain
    This should show you what's taking a long time to finish.

    As usual, the Arch Wiki has info: https://wiki.archlinux.org/title/Imp...e/Boot_process

    Please Read Me

    Comment


      #3
      The time when unit became active or started is printed after the "@" character.
      The time the unit took to start is printed after the "+" character.

      graphical.target @1min 30.709s
      └─multi-user.target @1min 30.709s
      └─kerneloops.service @1min 30.684s +24ms
      └─network-online.target @1min 30.672s
      └─NetworkManager-wait-online.service @1min 25.623s +5.048s
      └─NetworkManager.service @1min 25.021s +591ms
      └─dbus.service @1min 24.934s +74ms
      └─basic.target @1min 24.921s
      └─sockets.target @1min 24.921s
      └─snapd.socket @1min 24.913s +7ms
      └─sysinit.target @1min 24.904s
      └─systemd-udev-settle.service @417ms +1min 24.485s
      └─systemd-udev-trigger.service @328ms +86ms
      └─systemd-udevd-kernel.socket @311ms
      └─system.slice @298ms
      └─-.slice @298ms

      Cannot interpret this because I cannot compare this with the figures before the update..
      Last edited by Snowhog; Nov 11, 2026, 09:40 AM.

      Comment


        #4
        this is your problem systemd-udev-settle.service @417ms +1min 24.485s

        that's an outlandish time to complete, the rest looks comparatively normal to mine

        Code:
        The time when unit became active or started is printed after the "@" character.
        The time the unit took to start is printed after the "+" character.
        
        graphical.target @12.180s
        └─multi-user.target @12.180s
        └─kerneloops.service @12.149s +29ms
        └─network-online.target @12.108s
        └─NetworkManager-wait-online.service @6.114s +5.993s    #other long pole
        └─NetworkManager.service @5.331s +780ms
        └─dbus.service @5.284s +42ms
        └─basic.target @5.276s
        └─sockets.target @5.276s
        └─libvirtd-ro.socket @5.276s
        └─libvirtd.socket @5.272s +3ms
        └─sysinit.target @5.265s
        └─systemd-udev-settle.service @639ms +4.615s      #long pole
        └─systemd-udev-trigger.service @315ms +99ms
        └─systemd-udevd-kernel.socket @302ms
        └─system.slice @286ms
        └─-.slice @286ms
        ​
        Last edited by skyfishgoo; Nov 12, 2026, 10:02 AM.
        some stuff i did: https://github.com/droidgoo

        Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

        Comment


          #5
          You didn't describe your system specs but here's mine for comparison:
          Code:
          graphical.target @9.852s
           └─lactd.service @9.852s
            └─multi-user.target @9.851s
             └─webmin.service @7.682s +2.167s
              └─network-online.target @7.662s
               └─NetworkManager-wait-online.service @3.882s +3.780s
                └─basic.target @3.121s
                 └─sockets.target @3.121s
                  └─libvirtd-ro.socket @3.121s
                   └─libvirtd.socket @3.115s +4ms
                    └─sysinit.target @3.092s
                     └─systemd-resolved.service @1.499s +1.593s
                      └─systemd-tmpfiles-setup.service @1.468s +25ms
                       └─local-fs.target @1.462s
                        └─tmp.mount @1.455s +6ms
                         └─swap.target @640ms
                          └─dev-disk-by\x2duuid-1ae06117\x2d4c44\x2d450c\x2db3e5\x2dceefa4de0d86.swap @616ms +10ms
                           └─dev-disk-by\x2duuid-1ae06117\x2d4c44\x2d450c\x2db3e5\x2dceefa4de0d86.device @516ms​
          So maybe your PC is just a little slow? My specs are in my sig...

          Please Read Me

          Comment


            #6
            Apparently, this service is not recommended by Arch. It's not running on my machine - KDEneon.

            https://man.archlinux.org/man/core/s...e.service.8.en

            Please Read Me

            Comment


              #7
              I cannot understand this. Did not change or add any hardware and/or did not install any new software.
              Only discovered after the new system update that the boot time was very long.
              My system in short:
              Desktop : KDE Plasma v: 5.27.12
              Distro: Kubuntu 24.04.5 LTS
              Machine: Mobo: Gigabite model : H610M S2H V3 DDR4
              CPU : Intel Core i3-14100
              Display: x11

              Comment


                #8
                Pls post output of these 2

                Code:
                journalctl -b -u systemd-udev-settle.service
                Code:
                journalctl -b -p warning..alert
                ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                Comment


                  #9
                  I checked several versions of Kubuntu and Fedora and none of them has this service installed, which means something in your configuration installed it.

                  Are you using LVM by any chance?

                  Please Read Me

                  Comment


                    #10
                    i have 24.04 installed and it was a fresh install of the OS after a failed trail at 24.10... however it does carry over my dotfiles from the original 22.04 install as i've always kept /home on it's own partition.

                    so perhaps that explains why i also have this service running... i don't know

                    that said i found this answer that should address the problem

                    https://askubuntu.com/questions/8880...settle-service

                    unless you are using a LVM ( and it's not likely) then disabling this service is of no consequence, other than (in OP's case) vastly speeding up their boot times.

                    i intend to disable all three of these services and see how things work for my setup

                    Code:
                    sudo systemctl disable NetworkManager-wait-online.service
                    sudo systemctl mask lvm2-monitor.service
                    sudo systemctl mask systemd-udev-settle.service​


                    UPDATE: after a reboot, as expected it cut out the two longest poles in my "tent"

                    my sudo systemd-analyze critical-chain now looks like this

                    Code:
                     graphical.target @4.199s
                    └─multi-user.target @4.199s
                      └─me.proton.vpn.split_tunneling.service @3.782s +417ms
                        └─network.target @3.778s
                          └─NetworkManager.service @3.345s +433ms
                            └─dbus.service @3.313s +29ms
                              └─basic.target @3.310s
                                └─sockets.target @3.310s
                                  └─libvirtd-ro.socket @3.310s
                                    └─libvirtd.socket @3.292s +17ms
                                      └─sysinit.target @3.290s
                                        └─snapd.apparmor.service @2.707s +582ms
                                          └─apparmor.service @2.675s +31ms
                                            └─local-fs.target @2.657s
                                              └─run-snapd-ns.mount @3.867s
                                                └─swap.target @761ms
                                                  └─dev-disk-by\x2duuid-[block].swap @750ms +9ms
                                                    └─dev-disk-by\x2duuid-[block].device @636ms​
                    down from 12s to 4s

                    so i think i'm going to leave it like this.
                    Last edited by skyfishgoo; Nov 12, 2026, 10:01 AM.
                    some stuff i did: https://github.com/droidgoo

                    Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

                    Comment


                      #11
                      @ die.boer:

                      Tried to run to commands you gave.
                      After executing the first one : journalctl -b -u systemd-udev-settle.service
                      It commented something about udev and I had to wait until is finished it.
                      But it never finished so I aborted the whole thing. Sorry.

                      @ oshunluvr:

                      I have not the foggiest idea wht LVM is, so......

                      @ skyfishgoo:

                      Are you intending to run those commands you gave or did you already do so?


                      I think I will re-install an earlier version with Timeshift to get rid of this nagging problem.

                      Comment


                        #12
                        The purpose of this service is to allow UDEV to detect needed devices prior to allowing log in. If you aren't using LVM, the consensuses is you probably don't need the service. IMO, no need to look at the journal, just disable and mask it.

                        Please Read Me

                        Comment


                          #13
                          If you want you can run these instead
                          Code:
                          journalctl -b -u systemd-udev-settle.service --no-pager
                          Code:
                          journalctl -b -p warning..alert --no-pager
                          ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                          Comment


                            #14
                            Here you go:

                            Code:
                            [FONT=monospace][COLOR=#000000][HLCOLOR=#ffffff]journalctl -b -u systemd-udev-settle.service --no[/HLCOLOR][/COLOR]
                            -pager
                            nov 12 16:33:42 analogueman-beta systemd[1]: Starting systemd-udev-settle.service
                            - Wait for udev To Complete Device Initialization...
                            nov 12 16:33:42 analogueman-beta udevadm[453]: [COLOR=#000000][HLCOLOR=#ffffff][B]systemd-udev-settle.service is dep[/B][/HLCOLOR][/COLOR]
                            recated. Please fix sddm.service not to pull it in.[COLOR=#000000][HLCOLOR=#ffffff] [/HLCOLOR][/COLOR]
                            nov 12 16:35:06 analogueman-beta systemd[1]: Finished systemd-udev-settle.service
                            - Wait for udev To Complete Device Initialization.[/FONT]
                            ​
                            Sorry I do not know how to avoid that extra COLOR info in the code.

                            The second command I will wait until this give already a clue. The resulting text is too long.

                            Comment


                              #15
                              And output of this ?

                              Code:
                              systemctl cat sddm.service
                              ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X