You are not logged in.
Hello everyone,
I've done a fresh archlinux installation and I've decided to use gnome.
I installed it with:
pacman -S gnome
systemctl enable gdmbut on boot I have 30-40 seconds of black screen before gdm login view appear and another 20-30 seconds of black screen to login, no splash screen or loading screen.
How is that possible?
Offline
How long does it take if you disable GDM and run it from .xinitrc instead?
Post the output of:
systemd-analyze critical-chainJin, Jîyan, Azadî
Offline
I've created e file named .xinitrc in my home folder with this code
#!/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
# XFCE in questo caso è il default
case $1 in
xfce) exec startxfce4;;
kde) exec startkde;;
gnome);;
*) exec gnome-session;;
esacThen I've disabled gdm with
systemctl disable gdmand rebooted. After login I've typed
startxthen 40-50 seconds or more of black screen and finally gnome-shell is loaded
This is the output
systemd-analyze critical-chain
graphical.target @4.410s
└─multi-user.target @4.410s
└─systemd-logind.service @4.236s +173ms
└─basic.target @3.530s
└─sockets.target @3.529s
└─dbus.socket @3.529s
└─sysinit.target @3.515s
└─swap.target @3.515s
└─dev-disk-by\x2duuid-dbf81cd6\x2db25a\x2d4072\x2d8390\x2dc8e1a23c995f.swap @3.457s +57ms
└─dev-disk-by\x2duuid-dbf81cd6\x2db25a\x2d4072\x2d8390\x2dc8e1a23c995f.device @3.457sOffline
Anything in the logs?
Jin, Jîyan, Azadî
Offline
In /var/log there isn't anything. Should I look elsewhere?
Offline
See man journalctl
https://wiki.archlinux.org/index.php/Systemd#Journal
For example, just after you reach the desktop look at the output of:
journalctl -xnJin, Jîyan, Azadî
Offline
I don't know why it takes so much time to load gdm but I think that the delay after login is due to pulseaudio startup time...
How can I set a splash or loading screen?
Offline
How can I set a splash or loading screen?
I'm not sure, but I think this is relevant:
https://wiki.archlinux.org/index.php/Plymouth
I don't use splash screens so I could be wrong about this.
You can also set a splash image in your boot loader/manager -- see the ArchWiki pages for details.
Jin, Jîyan, Azadî
Offline
this is the output
journalctl -xn
-- Logs begin at gio 2015-02-26 19:13:23 CET, end at gio 2015-02-26 23:07:25 CET. --
feb 26 23:07:02 g2arch avahi-daemon[860]: Network interface enumeration completed.
feb 26 23:07:02 g2arch avahi-daemon[860]: Registering new address record for fe80::be20:8bf9:a350:bed on enp4s0.*.
feb 26 23:07:02 g2arch avahi-daemon[860]: Registering new address record for 192.168.0.2 on enp4s0.IPv4.
feb 26 23:07:02 g2arch avahi-daemon[860]: Registering new address record for fe80::2f1d:c832:7947:2a73 on enp6s0.*.
feb 26 23:07:02 g2arch avahi-daemon[860]: Registering HINFO record with values 'X86_64'/'LINUX'.
feb 26 23:07:03 g2arch org.gnome.EpiphanySearchProvider[592]: ** (org.gnome.EpiphanySearchProvider:826): WARNING **: Error saving EphyNodeDB as XML: Failed to create file '/home/gigitsu/.config/epiphany/ephy-bookmarks.xml.9KDGUX': No such file or directory
feb 26 23:07:03 g2arch avahi-daemon[860]: Server startup complete. Host name is g2arch.local. Local service cookie is 2753452216.
feb 26 23:07:04 g2arch avahi-daemon[860]: Service "g2arch" (/services/ssh.service) successfully established.
feb 26 23:07:04 g2arch avahi-daemon[860]: Service "g2arch" (/services/sftp-ssh.service) successfully established.
feb 26 23:07:25 g2arch gnome-session[575]: Gjs-Message: JS LOG: Received error from DBus search provider epiphany.desktop: Gio.IOErrorEnum: È stato raggiunto il timeoutOffline
The problem is my webcam, I've detached it and boot time is decreased drastically. I have an hd microsoft webcam...
Offline
Anyway thankyou had_on_a_stick, if I find a solution to pulseaudio slow webcam recognition I will post here
Offline