-
-
Notifications
You must be signed in to change notification settings - Fork 1
Arch Linux Display Server Configuration
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to display servers on Arch Linux, including X11 vs Wayland comparison, switching between them, and configuration.
- Understanding Display Servers
- X11 Configuration
- Wayland Configuration
- Switching Display Servers
- Troubleshooting
X11:
- Traditional display server
- Mature and stable
- Wide compatibility
Wayland:
- Modern display server
- Better security
- Improved performance
Install Xorg:
# Install Xorg
sudo pacman -S xorg xorg-server
# Install drivers
sudo pacman -S xf86-video-intel # Intel
sudo pacman -S xf86-video-amdgpu # AMD
sudo pacman -S nvidia # NVIDIACreate config:
# Generate config
sudo Xorg :0 -configure
# Or create manually
sudo vim /etc/X11/xorg.confInstall compositor:
# GNOME (uses Wayland)
sudo pacman -S gnome
# KDE (uses Wayland)
sudo pacman -S plasma-wayland-session
# Sway
sudo pacman -S sway
# Hyprland
yay -S hyprlandConfigure compositor:
# Sway config
vim ~/.config/sway/config
# Hyprland config
vim ~/.config/hypr/hyprland.confSelect session:
- X11 session: Xorg
- Wayland session: Wayland
Check display:
# Check
echo $XDG_SESSION_TYPE
# Or
loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p TypeCheck logs:
# Xorg logs
cat /var/log/Xorg.0.log
# Wayland logs
journalctl -b | grep waylandReinstall drivers:
# Reinstall graphics drivers
sudo pacman -S xf86-video-amdgpuThis guide covered X11 and Wayland configuration, switching, and troubleshooting.
- Arch Linux Desktop Environments - Desktop setup
- Arch Linux Graphics Drivers - GPU setup
- ArchWiki Xorg: https://wiki.archlinux.org/title/Xorg
- ArchWiki Wayland: https://wiki.archlinux.org/title/Wayland
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.