= Linux X-Windows
== help
* [[https://blog.desdelinux.net/xrandr-poderosa-herramienta-para-configurar-tu-monitor/]]
{{ :linux:xwindows:pasted:20220101-134119.png }}
== desktop environment
* Entorno de escritorio (Desktop Environment):
* iconos
* ventanas
* barras herramientas
* carpetas
* fondos pantalla
* widgets
* Gestor de ventanas (Window Manager)
* controla ubicación y apariencia
* abrir, cerrar, minimizar, maximizar, mover, escalar
* decorador, panel, visor escritorios virtuales, iconos, tapiz
* Gestor Pantalla de Inicio (Display Manager)
* (más abajo)
== que sistema?
* display manager:systemctl status display-manager
* Hard <-> Kernel <-> Servidor Pantalla <-> Gestor ventanas, Servidor Pantalla <-> Interfaz gráfica <-> Usuario
* Servidor pantall: Xorg
* Gestor ventanas: awesome, compiz, openbox
* protocolo entre servidor de pantalla e interfaz gráfica: X11, Wayland
* Interfgaz gráfica: KDE Plasma, GNOME Shell
== Historia
- XFree86 (anterior 2004)
- X,org-X11 (posterior 2004)
- Accelerated-X
=== configurar X
- Xfree86 - configure -> **/root/XF86Config.new**
- Xorg - configure -> **/root/xorg.conf.new**
- system-config-display
- YaST, YaST2
- xfcecfg (desuso)
- xorgcfg (desuso)
== archivos configuración
* **/etc/x11/xorg.conf**
* apagar -> ''/etc/init.d/{xdm|gdm|kdm|mdm|lightdm} stop''
* encender -> ''startx''
== XDMCP (X Display Manager Control Protocol)
* XDM: X Display Manager
* KDM: KDE DM
* GDM: GNOME DM
* LightDM: Light DM
* MDM: MDM DM
* **/etc/sysconfig**
* Fedora: **/etc/sysconfig/desktop** ≡ DISPLAYMANAGER
* SUSE: **/etc/sysconfig/displaymanager** ≡ DISPLAYMANAGER
* Debian: script systemd
* export DISPLAY=:0.0