{{tag>Brouillon X11}} # Notes Xorg Voir aussi PID de gnome-session `/tmp/.X0-lock` Générer /root/xorg.conf.new ~~~bash #Xorg :1 -configure Xorg -configure ~~~ Pour désactiver une carte GPU ~~~bash lspci echo 1 > /sys/bus/pci/devices/[card device id]/remove ~~~ Voir https://github.com/dglt1/optimus-switch/issues/17 ~~~bash X -config /root/xorg.conf.new -retro sudo Xorg -verbose -config /root/Xorg.conf ~~~ ~~~bash nvidia-xconfig --mode nvidia-auto-select ~~~ ## Pb ### X: user not authorized to run the X server, aborting. Solution `/etc/X11/Xwrapper.config` ~~~ini #allowed_users=console allowed_users=anybody ~~~ Valeurs possibles pour **allowed_users** : * root * anybody * console ~~~bash # dpkg-reconfigure x11-common startx ~~~ Trouver le VendorName `Xorg.conf` ~~~ Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection ~~~ ~~~bash lspci -vmm ~~~ ### systemd-logind returned paused fd for drm node Xorg fail at boot But start if : "ctrl+alt+f3" and "ctrl+alt+f1" #### Solution 1 - nolapic ~~~ # lspci 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e98] ~~~ `/etc/default/grub` ~~~bash GRUB_CMDLINE_LINUX_DEFAULT="quiet nolapic" ~~~ ~~~bash update-grub ~~~ Mais le nolapic crée des problèmes sur une des cartes réseaux #### Solution 2 - décaler d'une second le démarrage de GDM `/etc/systemd/system/gdm3.service.d/gdm.conf` ~~~ini [Service] ExecStartPre=/usr/bin/bash -c 'sleep 1' ~~~