How to install a GUI on Arch Linux

Cover Photo GUI Arch Linux 01

To install a graphical user interface (GUI) on an existing Arch Linux system, install one desktop environment, enable its matching display manager, then reboot. A desktop environment supplies the desktop, settings, panel, and session. A display manager supplies the graphical sign-in screen and starts that session.

Choose a desktop environment first

Pick one desktop environment for the first setup. GNOME is a complete integrated desktop, KDE Plasma is highly configurable, and Xfce uses fewer resources. You can install more than one later, but one desktop and one display manager keeps the first boot easier to diagnose.

DesktopInstall commandDisplay manager
GNOMEsudo pacman -S gnome gdmGDM
KDE Plasmasudo pacman -S plasma-meta sddmSDDM
Xfcesudo pacman -S xfce4 xfce4-goodies lightdm lightdm-gtk-greeterLightDM

If you have not installed Arch yet, start with the Archinstall setup guide so the base system, user account, bootloader, and network are ready. The packages above are from Arch repositories.

Update Arch Linux before adding the desktop

Do a full system upgrade before installing the desktop packages. Arch uses rolling releases, so partial upgrades can leave desktop libraries out of sync with the rest of the system.

sudo pacman -Syu

Pacman downloads packages from configured repositories and applies the upgrade as one transaction. Use the Linux package-management overview if you want the distinction between updating package metadata and upgrading installed packages.

Install GNOME on Arch Linux

GNOME includes a Wayland session and the GNOME Display Manager (GDM) provides its login screen. Install both packages, then enable GDM for the next boot.

sudo pacman -S gnome gdm
sudo systemctl enable gdm

Enabling the service starts GDM after the next reboot. Do not run a second display manager alongside it.

GNOME desktop environment on Arch Linux
GNOME is a complete desktop option for an Arch Linux GUI installation.

This image shows the kind of complete desktop session GNOME provides after you sign in. The display manager is separate from the desktop itself, so GDM remains the service you enable.

Install KDE Plasma on Arch Linux

KDE Plasma gives you a configurable desktop and SDDM is its common graphical login choice. The Plasma meta package installs the core desktop components.

sudo pacman -S plasma-meta sddm
sudo systemctl enable sddm

Select Plasma from the session menu after reboot if your sign-in screen offers more than one session. SDDM is a display manager, not the Plasma desktop.

KDE Plasma desktop environment on Arch Linux
KDE Plasma is a configurable desktop option for Arch Linux.

The desktop shown here is Plasma, while the next boot reaches it through SDDM. If you want a focused tiling workflow instead of a full desktop, see the Sway window-manager guide.

Install Xfce on Arch Linux

Xfce is a sensible choice when you want a lighter graphical desktop. This command installs the Xfce desktop, optional Xfce utilities, LightDM, and its GTK greeter.

sudo pacman -S xfce4 xfce4-goodies lightdm lightdm-gtk-greeter
sudo systemctl enable lightdm

LightDM supplies the sign-in screen and starts the Xfce session you select. Reboot after enabling it.

Xfce desktop environment on Arch Linux
Xfce gives Arch Linux a lighter full desktop session.

The Xfce desktop remains separate from its login service. If you prefer a newer desktop project, compare its session model with the COSMIC desktop installation guide.

Check the graphical session after reboot

Restart the computer after you enable your chosen display manager. A graphical sign-in screen means the service started and the desktop packages are available as a session.

reboot

If the machine returns to a text console, sign in and inspect the display-manager service that you enabled. Replace gdm with sddm or lightdm when you chose another desktop.

systemctl status gdm

Check that only one graphical login service is enabled. The systemd service guide explains how enable and status commands affect boot-time services.

What to do next

Once you can sign in, add applications and customize the desktop from that session. A graphical interface does not replace the command line, and keeping a terminal available makes package and service troubleshooting much easier.

For a different desktop style, compare the COSMIC desktop overview before installing another session. Install one option, reboot, and confirm it starts before adding a second desktop.

Can I install a GUI after installing Arch Linux?

Yes. Install one desktop environment and a matching display manager with pacman, enable that display manager with systemctl, then reboot.

Do I need Xorg to install GNOME or KDE Plasma on Arch Linux?

No. Current GNOME and KDE Plasma installations can provide Wayland sessions. Install Xorg only when you specifically need an X11 session or software that requires it.

Which display manager should I use on Arch Linux?

Use GDM with GNOME, SDDM with KDE Plasma, or LightDM with Xfce. Enable only one display manager at a time.