X server ( also called X11 or X Window System)
● Manages graphical displays on Linux
● Acts as a middle layer between applications and the display ● Handles window rendering, keyboard input, and mouse movements ● Supports network transparency, allowing remote application display using X forwarding over SSH
What are the drawbacks of X server?
○ Outdated design introduces security vulnerabilities and
performance inefficiencies
○ Many distributions still use Xorg, an implementation of X Server, for software compatibility
Wayland (X Server Alternative)
● A modern replacement for X Server, designed for better security
and efficiency
What are the advantages of Wayland?
○ Direct communication between applications and display
reduces lag and glitches
○ Improved security by isolating applications from one
another
○ More efficient rendering improves graphics performance
What are the challenges of Wayland?
○ Not all applications support Wayland (e.g., some screen
recording and remote desktop tools)
○ Many distributions, like Ubuntu and Fedora, offer both Wayland and X Server (Xorg)
Windows Managers
● Window managers control how windows move, resize, and
interact on the screen
Two types of Windows Managers
○ Floating Window Managers
■ Users can freely move and resize windows ○ Tiling Window Managers ■ Windows are automatically arranged in a grid layout
Examples of Window Managers
Mutter, Kwin
Mutter
■ Floating window manager for GNOME desktop
environment
Kwin
Window manager for KDE Plasma, highly customizable with advanced effects
Display Managers
● Provide a graphical login screen and session control
● They start the user’s desktop environment or window manager
Examples of Display Managers
○ GDM (GNOME Display Manager)
■ Used in GNOME-based systems (Ubuntu, Fedora GNOME) ○ SDDM (Simple Desktop Display Manager)
○ Default for KDE Plasma (Kubuntu, Fedora KDE Spin)