Xorg Display Errors — X Server Crashes, Black Screen, and Resolution Issues
Errorsystem
Overview
Fix Xorg display server errors including X server crashes, black screen after login, resolution detection failures, and multi-monitor configuration problems.
Key Details
- Xorg (X11) is the traditional display server for Linux desktop environments
- Xorg logs are in /var/log/Xorg.0.log — lines starting with (EE) are errors
- Configuration files in /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/
- Common crash causes: wrong GPU driver, missing firmware, incompatible monitor resolution
- xrandr is the primary tool for managing display resolution and multi-monitor layouts
Common Causes
- GPU driver not installed or incompatible with the kernel version
- Missing GPU firmware blobs (/lib/firmware/ missing files for your GPU)
- xorg.conf specifying a resolution or refresh rate not supported by the monitor
- NVIDIA/AMD proprietary driver conflict with the open-source Nouveau/AMDGPU driver
- Multi-monitor setup with mismatched resolutions causing layout errors
Steps
- 1Check Xorg log for errors: grep '(EE)' /var/log/Xorg.0.log
- 2Install the correct GPU driver: nvidia-driver (NVIDIA), mesa (AMD/Intel open-source), amdgpu-pro (AMD proprietary)
- 3Test a basic configuration: sudo Xorg :1 -configure to generate a test xorg.conf
- 4Use xrandr to list available resolutions: xrandr --listmonitors and xrandr --output HDMI-1 --mode 1920x1080
- 5For black screen: switch to TTY (Ctrl+Alt+F2), login, and check Xorg log
- 6Delete custom xorg.conf: mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak to use auto-detection
Tags
xorgx11displaygpu-driverxrandr
Related Items
More in System
windows-C000021A-status-system-process-terminatedWindows Error 0xC000021A — STATUS SYSTEM PROCESS TERMINATED
Criticalwindows-C0000225-boot-configuration-errorWindows Error 0xC0000225 — Boot Configuration Error
Criticalwindows-C000000F-boot-selection-failedWindows Error 0xC000000F — Boot Selection Failed
Criticalwindows-80004005-unspecified-errorWindows Error 0x80004005 — Unspecified Error
Warningwindows-80070570-file-or-directory-corruptedWindows Error 0x80070570 — File or Directory Corrupted
Errorwindows-system-0xc0000185Windows Error 0xC0000185 — Boot Device Inaccessible
CriticalFrequently Asked Questions
Wayland is the modern replacement with better security and performance. However, some apps and NVIDIA GPUs still work better with Xorg. Most distros now default to Wayland but allow Xorg as fallback.