Table des matières

,

Notes Xorg

Voir aussi Wayland

PID de gnome-session /tmp/.X0-lock

Générer /root/xorg.conf.new

#Xorg :1 -configure
Xorg -configure

Pour désactiver une carte GPU

lspci
echo 1 > /sys/bus/pci/devices/[card device id]/remove

Voir https://github.com/dglt1/optimus-switch/issues/17

X -config /root/xorg.conf.new -retro
sudo Xorg -verbose -config /root/Xorg.conf
nvidia-xconfig --mode nvidia-auto-select

Pb

X: user not authorized to run the X server, aborting.

Solution

/etc/X11/Xwrapper.config

#allowed_users=console
allowed_users=anybody

Valeurs possibles pour allowed_users :

# dpkg-reconfigure x11-common
startx

Trouver le VendorName

Xorg.conf

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection
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

GRUB_CMDLINE_LINUX_DEFAULT="quiet nolapic"
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

[Service]
ExecStartPre=/usr/bin/bash -c 'sleep 1'