Nachdem die Serverinstallationen abgeschlossen sind, können die Administratoren ihre Aufmerksamkeit nun darauf richten, die einzelnen Arbeitsplatzrechner einzurichten und für sie eine typische Konfiguration zu erstellen.
13.1. Den X11-Server konfigurieren
Die Konfiguration der grafischen Schnittstelle kann zu Anfang etwas unpassend sein. Die neuesten Grafikkarten laufen häufig nicht optimal mit der X.org-Version, die mit der stabilen Debian-Version geliefert wird.
A brief reminder: X.org is the software component that allows graphical applications to display windows on screen. It includes a driver that makes efficient use of the video card. The features offered to the graphical applications are exported through a standard interface, X11 (Stretch contains version X11R7.7).
Current versions of X.org are able to autodetect the available hardware: this applies to the video card and the monitor, as well as keyboards and mice; in fact, it is so convenient that the package no longer even creates a /etc/X11/xorg.conf
configuration file.
Die Tastaturkonfiguration wird gegenwärtig in der Datei
/etc/default/keyboard
festgelegt. Mit dieser Datei werden sowohl die Textkonsole als auch die grafische Schnittstelle konfiguriert, und sie wird von dem Paket
keyboard-configuration gehandhabt. Einzelheiten zur Konfigurierung der Tastaturbelegung finden sich in
Abschnitt 8.1.2, „Die Tastatur einstellen“.
Das Paket xserver-xorg stellt einen allgemeinen X-Server bereit, wie er von den 7.x-Versionen von X.org verwendet wird. Dieser Server ist modular und benutzt eine Reihe unabhängiger Treiber zum Umgang mit den vielen verschiedenen Arten von Grafikkarten. Wenn xserver-xorg installiert ist, sorgt es dafür, dass beide, der Server und ein Video-Treiber, installiert sind.
Note that if the detected video card is not handled by any of the available drivers, X.org tries using the VESA and fbdev drivers. VESA is a generic driver that should work everywhere, but with limited capabilities (fewer available resolutions, no hardware acceleration for games and visual effects for the desktop, and so on) while fbdev works on top of the kernel's framebuffer device. Nowadays the X server runs without any administrative privileges (this used to be required to be able to configure the screen) and thus its log file is now stored in the user's home directory in ~/.local/share/xorg/Xorg.0.log
(whereas it used to be in /var/log/Xorg.0.log
for versions older than Stretch). That log file is where one would look to know what driver is currently in use. For example, the following snippet matches what the intel
driver outputs when it is loaded:
(==) Matched intel as autoconfigured driver 0
(==) Matched modesetting as autoconfigured driver 1
(==) Matched vesa as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so