CentOSRHEL Based

How To Install Gnome on CentOS Stream 10

Install Gnome on CentOS Stream 10

CentOS Stream 10 represents a significant milestone in enterprise Linux distributions, offering cutting-edge features while maintaining the stability that organizations demand. Released with Linux kernel 6.12 LTS and featuring GNOME 47 “Denver” as the default desktop environment, this latest version provides an excellent foundation for both server and desktop environments. Whether you’re transitioning from a minimal server installation or setting up a development workstation, installing GNOME on CentOS Stream 10 transforms your command-line system into a powerful graphical interface.

The GNOME desktop environment serves as more than just a visual interface—it’s a comprehensive ecosystem that enhances productivity through intuitive navigation, modern applications, and seamless integration with system services. This guide provides detailed instructions for installing and configuring GNOME on CentOS Stream 10, ensuring you can leverage the full potential of this robust desktop environment.

Prerequisites and System Requirements

Hardware Requirements

Before beginning the installation process, verify that your system meets the minimum hardware specifications for running GNOME on CentOS Stream 10. The desktop environment requires adequate resources to deliver optimal performance and user experience.

Minimum System Specifications:

  • RAM: 2GB minimum, though 4GB or more is strongly recommended for smooth operation
  • CPU: 1GHz processor minimum, with 2GHz or higher recommended for better responsiveness
  • Storage: 20GB minimum free disk space, with 40GB recommended to accommodate applications and user data
  • Graphics: Basic VGA support required, with hardware-accelerated GPU preferred for enhanced visual effects

CentOS Stream 10 now targets the v3 microarchitecture level on AMD/Intel 64-bit systems, which enables optimizations but also sets minimum hardware requirements. You can verify your CPU’s supported levels by running ld.so --help in the terminal.

Software Prerequisites

Ensure your CentOS Stream 10 installation includes these essential components:

  • Fresh CentOS Stream 10 installation (minimal or server configuration)
  • Root access or sudo privileges for system modifications
  • Active internet connection for downloading packages (approximately 450MB for GNOME installation)
  • Updated system packages to prevent compatibility issues

Network Configuration Verification

A stable internet connection is crucial for downloading GNOME packages and dependencies. Verify your network configuration by testing DNS resolution and repository access:

ping -c 3 google.com
dnf repolist

These commands confirm internet connectivity and ensure package repositories are accessible.

Pre-Installation System Checks

Verifying Current System State

Before installing GNOME, assess your current system configuration to understand the installation scope and identify potential issues.

Check the current system target to determine if you’re running in multi-user or graphical mode:

systemctl get-default

If the output shows multi-user.target, your system currently boots to command-line mode. After installing GNOME, you’ll change this to graphical.target.

Verify available disk space to ensure sufficient room for the installation:

df -h

The root filesystem should have at least 2GB of free space for the GNOME installation, though more is recommended for future updates and applications.

Package Group Assessment

CentOS Stream 10 organizes software into logical groups, making it easier to install complete desktop environments. Check available environment groups:

dnf group list

This command displays available installation options, including “Server with GUI,” which contains GNOME and essential desktop components. Understanding these groups helps you make informed decisions about which packages to install.

Step-by-Step GNOME Installation Process

System Update

Begin by updating your CentOS Stream 10 system to ensure all packages are current and compatible:

dnf update -y

This command downloads and installs the latest package versions, security patches, and kernel updates. The process may take several minutes depending on your internet connection and the number of available updates. If a kernel update is included, you may need to reboot before proceeding with the GNOME installation.

Installing GNOME Desktop Environment

The primary method for installing GNOME on CentOS Stream 10 involves using the “Server with GUI” package group, which includes GNOME 47 and all necessary supporting components:

dnf -y group install "Server with GUI"

This comprehensive installation includes:

  • GNOME Shell desktop environment
  • Display manager (GDM) for graphical login
  • Essential applications like file manager and terminal
  • System utilities and configuration tools
  • Graphics and multimedia support libraries

The download size is approximately 450MB, with an installed size of around 1.8GB. Installation time varies based on system performance and internet speed, typically taking 10-30 minutes.

Monitor the installation progress and watch for any error messages. The package manager will automatically resolve dependencies and handle the complex installation process.

Configuring Graphical Boot Target

After successfully installing GNOME packages, configure your system to boot into graphical mode by default:

systemctl set-default graphical.target

This command creates a symbolic link from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target, ensuring your system starts the display manager and desktop environment on boot.

Verify the change was applied correctly:

systemctl get-default

The output should now show graphical.target, confirming your system will boot to the GNOME desktop.

System Reboot and First Graphical Boot

Restart your system to activate the graphical environment:

reboot

During the reboot process, systemd will start additional services required for the graphical environment, including the GNOME Display Manager (GDM). The first boot into GNOME may take longer than subsequent boots as the system initializes desktop services and user directories.

Install Gnome on CentOS Stream 10

Post-Installation Configuration and Setup

Initial GNOME Welcome Screen

Upon successful boot, you’ll encounter the GNOME welcome screen, which guides you through essential configuration steps:

  1. Language and Keyboard Layout Selection: Choose your preferred language and keyboard configuration for the desktop environment
  2. Location Services Configuration: Decide whether to enable location-based services for weather, time zones, and other location-aware applications
  3. Online Accounts Setup: Optionally configure integration with email, calendar, and cloud storage services
  4. Privacy Settings: Review and adjust privacy preferences according to your requirements

Complete the initial setup by clicking “Start Using CentOS Stream 10” to access the full desktop environment.

User Account Configuration for GUI Access

While root can access the GNOME desktop, it’s recommended to create or configure regular user accounts for daily desktop use:

useradd -m username
passwd username
usermod -aG wheel username

These commands create a new user account, set a password, and add the user to the wheel group for sudo access. Regular users provide better security isolation and prevent accidental system modifications.

Essential Applications Installation

CentOS Stream 10 includes a minimal set of desktop applications. Install additional software based on your needs:

dnf install firefox libreoffice vlc

Note that some traditional desktop applications like GIMP, LibreOffice, and Inkscape have been removed from the default repositories as RHEL transitions to Flatpak distribution. For these applications, consider using Flatpak or EPEL repositories.

Advanced Configuration Options

GNOME Shell vs Classic Mode

CentOS Stream 10 includes both modern GNOME Shell and the traditional Classic mode interface. Switch between these modes at the login screen by clicking the gear icon before entering your password and selecting your preferred session type.

GNOME Shell provides a modern, streamlined interface with an activities overview and integrated search functionality. Classic mode offers a more traditional desktop layout with a taskbar and application menu, familiar to users transitioning from older desktop environments.

Remote Access Configuration

For remote GUI access, configure VNC or RDP services:

dnf install tigervnc-server
systemctl enable vncserver@:1.service

Set up a VNC password for secure remote connections:

vncpasswd

This configuration allows remote access to your GNOME desktop from other systems on the network.

Graphics and Display Optimization

CentOS Stream 10 uses Wayland as the default display protocol, with Xwayland providing compatibility for legacy X11 applications. For systems with graphics issues, you can temporarily switch to X11 by selecting “GNOME on Xorg” at the login screen.

Adjust display settings through GNOME Settings or using command-line tools:

gsettings set org.gnome.desktop.interface scaling-factor 1.25

This command increases the interface scaling for high-resolution displays.

Troubleshooting Common Issues

Installation Problems

Insufficient Disk Space: If installation fails due to space constraints, clean temporary files and logs:

dnf clean all
journalctl --vacuum-time=1d

Network Connectivity Issues: Verify repository configuration and network settings:

dnf repolist enabled
nmcli connection show

Package Conflicts: Resolve dependency issues by updating the package database:

dnf makecache
dnf distro-sync

Boot and Display Issues

Black Screen After Reboot: If the system boots to a black screen, access a virtual terminal using Ctrl+Alt+F2 and check the display manager status:

systemctl status gdm
journalctl -xeu gdm

Graphics Driver Problems: For graphics-related issues, try booting with basic graphics mode by adding nomodeset to the kernel boot parameters in GRUB.

GDM Service Issues: If the GNOME Display Manager fails to start, restart the service:

systemctl restart gdm

Review system logs for specific error messages that can guide troubleshooting efforts.

Performance Optimization

Memory Usage Optimization: Monitor system resources and disable unnecessary services:

systemctl disable bluetooth
systemctl disable evolution-data-server

Desktop Responsiveness: Adjust GNOME animations and effects for better performance on lower-end hardware:

gsettings set org.gnome.desktop.interface enable-animations false

Security Considerations

Firewall Configuration

Ensure the firewall is properly configured for desktop use:

systemctl enable firewalld
systemctl start firewalld
firewall-cmd --list-all

SELinux Integration

CentOS Stream 10 includes SELinux enabled by default, providing mandatory access controls. Verify SELinux status and resolve any policy violations:

sestatus
sealert -a /var/log/audit/audit.log

Best Practices and Maintenance

Regular System Updates

Maintain system security and stability through regular updates:

dnf upgrade --refresh

Schedule automatic updates or create a maintenance routine to ensure your GNOME desktop remains secure and current.

Backup Configuration

Before making significant changes, backup important configuration files:

tar -czf gnome-config-backup.tar.gz ~/.config/gnome-*

Resource Monitoring

Monitor system performance and resource usage:

gnome-system-monitor
htop

These tools help identify performance bottlenecks and optimize system resources.

Congratulations! You have successfully installed Gnome. Thanks for using this tutorial for installing the Gnome on your CentOS Stream 10 system. For additional help or useful information, we recommend you check the official Gnome website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button