You are not logged in.

#1 2018-06-06 07:11:08

h.safe
Member
Registered: 2016-08-01
Posts: 31

[SOLVED]GDM does not log me in to any DE except Gnome-shell

Hi all,
I am in the process of setting up and personalizing my new laptop. I had already installed the MATE DE for the past week but this weekend tried many updates and package installation to migrate to my new laptop.
I encountered a strange issue after a final update and reboot and can not trace it back to what changes caused it:
Upon reboot the gdm screen does not log me into the MATE DE and kicks me back to login screen ;so is the same for Gnome classic. I can now only log in to the GnomeShell. I found a solution for the same exact symptom in Fedroa 25 community:(Trying to uncomment WaylandEnable=false in /etc/gdm/custom.conf but the PC failed to boot properly and had to boot-live and chroot to it to remove the conf and back to gdm again.
There were other suggestions in Arch BBS regarding the hostname which is not my case and all are fine. Here is the only possible log could think related in journalctl at the time of logging:

un 06 11:45:22 thinkt470 org.gnome.Shell.desktop[806]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 06 11:45:22 thinkt470 org.gnome.Shell.desktop[806]: > Internal error:   Could not resolve keysym XF86WWAN
Jun 06 11:45:22 thinkt470 org.gnome.Shell.desktop[806]: > Internal error:   Could not resolve keysym XF86RFKill
Jun 06 11:45:22 thinkt470 org.gnome.Shell.desktop[806]: Errors from xkbcomp are not fatal to the X server
Jun 06 11:45:35 thinkt470 gnome-shell[806]: Object Clutter.Clone (0x55c3091ef7f0), has been already finalized. Impossible to get any property from it.

Last edited by h.safe (2018-06-06 17:39:45)


Why did Bodhidharma come from the west?

Offline

#2 2018-06-06 08:12:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

Which hardware? Gnomeshell uses Wayland by default, if you have incorrectly/not yet configured Xorg properly it won't be able to start. FWIW post an entire untruncated xorg.log (or rather fwiw an untruncated journalctl -b as well as

lspci -k

use [ code ] tags to post them.

Last edited by V1del (2018-06-06 08:12:44)

Offline

#3 2018-06-06 09:58:04

h.safe
Member
Registered: 2016-08-01
Posts: 31

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

@V1del
Thanks replying...first please note that for a week the MATE DE worked fine so the x11 was correctly configured ...at least to the date...
Here is the HWlist:

[hsafe@thinkt470 ~]$ lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
	Subsystem: Lenovo Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:01.2 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x4) (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
	Subsystem: Lenovo Device 505e
	Kernel driver in use: i915
	Kernel modules: i915
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
	Subsystem: Lenovo Sunrise Point-H USB 3.0 xHCI Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
	Subsystem: Lenovo Sunrise Point-H Thermal subsystem
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
	Subsystem: Lenovo Sunrise Point-H CSME HECI
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
	Subsystem: Lenovo Sunrise Point-H SATA Controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
	Subsystem: Lenovo Sunrise Point-H LPC Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
	Subsystem: Lenovo Sunrise Point-H PMC
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
	Subsystem: Lenovo CM238 HD Audio Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
	Subsystem: Lenovo Sunrise Point-H SMBus
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (5) I219-V (rev 31)
	Subsystem: Lenovo Ethernet Connection (5) I219-V
	Kernel driver in use: e1000e
	Kernel modules: e1000e
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
	Subsystem: Lenovo GM108M [GeForce 940MX]
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
	Subsystem: Intel Corporation Wireless 8265 / 8275
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
	Subsystem: Lenovo RTS522A PCI Express Card Reader
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

Why did Bodhidharma come from the west?

Offline

#4 2018-06-06 10:54:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

You have an Optimus system, the symptoms you describe match with not having that configured properly. Did you just recently install the nvidia driver as opposed to nouveau? That would explain this difference in behaviour. Read https://wiki.archlinux.org/index.php/NVIDIA_Optimus for information on common approaches. If that doesn't help post the other requested logs as well as a pacman.log so we can determine what "a week ago" actually means for your system.

Offline

#5 2018-06-06 16:10:15

h.safe
Member
Registered: 2016-08-01
Posts: 31

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

I did some work around and to answer your question I did fiddle with nvidia/bumblebee/nouveau  primarily to enable the shutting down of the Nvidia GPU to save up battery life. However what makes it really tough to fathom is the time I spent as said earlier to personalize the pc with many package installation from Kubernetes to Xorg fonts ...
Now I suspected the mess with the Xorg/gdm and can see the below messages in journalctl as:

Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (II) LoadModule: "nvidia"
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (II) Module nvidia: vendor="NVIDIA Corporation"
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]:         compiled for 4.0.2, module version = 1.0.0
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]:         Module class: X.Org Video Driver
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (II) NVIDIA dlloader X Driver  396.24  Wed Apr 25 22:53:34 PDT 2018
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE) No devices detected.
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE)
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: Fatal server error:
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE) no screens found(EE)
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE)
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: Please consult the The X.Org Foundation support
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]:          at http://wiki.x.org
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]:  for help.
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE) Please also check the log file at "/home/hsafe/.local/share/xorg/Xorg.0.log" for additional information.
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE)
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: (EE) Server terminated with error (1). Closing log file.
Jun 06 19:28:39 thinkt470 /usr/lib/gdm-x-session[1257]: Unable to run X server
Jun 06 19:28:39 thinkt470 gdm-password][1241]: pam_unix(gdm-password:session): session closed for user hsafe

and also this at /home/hsafe/.local/share/xorg/Xorg.0.log

[    86.048] 	ABI class: X.Org Server Extension, version 10.0
[    86.048] (II) LoadModule: "nvidia"
[    86.048] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    86.048] (II) Module nvidia: vendor="NVIDIA Corporation"
[    86.048] 	compiled for 4.0.2, module version = 1.0.0
[    86.048] 	Module class: X.Org Video Driver
[    86.048] (II) NVIDIA dlloader X Driver  396.24  Wed Apr 25 22:53:34 PDT 2018
[    86.048] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    86.048] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    86.048] (EE) No devices detected.
[    86.048] (EE) 
Fatal server error:
[    86.048] (EE) no screens found(EE) 
[    86.048] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    86.048] (EE) Please also check the log file at "/home/hsafe/.local/share/xorg/Xorg.0.log" for additional information.
[    86.048] (EE) 
[    86.059] (EE) Server terminated with error (1). Closing log file.

Why did Bodhidharma come from the west?

Offline

#6 2018-06-06 16:20:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

Elaborate on fiddling. Did you create any xorg configs manually? Properly configured your nvidia adapter should be unloaded and not in use during normal xorg startup. FWIW GDM has a history of messing with this, can you reproduce on another DM/ just startx ? Also please post complete untruncated log files, a lot of important context gets lost with mere snippets. What's the output of

systemctl status bumblebeed
dmesg | grep bbswitch

Offline

#7 2018-06-06 17:04:27

h.safe
Member
Registered: 2016-08-01
Posts: 31

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

No not really, no specific xorg config files created or canged except running the command: nvidia-xconfig ; and am not using any other DM.
Output FYI:
systemctl status bumblebeed:

[hsafe@thinkt470 ~]$ systemctl status bumblebeed -l
* bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-06-06 21:26:05 UTC; 1min 51s ago
 Main PID: 491 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 1.7M
   CGroup: /system.slice/bumblebeed.service
           `-491 /usr/bin/bumblebeed

and dmesg|grep bbswitch

[chsafe@thinkt470 ~]$ dmesg |grep bbswitch
[   10.736762] bbswitch: loading out-of-tree module taints kernel.
[   10.737019] bbswitch: version 0.8
[   10.737023] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   10.737026] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG2.PEGP
[   10.737116] bbswitch: detected an Optimus _DSM function
[   10.737193] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is on
[   10.738351] bbswitch: disabling discrete graphic

Why did Bodhidharma come from the west?

Offline

#8 2018-06-06 17:31:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

nvidia-xconfig

And that's where the problem lies. Remove the config it generated. You will notice that there's not a single mention of that anywhere in the bumblebee article, so don't use it.

Also this would've been much more noticable with a complete xorg log, so please post complete logs in the future.

Should the issue persist despite that, repost a new xorg.log

Last edited by V1del (2018-06-06 17:34:20)

Offline

#9 2018-06-06 17:34:54

h.safe
Member
Registered: 2016-08-01
Posts: 31

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell


Why did Bodhidharma come from the west?

Offline

#10 2018-06-06 17:39:06

h.safe
Member
Registered: 2016-08-01
Posts: 31

Re: [SOLVED]GDM does not log me in to any DE except Gnome-shell

@V1del Thanks a lot bearing with me and the issue is indeed fixed ...Cheers


Why did Bodhidharma come from the west?

Offline

Board footer

Powered by FluxBB