0

I would like to boot my Linux Centos 7 on Graphic User Interface login page but it doesn't. I have already installed GNOME DESKTOP. I did:

systemctl set-default graphical.target

my grub file is configured like that:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet rd.driver.blacklist=nouveau nouveau.modeset=0 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev"
GRUB_DISABLE_RECOVERY="true"

grep EE /var/log/Xorg.0.log gives me:

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    82.640] (II) Initializing extension MIT-SCREEN-SAVER
[    83.213] (EE) Error loading keymap /tmp/server-0.xkm
[    83.213] (EE) XKB: Failed to load keymap. Loading default keymap instead.

Do you know how to fix this issue?

  • Welcome on U&L! Have you checked your logs for errors? Is the nouveau driver disabled on purpose (e.g. because you are using a proprietary Nvidia driver)? – fra-san Dec 21 '18 at 16:19
  • Hello, could you tell me where can i check logs? I disabled nouveau on purposed to use NVidia drivers because since the last yum update centos was stuck on plymouth wait. – user979974 Dec 21 '18 at 16:25
  • 1
    A starting point would be to query systemd and the journal: systemctl --failed, systemctl status for the failed units, if any; journalctl -u graphical.target, journalctl -p 0..4 for log entries from priority 0 (emergency) up to 4 (warnings) (likely only about the last boot, since the journal is not persistent by default). You should also be able to look for errors in /var/log/messages. Please, edit your question if you find something. – fra-san Dec 21 '18 at 16:45
  • 1
    You can also check for the output of systemctl isolate graphical.target (and its messages in the journal with journalctl). Issued on the command line, it will start the graphical.target unit and its dependencies. – fra-san Dec 21 '18 at 16:59
  • 1
    It's been a while that I last used Centos, and have never used it as a desktop environment, but does installing Gnome automatically pull in gdm or another login manager? – tink Dec 21 '18 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.