On Sat, Jan 18, 2020 at 12:25:31AM +0100, Cliff McDiarmid via blfs-support wrote: > Hi>> I have a problem with a LFS box at startup. I've tracked the problem to > GDM. The kernel starts okay then Xorg stops. I've managed to access the > journal and the error concerns the /var/lib/gdm dir. >I've been unable to solve it. And it keeps happening, i.e I have restored the >system from backup and after a couple of boots the error reoccurs each time >with a core dump. This problem 'just happened' for no >reason. This is the >mystery. > Jan 17 22:11:41 alienware-r17 /usr/libexec/gdm-x-session[3795]: (EE)> Jan 17 > 22:11:41 alienware-r17 /usr/libexec/gdm-x-session[3795]: Fatal server error:> > Jan 17 22:11:41 alienware-r17 /usr/libexec> >/gdm->xsession[3795]: (EE) Cannot open log file "/var/lib/gdm/.local/
>at a guess there is something wrong with that directory >(non-existent, or wrong owner or wrong perms). Possibly >>http://www.mgreene.org/?p=302[http://www.mgreene.org/?p=302] Thanks Ken. That's what I thought originally. Followed those suggestions as part of the 'solving' but it made no difference. Reinsalled GDM. No difference. >Pasting from that, since you cannot run X (note that his log was in >.local/share not .local) >Simple solution, chown -R gdm.gdm /var/lib/gdm This time did: 'chgrp gdm /var/lib/gdm/.local/share' and 'chown gdm /var/lib/gdm/.local/share' drwxrwx--T 6 gdm gdm 4096 Jan 17 22:50 . drwxr-xr-x 31 root root 4096 Jul 10 2019 .. drwx------ 6 gdm gdm 4096 Jan 18 15:34 .cache drwx------ 7 gdm gdm 4096 Apr 1 2019 .config -rw------- 1 root root 16 Apr 1 2019 .esd_auth -rw------- 1 root root 34826 Jan 17 00:24 .ICEauthority drwxr-xr-x 3 root root 4096 Mar 17 2019 .local drwx------ 3 gdm gdm 4096 Apr 1 2019 .nv I don't get the access errors as before but now get: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [ 2.778] (EE) NVIDIA: system's kernel log for additional error messages and [ 2.778] (EE) NVIDIA: consult the NVIDIA README for details. [ 2.779] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [ 2.779] (EE) NVIDIA: system's kernel log for additional error messages and [ 2.779] (EE) NVIDIA: consult the NVIDIA README for details. [ 2.779] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [ 2.779] (EE) NVIDIA: system's kernel log for additional error messages and [ 2.779] (EE) NVIDIA: consult the NVIDIA README for details. [ 2.779] (EE) [drm] Failed to open DRM device for (null): -2 [ 2.779] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -2 [ 2.780] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [ 2.780] (EE) NVIDIA: system's kernel log for additional error messages and [ 2.780] (EE) NVIDIA: consult the NVIDIA README for details. [ 2.780] (EE) [drm] Failed to open DRM device for (null): -2 [ 2.780] (EE) [drm] Failed to open DRM device for (null): -2 [ 2.780] (EE) No devices detected. No apparent reason for this. As mentioned have tried recovering the LFS from backup but the errors return. Cliff -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
