• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Unable to login with GUI on CentOS/RHEL 7

by admin

The Problem

can’t login to the system via GUI On CentOS/RHEL 7. Also, gdm segfault with below error after which unable to login to GUI.

kernel: gdm-simple-slav[4172]: segfault at 0 ip 00007f93d911c7df sp 00007fffecadaac0 error 4 in gdm-simple-slave[7f93d910a000+4a000]
kernel: gdm-simple-slav[2645]: segfault at 0 ip 00007f9781f7d7df sp 00007fff672c6980 error 4 in gdm-simple-slave[7f9781f6b000+4a000]

The Solution

For new installation of CentOS/RHEL 7 ,GUI doesnot come with default installation. If you do not click on the “Software Selection” link and pick “server with GUI” then there will be no GUI after reboot, only “Base Environment” will be installed.

For new installation with GUI

While doing the installation of CentOS/RHEL 7, please click on the “Software Selection” link and pick “server with GUI“.

Install GUI after installation of OS

If the server is installed without GUI, please follow the steps below to install the required RPM packages:

1. Install GUI packages.

# yum groupinstall 'X Window System' 'GNOME' -y

2. After install you can boot into GUI without rebooting with the below command.

# systemctl isolate graphical.target

3. Modify the target as “graphical.target” to bring the system in to the GUI mode by default:

# systemctl enable graphical.target --force

4. Verify the current target.

# systemctl get-default

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. mkfs.exfat: command not found
  2. Unable to ssh to server after integration into Active Directory (AD) Domain [CentOS/RHEL 7]
  3. localectl: command not found
  4. Linux OS Service ‘NetFS’
  5. cryfs: A cryptographic filesystem for the cloud
  6. faillog Command Examples in Linux
  7. timedatectl: command not found
  8. cryptcat Command Examples in Linux
  9. CentOS / RHEL : How to convert volume group metadata between LVM1 and LVM2
  10. CentOS / RHEL 7 : How to sync chrony to local clock

You May Also Like

Primary Sidebar

Recent Posts

  • csslint: A linter for CSS code
  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright