You are not logged in.

#1 2020-07-21 12:06:11

plovgrammer
Member
Registered: 2020-04-09
Posts: 6

[SOLVED] Gnome DE launch problem

Gnome stuck on tty
I recently installed Gnome on my laptop. I can't figure out what has caused this but whenever i boot now it gets stuck on the first tty before starting gnome. I just see the blinking white underscore in the top left corner. If i switch tty and switch back Gnome start and there are no further problems with systemd or anything.

OS: Arch Linux
Kernel: x86_64 Linux 5.7.9-arch1-1
Uptime: 13m
Packages: 937
Shell: bash 5.0.17
Resolution: 1920x1080
DE: GNOME 3.36.4
WM: Mutter
WM Theme:
GTK Theme: Adwaita-dark [GTK2/3]
Icon Theme: Adwaita
Font: Cantarell 11
Disk: 37G / 229G (17%)
CPU: Intel Core i5-8250U @ 8x 3.4GHz [49.0°C]
GPU: Intel Corporation UHD Graphics 620 (rev 07)

Last edited by plovgrammer (2020-07-21 13:15:19)

Offline

#2 2020-07-21 12:16:41

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: [SOLVED] Gnome DE launch problem

Please provide the output of

$ ls -l /etc/systemd/system/default.target
$ ls -l /etc/systemd/system/display-manager.service

Last edited by schard (2020-07-21 12:17:06)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#3 2020-07-21 12:30:10

plovgrammer
Member
Registered: 2020-04-09
Posts: 6

Re: [SOLVED] Gnome DE launch problem

ls -l /etc/systemd/system/default.target
ls: cannot access '/etc/systemd/system/default.target': No such file or directory

ls -l /etc/systemd/system/display-manager.service
lrwxrwxrwx 1 root root 35 Jun 30 00:00 /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/gdm.service

Offline

#4 2020-07-21 12:45:21

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: [SOLVED] Gnome DE launch problem

Enable the graphical.target

# systemctl set-default graphical.target

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#5 2020-07-21 12:51:24

plovgrammer
Member
Registered: 2020-04-09
Posts: 6

Re: [SOLVED] Gnome DE launch problem

ls -l /etc/systemd/system/default.target
lrwxrwxrwx 1 root root 40 Jul 21 14:46 /etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target

New output now but the problem persists

Offline

#6 2020-07-21 12:52:58

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: [SOLVED] Gnome DE launch problem

Yeah, I just realized, that graphical.target is the default target anyway, if none is configured.
Please provide

$ lspci | grep VGA
$ cat /etc/mkinitcpio.conf

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#7 2020-07-21 12:59:15

plovgrammer
Member
Registered: 2020-04-09
Posts: 6

Re: [SOLVED] Gnome DE launch problem

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)

$ cat /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=()

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()

# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way.  This is useful for config files.
FILES=()

# HOOKS
# This is the most important setting in this file.  The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
##   This setup specifies all modules in the MODULES setting above.
##   No raid, lvm2, or encrypted root is needed.
#    HOOKS=(base)
#
##   This setup will autodetect all modules for your system and should
##   work as a sane default
#    HOOKS=(base udev autodetect block filesystems)
#
##   This setup will generate a 'full' image which supports most systems.
##   No autodetection is done.
#    HOOKS=(base udev block filesystems)
#
##   This setup assembles a pata mdadm array with an encrypted root FS.
##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
#    HOOKS=(base udev block mdadm encrypt filesystems)
#
##   This setup loads an lvm2 volume group on a usb device.
#    HOOKS=(base udev block lvm2 filesystems)
#
##   NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)

# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()

Offline

#8 2020-07-21 13:09:11

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: [SOLVED] Gnome DE launch problem

Okay, let's try early KMS:
Replace

MODULES=()

with

MODULES=(i915)

then run

# mkinitcpio -P

then reboot.

Please also use code tags.

Last edited by schard (2020-07-21 13:10:14)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#9 2020-07-21 13:14:45

plovgrammer
Member
Registered: 2020-04-09
Posts: 6

Re: [SOLVED] Gnome DE launch problem

All is good, thanks for taking the time!

Offline

#10 2020-07-21 13:15:51

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,702
Website

Re: [SOLVED] Gnome DE launch problem

Nice.
Please remember to mark your topic as solved by editing your first post and prepending [SOLVED] to the title.

Edit: Too slow. I see you already did it.

Last edited by schard (2020-07-21 13:16:43)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB