You are not logged in.

#1 2016-09-04 09:42:01

Astroarch
Member
From: Germany
Registered: 2014-03-21
Posts: 85

Slow boot and missing log-in

Hello guys,
since time I experience a really slow start-up, more than one minute, and often a failing log-in that forces me to change console and try again.
Here is my configuration:

[claudio@new-host ~]$ uname -a
Linux new-host 4.7.2-1-ARCH #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 x86_64 GNU/Linux
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

PS1='[\u@\h \W]\$ '
alias ls='ls -1 --color'
alias steam-wine='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'

alias vic2=~/my_scripts/./vic2.sh
alias hoi3=~/my_scripts/./hoi3.sh

alias pacro="/usr/bin/pacman -Qtdq > /dev/null && sudo /usr/bin/pacman -Rns \$(/usr/bin/pacman -Qtdq | sed -e ':a;N;\$!ba;s/\n/ /g')"
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

# Additional settings

# Update and merge Xresources
xrdb -merge ~/.Xresources
Exec=/etc/lightdm/Xsession
# Set italian layout for the keyboard
setxkbmap de
# Launch tint2-svn
#tint2 &
# Xscreensaver
#/usr/bin/xscreensaver -no-splash &
# Launch openbox
#exec openbox-session
exec mate-session
[claudio@new-host etc]$ systemctl --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[claudio@new-host etc]$ journalctl -p 3 -xb
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
-- No entries --
[claudio@new-host etc]$ systemd-analyze blame
          6.254s man-db.service
          5.727s dev-sda1.device
          5.418s systemd-journal-flush.service
          3.054s upower.service
          2.193s systemd-udevd.service
          1.802s NetworkManager.service
          1.571s systemd-vconsole-setup.service
          1.505s systemd-journald.service
           905ms systemd-tmpfiles-setup-dev.service
           771ms shadow.service
           717ms systemd-logind.service
           714ms logrotate.service
           695ms udisks2.service
           692ms org.cups.cupsd.service
           638ms wpa_supplicant.service
           610ms polkit.service
           599ms alsa-restore.service
           474ms avahi-daemon.service
           432ms systemd-udev-trigger.service
           412ms systemd-binfmt.service
           395ms systemd-random-seed.service
           383ms systemd-fsck@dev-disk-by\x2duuid-bad7c2c1\x2d4154\x2d4cb1\x2db132\x2d96b5a1d5189c.service
           325ms home.mount
           267ms user@1000.service
           245ms systemd-remount-fs.service
           209ms systemd-tmpfiles-setup.service
           101ms systemd-tmpfiles-clean.service
            98ms dev-hugepages.mount
            97ms kmod-static-nodes.service
            97ms systemd-sysctl.service
            96ms sys-kernel-config.mount
            96ms sys-kernel-debug.mount
            95ms swapfile.swap
            93ms colord.service
            81ms dhcpcd.service
            61ms tmp.mount
            49ms systemd-user-sessions.service
            48ms systemd-rfkill.service
            32ms systemd-update-utmp.service
            22ms rtkit-daemon.service
            14ms dev-mqueue.mount
             1ms proc-sys-fs-binfmt_misc.mount
             1ms sys-fs-fuse-connections.mount
[claudio@new-host etc]$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 31.869s
└─multi-user.target @1min 31.854s
  └─cups-browsed.service @1min 31.839s
    └─org.cups.cupsd.service @1min 31.119s +692ms
      └─network.target @1min 31.074s
        └─wpa_supplicant.service @12.552s +638ms
          └─basic.target @8.726s
            └─sockets.target @8.709s
              └─dbus.socket @8.691s
                └─sysinit.target @8.525s
                  └─systemd-update-utmp.service @8.459s +32ms
                    └─systemd-tmpfiles-setup.service @8.219s +209ms
                      └─systemd-journal-flush.service @2.755s +5.418s
                        └─systemd-journald.service @1.221s +1.505s
                          └─systemd-journald-dev-log.socket @1.221s
                            └─-.slice @831ms

Ofter, when I type xstart what I see is this:

http://i63.tinypic.com/1zbqu8g.jpg

and I need to change console and try again.

How can I solve these issues?
Thanks!

Mod edit: removed oversized image. See https://wiki.archlinux.org/index.php/Co … s_and_code

Last edited by WorMzy (2017-11-03 09:57:35)

Offline

#2 2017-11-03 09:49:22

blacksuan19
Member
Registered: 2017-11-03
Posts: 1

Re: Slow boot and missing log-in

hello were you able to resolve this because am facing the exact same issue and can't seem to find a solution my current workaround is to reboot or start GUI from a tty using startx

Offline

#3 2017-11-03 09:54:53

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,673
Website

Re: Slow boot and missing log-in

Then it's not the same problem then, OP couldn't even use startx.

Look through the recent topics about display managers not working and please don't necrobump.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB