Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:debian:10:junior:l123 [2023/08/24 11:21] – admin | elearning:workbooks:debian:10:junior:l123 [2024/04/19 10:34] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2022.01** | + | Version : **2024.01** |
Dernière mise-à-jour : ~~LASTMOD~~ | Dernière mise-à-jour : ~~LASTMOD~~ | ||
- | ======LDF604 | + | ======LDF515 |
=====Contenu du Module===== | =====Contenu du Module===== | ||
- | * **LDF604 | + | * **LDF515 |
- | * Contenu du Module | + | * X Window System |
- | * Support | + | * Configuration |
- | * Rappel du Programme de la Formation | + | * Gestionnaire |
- | * Validation Globale des Acquis | + | * Toolkits |
- | * Évaluation de la Formation | + | * Freedesktop |
+ | * Display Manager | ||
+ | * XDM, GDM et KDM | ||
+ | * LightDM | ||
+ | * X.orgX11 | ||
+ | * Présentation | ||
+ | * Démarrage et Arrêt | ||
+ | * Utilisation | ||
+ | * Configuration | ||
+ | * La Section ServerFlags | ||
+ | * La Section ServerLayout | ||
+ | * La Section Files | ||
+ | * La Section Modules | ||
+ | * La Section InputDevice | ||
+ | * La Section Monitor | ||
+ | * La Section Device | ||
+ | * La Section Screen | ||
+ | * La Commande xwininfo | ||
+ | * La Commande xdpyinfo | ||
+ | * L' | ||
+ | * Le Clavier et la Souris | ||
+ | * Claviers Visuels | ||
+ | * L' | ||
+ | * Autres Technologies | ||
- | =====Rappel du Programme de la Formation===== | + | =====X Window System===== |
- | | + | L' |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * **LDF601 - Gestion des Paramètres et les Ressources du Matériel** | + | * Fenêtres, |
- | * Présentation des Fichiers Spéciaux | + | * Boutons, |
- | * LAB #1 - Commandes | + | * Menus, |
- | * 1.1 - La Commande lspci | + | * Curseur |
- | * 1.2 - La Commande lsusb | + | * etc. |
- | * 1.3 - La Commande lsblk | + | |
- | * 1.4 - La Commande dmidecode | + | |
- | * LAB #2 - La Commande sysctl | + | |
- | * 2.1 - Répertoire /proc | + | |
- | * Fichiers | + | |
- | * Processeur | + | |
- | * Interruptions système | + | |
- | * Canaux DMA | + | |
- | * Plages d' | + | |
- | * Périphériques | + | |
- | * Modules | + | |
- | * Statistiques | + | |
- | * Partitions | + | |
- | * Espaces de pagination | + | |
- | * Statistiques d' | + | |
- | * Statistiques d' | + | |
- | * Version du noyau | + | |
- | * Répertoires | + | |
- | * ide/scsi | + | |
- | * acpi | + | |
- | * bus | + | |
- | * net | + | |
- | * sys | + | |
- | * 2.2 - Utilisation de la Commande sysctl | + | |
- | * LAB #3 - Interprétation des informations dans /proc | + | |
- | * 3.1 - free | + | |
- | * 3.2 - uptime ou w | + | |
- | * 3.3 - iostat | + | |
- | * 3.4 - hdparm | + | |
- | * 3.5 - vmstat | + | |
- | * 3.6 - mpstat | + | |
- | * 3.7 - sar | + | |
- | * Modules usb | + | |
- | * udev | + | |
- | * La Commande udevadm | + | |
- | * Système de fichiers /sys | + | |
- | * LAB #4 - Limiter les Ressources | + | |
- | * 4.1 - ulimit | + | |
- | * 4.2 - Groupes de Contrôle | + | |
- | * CGroups v1 | + | |
- | * Préparation | + | |
- | * Présentation | + | |
- | * Limitation de la Mémoire | + | |
- | * La Commande cgcreate | + | |
- | * La Commande cgdelete | + | |
- | * Le Fichier /etc/cgconfig.conf | + | |
- | * La Commande cgconfigparser | + | |
- | * CGroups v2 | + | |
- | | + | **X** est une application client/serveur. |
- | * Rôle du noyau | + | |
- | * LAB #1 - Compilation et installation du noyau | + | |
- | * 1.1 - Déplacer | + | |
- | * 1.2 - Télécharger le Code Source du Noyau | + | |
- | * 1.3 - Configurer le Noyau | + | |
- | * 1.4 - Compiler le Noyau | + | |
- | * 1.5 - Installer le Nouveau Noyau | + | |
- | * 1.6 - Désinstaller un Noyau | + | |
- | * LAB #2 - Mise à Jour du Noyau avec le Gestionnaire des Paquets | + | |
- | * LAB #3 - Gestion des Quotas | + | |
- | * 3.1 - La Commande quotacheck | + | |
- | * 3.2 - La Commande edquota | + | |
- | * 3.3 - La Commande quotaon | + | |
- | * 3.4 - La Commande repquota | + | |
- | * 3.5 - La Commande quota | + | |
- | * 3.6 - La Commande warnquota | + | |
- | * **LDF603 - Gestion du Réseau** | + | Il existe trois versions |
- | * Présentation | + | |
- | * La Commande nmcli | + | |
- | * LAB #1 - Configuration du Réseau | + | |
- | * 1.1 - Connections et Profils | + | |
- | * 1.2 - Résolution des Noms | + | |
- | * 1.3 - Ajouter une Deuxième Adresse IP à un Profil | + | |
- | * 1.4 - La Commande hostname | + | |
- | * 1.5 - La Commande ip | + | |
- | * 1.6 - Activer/ | + | |
- | * 1.7 - Routage Statique | + | |
- | * La commande ip | + | |
- | * Activer/ | + | |
- | * LAB #2 - Diagnostique du Réseau | + | |
- | * 2.1 - ping | + | |
- | * 2.2 - netstat -i | + | |
- | * 2.3 - traceroute | + | |
- | * LAB #3 - Connexions à Distance | + | |
- | * 3.1 - Telnet | + | |
- | * 3.2 - wget | + | |
- | * 3.3 - ftp | + | |
- | * 3.4 - SSH | + | |
- | * Présentation | + | |
- | * SSH-1 | + | |
- | * SSH-2 | + | |
- | * Authentification par mot de passe | + | |
- | * Authentification par clef asymétrique | + | |
- | * Configuration du Serveur | + | |
- | * Configuration du Client | + | |
- | * Tunnels SSH | + | |
- | * 3.5 - SCP | + | |
- | * Présentation | + | |
- | * Utilisation | + | |
- | * 3.6 - Mise en Place des Clefs Asymétriques | + | |
- | * 3.7 - Services réseaux | + | |
- | * inetd | + | |
- | * TCP Wrapper | + | |
- | * LAB #4 - Le Parefeu Netfilter | + | |
- | * 4.1 - Présentation | + | |
- | * 4.2 - La Configuration de Netfilter par firewalld | + | |
- | * La Configuration de Base de firewalld | + | |
- | * La Commande firewall-cmd | + | |
- | * La Configuration Avancée de firewalld | + | |
- | * Le mode Panic de firewalld | + | |
- | * **LDF604 - Validation de la Formation** | + | * **[[http:// |
- | * Support de Cours | + | * un logiciel libre utilisé par la majorité des distributions jusqu' |
- | * Rappel du Programme | + | * **[[http:// |
- | * Validation Globale des Acquis | + | * un logiciel libre utilisé depuis les modifications |
- | * Évaluation de la Formation | + | * **[[http:// |
+ | * un logiciel commercial édité par la société **Xi Graphics** possedant sa propre base de pilotes graphiques. | ||
- | =====Validation des Acquis===== | + | ====Configuration==== |
- | Veuillez passer la Validation Globale des Acquis de la formation. Vérifiez ensuite que vous avez validé tous les modules du cours. | + | IL existe plusieurs outils pour configurer le serveur X : |
- | =====Évaluation de la Formation===== | + | * **XFree86 configure** est la commande utilisé pour configurer un serveur X basé sur XFree86 4.x. Cette commande produit le fichier **/ |
+ | * **Xorg configure** est la commande utilisé pour configurer un serveur X basé sur X.orgX11. Cette commande produit le fichier **/ | ||
- | Afin de valider votre formation, veuillez compléter | + | <WRAP center round important> |
+ | **Important** : Ces deux commandes doivent être utilisées quand le serveur X est arrêté. | ||
+ | </ | ||
+ | |||
+ | Deux outils qui ne bénéficient plus de support sont **xf86cfg** et **xorgcfg** sont parfois présents dans la distribution et peuvent être utilisés pour configurer le serveur X. | ||
+ | |||
+ | Dernièrement il existe des outils spécifiques à une distribution : | ||
+ | |||
+ | * Red Hat, CentOS, Fedora : **system-config-display**. | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Important** : Les outils disponibles pour le serveur XFree86 version 3.3.6 et antérieure était **xf86config**, | ||
+ | </ | ||
+ | |||
+ | Les fichiers de configuration de chaque serveur X sont : | ||
+ | |||
+ | * **[[http:// | ||
+ | * **/ | ||
+ | * **[[http:// | ||
+ | * **/ | ||
+ | * **[[http:// | ||
+ | * **/ | ||
+ | |||
+ | =====Gestionnaire de Fenêtres===== | ||
+ | |||
+ | **X** ne doit être confondue avec un **Gestionnaire de Fenêtres** (//Window Manager//). Le Gestionnaire de Fenêtres est responsable de la mise en page des élements fournis pas **X**. C'est pour cette raison que sous Linux il existe de nombreux Gestionnaires différents tels : | ||
+ | |||
+ | * KDE, | ||
+ | * GNOME, | ||
+ | * twm, | ||
+ | * IceWM, | ||
+ | * Rvwm, | ||
+ | * CDE, | ||
+ | * WindowMaker, | ||
+ | * Enlightenment, | ||
+ | * Xfce, | ||
+ | * Afterstep | ||
+ | * Compiz Fusion, | ||
+ | * Fluxbox, | ||
+ | * Openbox, | ||
+ | * Metacity, | ||
+ | * Blackbox, | ||
+ | * Ion, | ||
+ | * Wmii, | ||
+ | * etc. | ||
+ | |||
+ | Les Gestionnaires les plus connus sont : | ||
+ | |||
+ | * **KDE** (//Kool Desktop Environment// | ||
+ | * **GNOME** (//Gnu Network Object Model Environment// | ||
+ | |||
+ | =====Toolkits===== | ||
+ | |||
+ | Chaque Gestionnaire utilise une bibliothèque graphique contenant des fonctions " | ||
+ | |||
+ | Une bibliothèque complète est appelée un **Widget Toolkit**. Le Toolkit le plus connu est **MOTIF**. Cependant **MOTIF** n'est pas libre. Pour cette raison les développeurs de Linux ont du concevoir des Toolkits ayant une licence libre. | ||
+ | |||
+ | Comme dans beaucoup de cas de développement sous Linux, il existe plusieurs Toolkits dont les deux les plus connus sont : | ||
+ | |||
+ | * **GTK** (//GIMP Toolkit//), programé en langage C et embarqué par défaut dans le Gestionnaire de Fenêtres **Gnome**, | ||
+ | * **QT** (//Cute//), programé en langage C++ et embarqué par défaut dans le Gestionnaire de Fenêtres **KDE**. | ||
+ | |||
+ | =====Freedesktop===== | ||
+ | |||
+ | Afin d' | ||
+ | |||
+ | =====Display Manager===== | ||
+ | |||
+ | Le **Display Manager** est chargé de gérer les connexions locales et à distance, les authentifications et les ouvertures de sessions. De ce fait, Le Display Manager est l' | ||
+ | |||
+ | Pour les connexions à distance le Display Manager utilise le protocole **XDMCP** (//X Display Manager Control Panel//)). Le fichier | ||
+ | |||
+ | ====XDM, GDM et KDM==== | ||
+ | |||
+ | Le Display Manager par défaut, compatible avec tous les serveurs **X**, est **XDM**. Les deux autres Display Managers les plus connus sont : | ||
+ | |||
+ | * **GDM** pour GNOME, | ||
+ | * **KDM** pour KDE, | ||
+ | * **LightDM** de Canonical. | ||
+ | |||
+ | Les deux premiers sont essentiellement des XDM avec des fonctionnalités supplémentaires telles : | ||
+ | |||
+ | * le passage d'un utilisateur à un autre, | ||
+ | * la liste des utilisateurs, | ||
+ | * le choix d'un gestionnaire de fenêtres, | ||
+ | * la possibilité d'une autoconnexion, | ||
+ | * la liste des serveurs **X** distants, | ||
+ | * etc. | ||
+ | |||
+ | ====LightDM==== | ||
+ | |||
+ | LightDM est un gestionnaire d' | ||
+ | |||
+ | * Pas de dépendances de Gnome | ||
+ | * Utilisation de webkit pour le rendu des thèmes | ||
+ | * Support de Toolkits Gtk et Qt | ||
+ | |||
+ | Le fichier de configuration de LightDM est **/ | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | # | ||
+ | # General configuration | ||
+ | # | ||
+ | # start-default-seat = True to always start one seat if none are defined in the configuration | ||
+ | # greeter-user = User to run greeter as | ||
+ | # minimum-display-number = Minimum display number to use for X servers | ||
+ | # minimum-vt = First VT to run displays on | ||
+ | # lock-memory = True to prevent memory from being paged to disk | ||
+ | # user-authority-in-system-dir = True if session authority should be in the system location | ||
+ | # guest-account-script = Script to be run to setup guest account | ||
+ | # logind-load-seats = True to automatically set up multi-seat configuration from logind | ||
+ | # logind-check-graphical = True to on start seats that are marked as graphical by logind | ||
+ | # log-directory = Directory to log information to | ||
+ | # run-directory = Directory to put running state in | ||
+ | # cache-directory = Directory to cache to | ||
+ | # sessions-directory = Directory to find sessions | ||
+ | # remote-sessions-directory = Directory to find remote sessions | ||
+ | # greeters-directory = Directory to find greeters | ||
+ | # | ||
+ | [LightDM] | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # | ||
+ | # Seat defaults | ||
+ | # | ||
+ | # type = Seat type (xlocal, xremote) | ||
+ | # xdg-seat = Seat name to set pam_systemd XDG_SEAT variable and name to pass to X server | ||
+ | # pam-service = PAM service to use for login | ||
+ | # pam-autologin-service = PAM service to use for autologin | ||
+ | # pam-greeter-service = PAM service to use for greeters | ||
+ | # xserver-command = X server command to run (can also contain arguments e.g. X -special-option) | ||
+ | # xserver-layout = Layout to pass to X server | ||
+ | # xserver-config = Config file to pass to X server | ||
+ | # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server | ||
+ | # xserver-share = True if the X server is shared for both greeter and session | ||
+ | # xserver-hostname = Hostname of X server (only for type=xremote) | ||
+ | # xserver-display-number = Display number of X server (only for type=xremote) | ||
+ | # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true) | ||
+ | # xdmcp-port = XDMCP UDP/IP port to communicate on | ||
+ | # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf) | ||
+ | # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option) | ||
+ | # unity-compositor-timeout = Number of seconds to wait for compositor to start | ||
+ | # greeter-session = Session to load for greeter | ||
+ | # greeter-hide-users = True to hide the user list | ||
+ | # greeter-allow-guest = True if the greeter should show a guest login option | ||
+ | # greeter-show-manual-login = True if the greeter should offer a manual login option | ||
+ | # greeter-show-remote-login = True if the greeter should offer a remote login option | ||
+ | # user-session = Session to load for users | ||
+ | # allow-user-switching = True if allowed to switch users | ||
+ | # allow-guest = True if guest login is allowed | ||
+ | # guest-session = Session to load for guests (overrides user-session) | ||
+ | # session-wrapper = Wrapper script to run session with | ||
+ | # greeter-wrapper = Wrapper script to run greeter with | ||
+ | # guest-wrapper = Wrapper script to run guest sessions with | ||
+ | # display-setup-script = Script to run when starting a greeter session (runs as root) | ||
+ | # display-stopped-script = Script to run after stopping the display server (runs as root) | ||
+ | # greeter-setup-script = Script to run when starting a greeter (runs as root) | ||
+ | # session-setup-script = Script to run when starting a user session (runs as root) | ||
+ | # session-cleanup-script = Script to run when quitting a user session (runs as root) | ||
+ | # autologin-guest = True to log in as guest by default | ||
+ | # autologin-user = User to log in with by default (overrides autologin-guest) | ||
+ | # autologin-user-timeout = Number of seconds to wait before loading default user | ||
+ | # autologin-session = Session to load for automatic login (overrides user-session) | ||
+ | # autologin-in-background = True if autologin session should not be immediately activated | ||
+ | # exit-on-failure = True if the daemon should exit if this seat fails | ||
+ | # | ||
+ | [SeatDefaults] | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # | ||
+ | # Seat configuration | ||
+ | # | ||
+ | # Each seat must start with " | ||
+ | # Uses settings from [SeatDefaults], | ||
+ | # | ||
+ | #[Seat:0] | ||
+ | |||
+ | # | ||
+ | # XDMCP Server configuration | ||
+ | # | ||
+ | # enabled = True if XDMCP connections should be allowed | ||
+ | # port = UDP/IP port to listen for connections on | ||
+ | # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf) | ||
+ | # | ||
+ | # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. | ||
+ | # it can be a word and the first 7 characters are used as the key. | ||
+ | # | ||
+ | [XDMCPServer] | ||
+ | # | ||
+ | #port=177 | ||
+ | #key= | ||
+ | |||
+ | # | ||
+ | # VNC Server configuration | ||
+ | # | ||
+ | # enabled = True if VNC connections should be allowed | ||
+ | # command = Command to run Xvnc server with | ||
+ | # port = TCP/IP port to listen for connections on | ||
+ | # width = Width of display to use | ||
+ | # height = Height of display to use | ||
+ | # depth = Color depth of display to use | ||
+ | # | ||
+ | [VNCServer] | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | #depth=8 | ||
+ | </ | ||
+ | |||
+ | La configuration de l' | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | # | ||
+ | # background = Background file to use, either an image path or a color (e.g. #772953) | ||
+ | # theme-name = GTK+ theme to use | ||
+ | # icon-theme-name = Icon theme to use | ||
+ | # font-name = Font to use | ||
+ | # xft-antialias = Whether to antialias Xft fonts (true or false) | ||
+ | # xft-dpi = Resolution for Xft in dots per inch (e.g. 96) | ||
+ | # xft-hintstyle = What degree of hinting to use (none, slight, medium, or hintfull) | ||
+ | # xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr) | ||
+ | # show-indicators = semi-colon ";" | ||
+ | # show-clock (true or false) | ||
+ | # clock-format = strftime-format string, e.g. %H:%M | ||
+ | # keyboard = command to launch on-screen keyboard | ||
+ | # position = main window position: x y | ||
+ | # default-user-image = Image used as default user icon, path or # | ||
+ | # screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen | ||
+ | # | ||
+ | [greeter] | ||
+ | background=/ | ||
+ | theme-name=Adwaita | ||
+ | # | ||
+ | # | ||
+ | xft-antialias=true | ||
+ | #xft-dpi= | ||
+ | xft-hintstyle=hintfull | ||
+ | xft-rgba=rgb | ||
+ | show-indicators=~language; | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | Notez que l' | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | lrwxrwxrwx 1 root root 36 Oct 23 16:36 / | ||
+ | |||
+ | root@debian8: | ||
+ | lrwxrwxrwx 1 root root 60 Oct 23 16:34 / | ||
+ | </ | ||
+ | |||
+ | =====X.orgX11===== | ||
+ | |||
+ | ====Présentation==== | ||
+ | |||
+ | L' | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | Xorg: / | ||
+ | </ | ||
+ | |||
+ | Les modules de **X.orgX11** sont installés par défaut dans **/ | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | / | ||
+ | total 36 | ||
+ | drwxr-xr-x 6 root root 4096 Oct 23 16:35 modules | ||
+ | -rw-r--r-- 1 root root 31614 Feb 11 2015 protocol.txt | ||
+ | |||
+ | / | ||
+ | total 1072 | ||
+ | drwxr-xr-x 2 root root 4096 Nov 2 13:58 drivers | ||
+ | drwxr-xr-x 2 root root 4096 Oct 23 16:35 extensions | ||
+ | drwxr-xr-x 2 root root 4096 Oct 23 16:35 input | ||
+ | -rw-r--r-- 1 root root 104144 Feb 11 2015 libexa.so | ||
+ | -rw-r--r-- 1 root root 17920 Feb 11 2015 libfbdevhw.so | ||
+ | -rw-r--r-- 1 root root 153600 Feb 11 2015 libfb.so | ||
+ | -rw-r--r-- 1 root root 305920 Feb 11 2015 libglamoregl.so | ||
+ | -rw-r--r-- 1 root root 175932 Feb 11 2015 libint10.so | ||
+ | -rw-r--r-- 1 root root 5568 Feb 11 2015 libshadowfb.so | ||
+ | -rw-r--r-- 1 root root 34272 Feb 11 2015 libshadow.so | ||
+ | -rw-r--r-- 1 root root 26192 Feb 11 2015 libvbe.so | ||
+ | -rw-r--r-- 1 root root 31036 Feb 11 2015 libvgahw.so | ||
+ | -rw-r--r-- 1 root root 206848 Feb 11 2015 libwfb.so | ||
+ | drwxr-xr-x 2 root root 4096 Oct 23 16:35 multimedia | ||
+ | |||
+ | / | ||
+ | total 4336 | ||
+ | -rw-r--r-- 1 root root 5600 Oct 5 2014 ati_drv.so | ||
+ | -rw-r--r-- 1 root root 31144 Jul 8 2014 cirrus_alpine.so | ||
+ | -rw-r--r-- 1 root root 14572 Jul 8 2014 cirrus_drv.so | ||
+ | -rw-r--r-- 1 root root 25800 Jul 8 2014 cirrus_laguna.so | ||
+ | -rw-r--r-- 1 root root 19232 Jul 8 2014 fbdev_drv.so | ||
+ | -rw-r--r-- 1 root root 260104 Jan 17 2015 geode_drv.so | ||
+ | -rw-r--r-- 1 root root 1513528 Jul 8 2014 intel_drv.so | ||
+ | -rw-r--r-- 1 root root 187008 Oct 7 2014 mach64_drv.so | ||
+ | -rw-r--r-- 1 root root 144956 Jul 8 2014 mga_drv.so | ||
+ | -rw-r--r-- 1 root root 41108 Jul 13 11:28 modesetting_drv.so | ||
+ | -rw-r--r-- 1 root root 65404 Jul 8 2014 neomagic_drv.so | ||
+ | -rw-r--r-- 1 root root 225736 Sep 6 2014 nouveau_drv.so | ||
+ | -rw-r--r-- 1 root root 370860 Jul 8 2014 openchrome_drv.so | ||
+ | -rw-r--r-- 1 root root 184012 Jul 8 2014 qxl_drv.so | ||
+ | -rw-r--r-- 1 root root 107708 Jul 8 2014 r128_drv.so | ||
+ | -rw-r--r-- 1 root root 432540 Oct 5 2014 radeon_drv.so | ||
+ | -rw-r--r-- 1 root root 141612 Jul 8 2014 savage_drv.so | ||
+ | -rw-r--r-- 1 root root 114232 Jul 8 2014 siliconmotion_drv.so | ||
+ | -rw-r--r-- 1 root root 80956 Jul 8 2014 sisusb_drv.so | ||
+ | -rw-r--r-- 1 root root 65736 Jul 8 2014 tdfx_drv.so | ||
+ | -rw-r--r-- 1 root root 135256 Jul 8 2014 trident_drv.so | ||
+ | lrwxrwxrwx 1 root root 63 Nov 2 13:58 vboxvideo_drv.so -> / | ||
+ | -rw-r--r-- 1 root root 25008 Jul 8 2014 vesa_drv.so | ||
+ | -rw-r--r-- 1 root root 164920 Mar 14 2015 vmware_drv.so | ||
+ | -rw-r--r-- 1 root root 26868 Jan 17 2015 ztv_drv.so | ||
+ | |||
+ | / | ||
+ | total 308 | ||
+ | -rw-r--r-- 1 root root 311452 Feb 11 2015 libglx.so | ||
+ | |||
+ | / | ||
+ | total 312 | ||
+ | -rw-r--r-- 1 root root 63976 Aug 28 2014 evdev_drv.so | ||
+ | -rw-r--r-- 1 root root 48812 Oct 26 2014 mouse_drv.so | ||
+ | -rw-r--r-- 1 root root 72636 Sep 18 2014 synaptics_drv.so | ||
+ | -rw-r--r-- 1 root root 12976 Jul 8 2014 vmmouse_drv.so | ||
+ | -rw-r--r-- 1 root root 111240 Oct 4 2014 wacom_drv.so | ||
+ | |||
+ | / | ||
+ | total 88 | ||
+ | -rw-r--r-- 1 root root 13760 Feb 11 2015 bt829_drv.so | ||
+ | -rw-r--r-- 1 root root 13760 Feb 11 2015 fi1236_drv.so | ||
+ | -rw-r--r-- 1 root root 13760 Feb 11 2015 msp3430_drv.so | ||
+ | -rw-r--r-- 1 root root 5568 Feb 11 2015 tda8425_drv.so | ||
+ | -rw-r--r-- 1 root root 9664 Feb 11 2015 tda9850_drv.so | ||
+ | -rw-r--r-- 1 root root 5568 Feb 11 2015 tda9885_drv.so | ||
+ | -rw-r--r-- 1 root root 9664 Feb 11 2015 uda1380_drv.so | ||
+ | </ | ||
+ | |||
+ | Sous Debian 8 les paquets X.orgX11 installés peuvent être trouvés en utilisant la commande suivante : | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | xorg install | ||
+ | xorg-docs-core install | ||
+ | xserver-xorg install | ||
+ | xserver-xorg-core install | ||
+ | xserver-xorg-input-all install | ||
+ | xserver-xorg-input-evdev install | ||
+ | xserver-xorg-input-mouse install | ||
+ | xserver-xorg-input-synaptics install | ||
+ | xserver-xorg-input-vmmouse install | ||
+ | xserver-xorg-input-wacom install | ||
+ | xserver-xorg-video-all install | ||
+ | xserver-xorg-video-ati install | ||
+ | xserver-xorg-video-cirrus install | ||
+ | xserver-xorg-video-fbdev install | ||
+ | xserver-xorg-video-geode install | ||
+ | xserver-xorg-video-intel install | ||
+ | xserver-xorg-video-mach64 install | ||
+ | xserver-xorg-video-mga install | ||
+ | xserver-xorg-video-modesetting install | ||
+ | xserver-xorg-video-neomagic install | ||
+ | xserver-xorg-video-nouveau install | ||
+ | xserver-xorg-video-openchrome install | ||
+ | xserver-xorg-video-qxl install | ||
+ | xserver-xorg-video-r128 install | ||
+ | xserver-xorg-video-radeon install | ||
+ | xserver-xorg-video-savage install | ||
+ | xserver-xorg-video-siliconmotion install | ||
+ | xserver-xorg-video-sisusb install | ||
+ | xserver-xorg-video-tdfx install | ||
+ | xserver-xorg-video-trident install | ||
+ | xserver-xorg-video-vesa install | ||
+ | xserver-xorg-video-vmware install | ||
+ | </ | ||
+ | |||
+ | ====Démarrage et Arrêt==== | ||
+ | |||
+ | Les distributions RHEL ont historiquement utilisés les niveaux d' | ||
+ | |||
+ | ====Utilisation==== | ||
+ | |||
+ | Pour interagir avec et contrôler X.orgX11, un utilisateur dispose de plusieurs raccourcis claviers : | ||
+ | |||
+ | ^ Raccourci | ||
+ | | < | ||
+ | | < | ||
+ | | < | ||
+ | |||
+ | ====Configuration==== | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Important** : Notez que X.orgX11 s' | ||
+ | </ | ||
+ | |||
+ | Un fichier de configuration **/ | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | ModelName | ||
+ | VendorName | ||
+ | EndSection | ||
+ | |||
+ | Section " | ||
+ | BoardName | ||
+ | Driver | ||
+ | Identifier | ||
+ | VendorName | ||
+ | EndSection | ||
+ | |||
+ | Section " | ||
+ | SubSection " | ||
+ | Depth 24 | ||
+ | EndSubSection | ||
+ | Device | ||
+ | Identifier | ||
+ | Monitor | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Des applications tierces peuvent déposer des fichiers de configuration qui leur sont propres dans le répertoire **/ | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | total 20 | ||
+ | -rw-r--r-- 1 root root 1099 Feb 11 2015 10-evdev.conf | ||
+ | -rw-r--r-- 1 root root 1350 Feb 11 2015 10-quirks.conf | ||
+ | -rw-r--r-- 1 root root 1753 Sep 18 2014 50-synaptics.conf | ||
+ | -rw-r--r-- 1 root root 115 Jul 8 2014 50-vmmouse.conf | ||
+ | -rw-r--r-- 1 root root 1385 Oct 4 2014 50-wacom.conf | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Important** : Les fichiers dans le répertoire **xorg.conf.d** sont numérotés. L' | ||
+ | </ | ||
+ | |||
+ | Les fichiers de configuration contiennent des sections. Chaque section commence par une directive **Section** : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | et se termine par une directive **EndSection** : | ||
+ | |||
+ | < | ||
+ | ... | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Dans chaque section se trouvent des lignes comprennant une **Option** suivi d'une ou de plusieurs **Valeurs** : | ||
+ | |||
+ | < | ||
+ | Identifier | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **A faire** : Notez que la valeur est entourée de ". | ||
+ | </ | ||
+ | |||
+ | Certaines options sont des booléenes. Les valeurs admises sont : | ||
+ | |||
+ | * **Vrai** : 1, on, true, yes, | ||
+ | * **Faux** : 0, off, false, no. | ||
+ | |||
+ | ===La Section ServerFlags=== | ||
+ | |||
+ | Cette section optionnelle contient des directives globales. Cependant les valeurs attribuées ici peuvent être modifiées par les valeurs des directives dans la section **ServerLayout**. | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Option " | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | ===La Section ServerLayout=== | ||
+ | |||
+ | Cette section regroupe les informations concernant les périphériques en entrée et les périphériques en sortie. | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section | ||
+ | Identifier | ||
+ | Screen | ||
+ | InputDevice | ||
+ | InputDevice | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Important** : Le fichier de configuration peut contenir deux ou plusieurs sections ServerLayout. Seule la première sera prise en compte. | ||
+ | </ | ||
+ | |||
+ | ===La Section Files=== | ||
+ | |||
+ | Cette section regroupe les informations concernant les fichiers de configuration supplémentaires. | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | RgbPath | ||
+ | FontPath | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | Voici le fichier **/ | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | ! $Xorg: rgb.txt,v 1.3 2000/08/17 19:54:00 cpqbld Exp $ | ||
+ | 255 250 250 snow | ||
+ | 248 248 255 ghost white | ||
+ | 248 248 255 GhostWhite | ||
+ | 245 245 245 white smoke | ||
+ | 245 245 245 WhiteSmoke | ||
+ | 220 220 220 gainsboro | ||
+ | 255 250 240 floral white | ||
+ | 255 250 240 FloralWhite | ||
+ | 253 245 230 old lace | ||
+ | 253 245 230 OldLace | ||
+ | 250 240 230 linen | ||
+ | 250 235 215 antique white | ||
+ | 250 235 215 AntiqueWhite | ||
+ | 255 239 213 papaya whip | ||
+ | 255 239 213 PapayaWhip | ||
+ | 255 235 205 blanched almond | ||
+ | 255 235 205 BlanchedAlmond | ||
+ | 255 228 196 bisque | ||
+ | 255 218 185 peach puff | ||
+ | 255 218 185 PeachPuff | ||
+ | 255 222 173 navajo white | ||
+ | 255 222 173 NavajoWhite | ||
+ | 255 228 181 moccasin | ||
+ | 255 248 220 cornsilk | ||
+ | 255 255 240 ivory | ||
+ | 255 250 205 lemon chiffon | ||
+ | 255 250 205 LemonChiffon | ||
+ | 255 245 238 seashell | ||
+ | 240 255 240 honeydew | ||
+ | 245 255 250 mint cream | ||
+ | --More--(4%) | ||
+ | </ | ||
+ | |||
+ | ===La Section Modules=== | ||
+ | |||
+ | Par défaut le serveur X charge ses modules à partir du répertoire **/ | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | drivers | ||
+ | extensions | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Important** : Le chemin par défaut de l' | ||
+ | </ | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Load " | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Attention** : Dans l' | ||
+ | </ | ||
+ | |||
+ | ===La Section InputDevice=== | ||
+ | |||
+ | Cette section décrit un périphérique en entrée. Il n'ya normalement qu'une section pour le clavier, les souris étant généralement détectées automatiquement. Vous pouvez cependant configurer une section **InputDevice** pour une souris en ecrasant la configuration par défaut. | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Driver | ||
+ | Option | ||
+ | Option | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | Quand la section décrit une souris, on trouve typiquement les options suivantes : | ||
+ | |||
+ | ^ Option | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | ===La Section Monitor=== | ||
+ | |||
+ | Cette section décrit l' | ||
+ | |||
+ | <WRAP center round important> | ||
+ | **Attention** : Il est important de se munir avec la documentation du moniteur afin de connaître **la taille de l' | ||
+ | </ | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | VendorName | ||
+ | ModelName | ||
+ | DisplaySize | ||
+ | HorizSync | ||
+ | VertRefresh | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | |||
+ | ===La Section Device=== | ||
+ | |||
+ | Cette section décrit une carte vidéo. Il y a une section Device pour chaque carte vidéo présente dans la machine. | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier | ||
+ | Driver | ||
+ | VendorName | ||
+ | BoardName | ||
+ | VideoRam | ||
+ | Option | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | ===La Section Screen=== | ||
+ | |||
+ | Cette section associe une carte vidéo décrite par une section **Device** avec un moniteur décrit par une section **Monitor** : | ||
+ | |||
+ | Un exemple de cette section est : | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Identifier " | ||
+ | Device | ||
+ | Monitor | ||
+ | DefaultDepth | ||
+ | SubSection " | ||
+ | Depth | ||
+ | Modes | ||
+ | EndSubSection | ||
+ | SubSection " | ||
+ | Depth | ||
+ | Modes | ||
+ | EndSubSection | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Les directives les plus courantes dans cette section sont : | ||
+ | |||
+ | ^ Directive | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | | " | ||
+ | |||
+ | ====La Commande xwininfo==== | ||
+ | |||
+ | La commande xwininfo permet d' | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | No protocol specified | ||
+ | xwininfo: error: unable to open display ": | ||
+ | root@debian8: | ||
+ | logout | ||
+ | trainee@debian8: | ||
+ | |||
+ | xwininfo: Please select the window about which you | ||
+ | would like information by clicking the | ||
+ | mouse in that window. | ||
+ | |||
+ | xwininfo: Window id: 0x2e0004a " | ||
+ | |||
+ | Absolute upper-left X: 0 | ||
+ | Absolute upper-left Y: 0 | ||
+ | Relative upper-left X: 0 | ||
+ | Relative upper-left Y: 0 | ||
+ | Width: 1366 | ||
+ | Height: 642 | ||
+ | Depth: 32 | ||
+ | Visual: 0x44 | ||
+ | Visual Class: TrueColor | ||
+ | Border width: 0 | ||
+ | Class: InputOutput | ||
+ | Colormap: 0x2e00049 (not installed) | ||
+ | Bit Gravity State: NorthWestGravity | ||
+ | Window Gravity State: NorthWestGravity | ||
+ | Backing Store State: NotUseful | ||
+ | Save Under State: no | ||
+ | Map State: IsViewable | ||
+ | Override Redirect State: no | ||
+ | Corners: | ||
+ | -geometry 1366x642+0+0 | ||
+ | </ | ||
+ | |||
+ | Les options de la commande xwininfo sont : | ||
+ | |||
+ | < | ||
+ | root@debian8: | ||
+ | usage: | ||
+ | |||
+ | where options include: | ||
+ | -help print this message | ||
+ | -display host: | ||
+ | -root use the root window | ||
+ | -id windowid | ||
+ | -name windowname | ||
+ | -int print window id in decimal | ||
+ | -children | ||
+ | -tree print children identifiers recursively | ||
+ | -stats | ||
+ | -bits print window pixel information | ||
+ | -events | ||
+ | -size print size hints | ||
+ | -wm print window manager hints | ||
+ | -shape | ||
+ | -frame | ||
+ | -english | ||
+ | -metric | ||
+ | -all | ||
+ | </ | ||
+ | |||
+ | ====La Commande xdpyinfo==== | ||
+ | |||
+ | Xdpyinfo est un utilitaire utilisé pour afficher des informations concernant le serveur X : | ||
+ | |||
+ | < | ||
+ | trainee@debian8: | ||
+ | name of display: | ||
+ | version number: | ||
+ | vendor string: | ||
+ | vendor release number: | ||
+ | X.Org version: 1.16.4 | ||
+ | maximum request size: 16777212 bytes | ||
+ | motion buffer size: 256 | ||
+ | bitmap unit, bit order, padding: | ||
+ | image byte order: | ||
+ | number of supported pixmap formats: | ||
+ | supported pixmap formats: | ||
+ | depth 1, bits_per_pixel 1, scanline_pad 32 | ||
+ | depth 4, bits_per_pixel 8, scanline_pad 32 | ||
+ | depth 8, bits_per_pixel 8, scanline_pad 32 | ||
+ | depth 15, bits_per_pixel 16, scanline_pad 32 | ||
+ | depth 16, bits_per_pixel 16, scanline_pad 32 | ||
+ | depth 24, bits_per_pixel 32, scanline_pad 32 | ||
+ | depth 32, bits_per_pixel 32, scanline_pad 32 | ||
+ | keycode range: | ||
+ | focus: | ||
+ | number of extensions: | ||
+ | BIG-REQUESTS | ||
+ | Composite | ||
+ | DAMAGE | ||
+ | DOUBLE-BUFFER | ||
+ | DPMS | ||
+ | DRI2 | ||
+ | DRI3 | ||
+ | GLX | ||
+ | Generic Event Extension | ||
+ | MIT-SCREEN-SAVER | ||
+ | MIT-SHM | ||
+ | Present | ||
+ | RANDR | ||
+ | RECORD | ||
+ | RENDER | ||
+ | SECURITY | ||
+ | SGI-GLX | ||
+ | SHAPE | ||
+ | SYNC | ||
+ | X-Resource | ||
+ | XC-MISC | ||
+ | XFIXES | ||
+ | XFree86-DGA | ||
+ | XFree86-VidModeExtension | ||
+ | XINERAMA | ||
+ | XInputExtension | ||
+ | XKEYBOARD | ||
+ | XTEST | ||
+ | XVideo | ||
+ | default screen number: | ||
+ | number of screens: | ||
+ | |||
+ | screen #0: | ||
+ | dimensions: | ||
+ | resolution: | ||
+ | depths (7): 24, 1, 4, 8, 15, 16, 32 | ||
+ | root window id: 0x170 | ||
+ | depth of root window: | ||
+ | number of colormaps: | ||
+ | default colormap: | ||
+ | default number of colormap cells: | ||
+ | preallocated pixels: | ||
+ | options: | ||
+ | largest cursor: | ||
+ | current input event mask: 0xfa8033 | ||
+ | KeyPressMask | ||
+ | LeaveWindowMask | ||
+ | SubstructureNotifyMask | ||
+ | PropertyChangeMask | ||
+ | number of visuals: | ||
+ | default visual id: 0x21 | ||
+ | visual: | ||
+ | visual id: 0x21 | ||
+ | class: | ||
+ | depth: | ||
+ | available colormap entries: | ||
+ | red, green, blue masks: | ||
+ | significant bits in color specification: | ||
+ | visual: | ||
+ | visual id: 0xf9 | ||
+ | class: | ||
+ | depth: | ||
+ | available colormap entries: | ||
+ | red, green, blue masks: | ||
+ | significant bits in color specification: | ||
+ | visual: | ||
+ | visual id: 0xfa | ||
+ | class: | ||
+ | depth: | ||
+ | available colormap entries: | ||
+ | red, green, blue masks: | ||
+ | significant bits in color specification: | ||
+ | visual: | ||
+ | visual id: 0xfb | ||
+ | class: | ||
+ | depth: | ||
+ | available colormap entries: | ||
+ | red, green, blue masks: | ||
+ | significant bits in color specification: | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Les options de la commande xwininfo sont : | ||
+ | |||
+ | < | ||
+ | trainee@debian8: | ||
+ | usage: | ||
+ | -display displayname server to query | ||
+ | -version print program version and exit | ||
+ | -queryExtensions print info returned by XQueryExtension | ||
+ | -ext all print detailed info for all supported extensions | ||
+ | -ext extension-name print detailed info for extension-name if one of: | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | =====L' | ||
+ | |||
+ | L' | ||
+ | |||
+ | ====Le Clavier et la Souris==== | ||
+ | |||
+ | Historiquement, | ||
+ | |||
+ | ^ Paramètre ^ Description ^ | ||
+ | | Sticky Keys | Permet de maintenir les touches < | ||
+ | | Mouse Keys | Permet d' | ||
+ | | Bounce Keys | Permet de réduire l' | ||
+ | | Slow Keys | Necéssite qu'une touche soit enfoncée pour une durée plus longue avant que le système réagisse | | ||
+ | |||
+ | ====Claviers Visuels==== | ||
+ | |||
+ | Un clavier visuel ou //Onscreen Keyboard// est un clavier qui est afficher à l' | ||
+ | |||
+ | Un exemple connu du clavier visuel est **[[http:// | ||
+ | |||
+ | ====L' | ||
+ | |||
+ | En ce qui concerne la visibilité de l' | ||
+ | |||
+ | Il existe aussi des loupes telles **Kmag**. | ||
+ | |||
+ | ====Autres Technologies==== | ||
+ | |||
+ | Il existe aussi des logiciels de synthèse vocal tels **[[http:// | ||
----- | ----- | ||
- | Copyright © 2023 Hugh Norris. | + | Copyright © 2024 Hugh Norris. |