[Xorg] Bug étrange suite au chiffrement de mon Home

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
Mufasa
Hankyu
Messages : 15
Inscription : lun. 02 nov. 2009, 12:00
Localisation : Nanterre

[Xorg] Bug étrange suite au chiffrement de mon Home

Message par Mufasa »

Bonsoir à tous,

J'ai depuis peu chiffré mon Home avec ecryptfs. J'ai suivi le wiki et cela fonctionne plutôt bien, mon Home (/home/seb) étant monté déchiffré directement à l'ouverture de session.
J'utilise mon .zprofile pour monter le home et lancer ma session graphique (si tty1):

Code : Tout sélectionner

mount -i /home/seb;cd /home/seb;
[[ $(tty) == '/dev/tty1' ]] && startx
Comme je le disait le home est bien déchiffré mais xorg plante en revanche.
Là où c'est étrange c'est que si je me relog à la session xorg ne plante plus.

En gros je dois me logger puis me délogger puis me relogger pour avoir une session graphique...

Voici les logs (lorsque cela plante):

Code : Tout sélectionner

[   109.244] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   109.246] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   109.253] Build Operating System: Linux Arch Linux
[   109.256] Current Operating System: Linux Seb-Portable 5.0.7-arch1-1-ARCH #1 SMP PREEMPT Mon Apr 8 10:37:08 UTC 2019 x86_64
[   109.256] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=7bd790dc-99f6-4d82-b62a-35097fa55ea2 rw ipv6.disable=1 quiet splash
[   109.258] Build Date: 27 February 2019  04:04:00PM
[   109.259]  
[   109.262] Current version of pixman: 0.38.4
[   109.266] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   109.266] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   109.273] (==) Log file: "/home/seb/.local/share/xorg/Xorg.0.log", Time: Mon Apr 22 19:48:54 2019
[   109.282] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   109.284] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   109.285] (==) No Layout section.  Using the first Screen section.
[   109.285] (==) No screen section available. Using defaults.
[   109.285] (**) |-->Screen "Default Screen Section" (0)
[   109.285] (**) |   |-->Monitor "<default monitor>"
[   109.286] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   109.286] (==) Automatically adding devices
[   109.286] (==) Automatically enabling devices
[   109.286] (==) Automatically adding GPU devices
[   109.286] (==) Automatically binding GPU devices
[   109.286] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   109.289] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   109.289] 	Entry deleted from font path.
[   109.289] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   109.289] 	Entry deleted from font path.
[   109.289] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   109.289] 	Entry deleted from font path.
[   109.289] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   109.289] 	Entry deleted from font path.
[   109.289] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   109.289] 	Entry deleted from font path.
[   109.289] (==) FontPath set to:
	/usr/share/fonts/TTF
[   109.289] (==) ModulePath set to "/usr/lib/xorg/modules"
[   109.289] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   109.289] (II) Module ABI versions:
[   109.289] 	X.Org ANSI C Emulation: 0.4
[   109.289] 	X.Org Video Driver: 24.0
[   109.289] 	X.Org XInput driver : 24.1
[   109.289] 	X.Org Server Extension : 10.0
[   109.290] (++) using VT number 1

[   109.291] (EE) systemd-logind: failed to get session: PID 633 does not belong to any known session
[   109.291] (II) xfree86: Adding drm device (/dev/dri/card0)
[   109.293] (--) PCI:*(0@0:2:0) 8086:1916:1028:06dc rev 7, Mem @ 0xe0000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   109.293] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   109.293] (II) LoadModule: "glx"
[   109.299] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   109.310] (II) Module glx: vendor="X.Org Foundation"
[   109.310] 	compiled for 1.20.4, module version = 1.0.0
[   109.310] 	ABI class: X.Org Server Extension, version 10.0
[   109.310] (==) Matched intel as autoconfigured driver 0
[   109.310] (==) Matched modesetting as autoconfigured driver 1
[   109.310] (==) Matched fbdev as autoconfigured driver 2
[   109.310] (==) Matched vesa as autoconfigured driver 3
[   109.310] (==) Assigned the driver to the xf86ConfigLayout
[   109.310] (II) LoadModule: "intel"
[   109.311] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   109.315] (II) Module intel: vendor="X.Org Foundation"
[   109.316] 	compiled for 1.20.4, module version = 2.99.917
[   109.316] 	Module class: X.Org Video Driver
[   109.316] 	ABI class: X.Org Video Driver, version 24.0
[   109.316] (II) LoadModule: "modesetting"
[   109.316] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   109.319] (II) Module modesetting: vendor="X.Org Foundation"
[   109.320] 	compiled for 1.20.4, module version = 1.20.4
[   109.320] 	Module class: X.Org Video Driver
[   109.320] 	ABI class: X.Org Video Driver, version 24.0
[   109.320] (II) LoadModule: "fbdev"
[   109.320] (WW) Warning, couldn't open module fbdev
[   109.320] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   109.320] (II) LoadModule: "vesa"
[   109.320] (WW) Warning, couldn't open module vesa
[   109.320] (EE) Failed to load module "vesa" (module does not exist, 0)
[   109.320] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   109.321] (II) intel: Driver for Intel(R) HD Graphics
[   109.321] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   109.321] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   109.321] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   109.321] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   109.321] (EE) open /dev/dri/card0: Permission denied
[   109.321] (WW) Falling back to old probe method for modesetting
[   109.321] (EE) open /dev/dri/card0: Permission denied
[   109.321] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   109.321] (EE) Screen 0 deleted because of no matching config section.
[   109.321] (II) UnloadModule: "modesetting"
[   109.321] (EE) Device(s) detected, but none match those in the config file.
[   109.321] (EE) 
Fatal server error:
[   109.321] (EE) no screens found(EE) 
[   109.322] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   109.322] (EE) Please also check the log file at "/home/seb/.local/share/xorg/Xorg.0.log" for additional information.
[   109.322] (EE) 
[   109.372] (EE) Server terminated with error (1). Closing log file.

J'ai comparé aux logs quand cela fonctionne et la première ligne qui diffère semble être: [ 109.321] (EE) open /dev/dri/card0: Permission denied

Je suis perdu. Cette erreur est visiblement liée au chiffrement du home mais vu que celui ci est monté automatiquement j'imagine que c'est peut être une question de priorités mal gérées.

Merci d'avance pour votre aide.

Seb.
Répondre