GDM login loop - fresh install

Hi All!

I installed tumbleweed after downloading the net-installer today, and everything seems to be fine, but I cannot login to X (neither gnome nor icewm session), after I provide the right username/password, the screen goes black for a short period (maybe less, than 1s), then I’m back at the login screen.

It’s an acer travelmate, having an nvidia gt520m videocard.
Here are some relevant logs form Xorg.1.log (Sorry, it’s a bit long):


X.Org X Server 1.19.6
Release Date: 2017-12-20
   559.732] X Protocol Version 11, Revision 0
   559.732] Build Operating System: openSUSE SUSE LINUX
   559.732] Current Operating System: Linux linux-ejj6 4.15.0-1-default #1 SMP PREEMPT Wed Jan 31 07:03:28 UTC 2018 (ac01747) x86_64
   559.732] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1-default root=UUID=a015fc02-11d0-4ead-bfc4-dae2e616395e nomodeset resume=/dev/disk/by-id/ata-ST500LT012-1DG142_W3PPR76V-part4 quiet showopts nomodeset
   559.732] Build Date: 20 January 2018  01:51:08PM
   559.732]  
   559.732] Current version of pixman: 0.34.0
   559.732]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
   559.732] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   559.732] (==) Log file: "/home/emilio/.local/share/xorg/Xorg.1.log", Time: Sun Feb  4 17:12:55 2018
   559.732] (==) Using config directory: "/etc/X11/xorg.conf.d"
   559.732] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
   559.732] (==) No Layout section.  Using the first Screen section.
   559.732] (==) No screen section available. Using defaults.
   559.732] (**) |-->Screen "Default Screen Section" (0)
   559.732] (**) |   |-->Monitor "<default monitor>"
   559.733] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
   559.733] (==) Automatically adding devices
   559.733] (==) Automatically enabling devices
   559.733] (==) Automatically adding GPU devices
   559.733] (==) Max clients allowed: 256, resource mask: 0x1fffff
   559.733] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
   559.733]     Entry deleted from font path.
   559.733] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
   559.733] (==) ModulePath set to "/usr/lib64/xorg/modules"
   559.733] (**) Extension "XFree86-DGA" is disabled
   559.733] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
   559.733] (II) Loader magic: 0x563c0c029d00
   559.733] (II) Module ABI versions:
   559.733]     X.Org ANSI C Emulation: 0.4
   559.733]     X.Org Video Driver: 23.0
   559.733]     X.Org XInput driver : 24.1
   559.733]     X.Org Server Extension : 10.0
   559.734] (++) using VT number 2

   559.737] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
   559.740] (--) PCI:*(0:0:2:0) 8086:0116:1025:0507 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
   559.741] (--) PCI: (0:1:0:0) 10de:1050:1025:0507 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128
   559.741] (II) LoadModule: "glx"
   559.741] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
   559.742] (II) Module glx: vendor="X.Org Foundation"
   559.742]     compiled for 1.19.6, module version = 1.0.0
   559.742]     ABI class: X.Org Server Extension, version 10.0
   559.742] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers
   559.742] (==) Matched intel as autoconfigured driver 0
   559.742] (==) Matched modesetting as autoconfigured driver 1
   559.742] (==) Matched fbdev as autoconfigured driver 2
   559.742] (==) Matched vesa as autoconfigured driver 3
   559.742] (==) Assigned the driver to the xf86ConfigLayout
   559.742] (II) LoadModule: "intel"
   559.743] (WW) Warning, couldn't open module intel
   559.743] (II) UnloadModule: "intel"
   559.743] (II) Unloading intel
   559.743] (EE) Failed to load module "intel" (module does not exist, 0)
   559.743] (II) LoadModule: "modesetting"
   559.743] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
   559.743] (II) Module modesetting: vendor="X.Org Foundation"
   559.743]     compiled for 1.19.6, module version = 1.19.6
   559.743]     Module class: X.Org Video Driver
   559.743]     ABI class: X.Org Video Driver, version 23.0
   559.743] (II) LoadModule: "fbdev"
   559.743] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
   559.743] (II) Module fbdev: vendor="X.Org Foundation"
   559.743]     compiled for 1.19.3, module version = 0.4.4
   559.743]     Module class: X.Org Video Driver
   559.743]     ABI class: X.Org Video Driver, version 23.0
   559.743] (II) LoadModule: "vesa"
   559.743] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
   559.743] (II) Module vesa: vendor="X.Org Foundation"
   559.743]     compiled for 1.19.3, module version = 2.3.4
   559.743]     Module class: X.Org Video Driver
   559.743]     ABI class: X.Org Video Driver, version 23.0
   559.743] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
   559.744] (II) FBDEV: driver for framebuffer: fbdev
   559.744] (II) VESA: driver for VESA chipsets: vesa
   559.744] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
   559.744] (EE) open /dev/dri/card0: No such file or directory
   559.744] (WW) Falling back to old probe method for modesetting
   559.744] (EE) open /dev/dri/card0: No such file or directory
   559.744] (II) Loading sub module "fbdevhw"
   559.744] (II) LoadModule: "fbdevhw"
   559.744] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
   559.744] (II) Module fbdevhw: vendor="X.Org Foundation"
   559.744]     compiled for 1.19.6, module version = 0.0.2
   559.744]     ABI class: X.Org Video Driver, version 23.0
   559.744] (EE) open /dev/fb0: Permission denied
   559.744] (WW) Falling back to old probe method for fbdev
   559.744] (II) Loading sub module "fbdevhw"
   559.744] (II) LoadModule: "fbdevhw"
   559.744] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
   559.744] (II) Module fbdevhw: vendor="X.Org Foundation"
   559.744]     compiled for 1.19.6, module version = 0.0.2
   559.744]     ABI class: X.Org Video Driver, version 23.0
   559.744] (EE) open /dev/fb0: Permission denied
   559.744] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
   559.744] (EE) Screen 0 deleted because of no matching config section.
   559.744] (II) UnloadModule: "modesetting"
   559.744] (EE) Screen 0 deleted because of no matching config section.
   559.744] (II) UnloadModule: "fbdev"
   559.744] (II) UnloadSubModule: "fbdevhw"
   559.745] (II) Loading sub module "vbe"
   559.745] (II) LoadModule: "vbe"
   559.745] (II) Loading /usr/lib64/xorg/modules/libvbe.so
   559.745] (II) Module vbe: vendor="X.Org Foundation"
   559.745]     compiled for 1.19.6, module version = 1.1.0
   559.745]     ABI class: X.Org Video Driver, version 23.0
   559.745] (II) Loading sub module "int10"
   559.745] (II) LoadModule: "int10"
   559.745] (II) Loading /usr/lib64/xorg/modules/libint10.so
   559.745] (II) Module int10: vendor="X.Org Foundation"
   559.745]     compiled for 1.19.6, module version = 1.0.0
   559.745]     ABI class: X.Org Video Driver, version 23.0
   559.745] (II) VESA(0): initializing int10
   559.746] (EE) VESA(0): Cannot read int vect
   559.746] (II) UnloadModule: "vesa"
   559.746] (II) UnloadSubModule: "int10"
   559.746] (II) Unloading int10
   559.746] (II) UnloadSubModule: "vbe"
   559.746] (II) Unloading vbe
   559.746] (EE) Screen(s) found, but none have a usable configuration.
   559.746] (EE) 
Fatal server error:
   559.746] (EE) no screens found(EE) 
   559.746] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
   559.746] (EE) Please also check the log file at "/home/emilio/.local/share/xorg/Xorg.1.log" for additional information.
   559.746] (EE) 
   559.750] (EE) Server terminated with error (1). Closing log file.

I’ve gone through at least a dozen topics here, which seem to be related, but to no avail.
I’ve tried:

  • nomodeset and nouveau.modeset=0 as a grub edit at boot time
  • installing nvidia drivers
  • reinstalling gnome-shell
  • deleting Xauth file from user home

I would appreciate any feedback! I’m sure that the info provided won’t be enough, so just let me know if anything is needed!
Thanks in advance!
Cheers!

From the output it looks like you have both an Intel and an NVIDIA graphics card. Installing the NVIDIA drivers just like that will not help.

Thanks for the answer! Yes, I forgot to mention, that there is also an integrated intel card. Should I try bumblebee?

I’d have a look to disable either one first through the BIOS.

Unfortunately, there’s no option for it.

Wait for others to jump in, I can’t test dual graphics anymore, since my current laptop doesn’t have any

Ok, thank you anyway!

You need to remove that “nomodeset” from the kernel command line, to make the intel kernel (and Xorg’s modesetting) driver work.

GNOME is not going to start with the VESA driver… :wink: (mainly because that would need Xorg running as root, but GDM runs it as non-provileged user since a while, hence the “permission denied” errors in the log)

By default, it’s without “nomodeset”, I’ve tried again, here is the log file, but for me, it seems roughly the same:

  1382.961] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
  1382.961] _XSERVTransMakeAllCOTSServerListeners: server already running
  1382.963] (--) Log file renamed from "/home/emilio/.local/share/xorg/Xorg.pid-2853.log" to "/home/emilio/.local/share/xorg/Xorg.1.log"
  1382.964] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
  1382.964] X Protocol Version 11, Revision 0
  1382.964] Build Operating System: openSUSE SUSE LINUX
  1382.964] Current Operating System: Linux linux-ejj6 4.15.0-1-default #1 SMP PREEMPT Wed Jan 31 07:03:28 UTC 2018 (ac01747) x86_64
  1382.964] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1-default root=UUID=a015fc02-11d0-4ead-bfc4-dae2e616395e nomodeset resume=/dev/disk/by-id/ata-ST500LT012-1DG142_W3PPR76V-part4 splash=silent quiet showopts
  1382.965] Build Date: 20 January 2018  01:51:08PM
  1382.965]  
  1382.965] Current version of pixman: 0.34.0
  1382.965]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
  1382.965] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  1382.965] (==) Log file: "/home/emilio/.local/share/xorg/Xorg.1.log", Time: Mon Feb  5 17:59:43 2018
  1382.965] (==) Using config directory: "/etc/X11/xorg.conf.d"
  1382.965] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
  1382.966] (==) No Layout section.  Using the first Screen section.
  1382.966] (==) No screen section available. Using defaults.
  1382.966] (**) |-->Screen "Default Screen Section" (0)
  1382.966] (**) |   |-->Monitor "<default monitor>"
  1382.967] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
  1382.967] (==) Automatically adding devices
  1382.967] (==) Automatically enabling devices
  1382.967] (==) Automatically adding GPU devices
  1382.967] (==) Max clients allowed: 256, resource mask: 0x1fffff
  1382.967] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
  1382.967]     Entry deleted from font path.
  1382.967] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
  1382.967] (==) ModulePath set to "/usr/lib64/xorg/modules"
  1382.967] (**) Extension "XFree86-DGA" is disabled
  1382.967] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
  1382.967] (II) Loader magic: 0x558e946d6d00
  1382.967] (II) Module ABI versions:
  1382.967]     X.Org ANSI C Emulation: 0.4
  1382.967]     X.Org Video Driver: 23.0
  1382.967]     X.Org XInput driver : 24.1
  1382.967]     X.Org Server Extension : 10.0
  1382.970] (++) using VT number 2

  1382.973] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
  1382.975] (--) PCI:*(0:0:2:0) 8086:0116:1025:0507 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
  1382.976] (--) PCI: (0:1:0:0) 10de:1050:1025:0507 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128
  1382.976] (II) LoadModule: "glx"
  1382.976] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
  1382.977] (II) Module glx: vendor="X.Org Foundation"
  1382.977]     compiled for 1.19.6, module version = 1.0.0
  1382.977]     ABI class: X.Org Server Extension, version 10.0
  1382.977] (II) Scanning /etc/X11/xorg_pci_ids directory for additional PCI ID's supported by the drivers
  1382.977] (==) Matched intel as autoconfigured driver 0
  1382.977] (==) Matched modesetting as autoconfigured driver 1
  1382.977] (==) Matched fbdev as autoconfigured driver 2
  1382.977] (==) Matched vesa as autoconfigured driver 3
  1382.977] (==) Assigned the driver to the xf86ConfigLayout
  1382.977] (II) LoadModule: "intel"
  1382.977] (WW) Warning, couldn't open module intel
  1382.977] (II) UnloadModule: "intel"
  1382.977] (II) Unloading intel
  1382.977] (EE) Failed to load module "intel" (module does not exist, 0)
  1382.977] (II) LoadModule: "modesetting"
  1382.977] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
  1382.977] (II) Module modesetting: vendor="X.Org Foundation"
  1382.977]     compiled for 1.19.6, module version = 1.19.6
  1382.977]     Module class: X.Org Video Driver
  1382.977]     ABI class: X.Org Video Driver, version 23.0
  1382.977] (II) LoadModule: "fbdev"
  1382.977] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
  1382.977] (II) Module fbdev: vendor="X.Org Foundation"
  1382.977]     compiled for 1.19.3, module version = 0.4.4
  1382.977]     Module class: X.Org Video Driver
  1382.977]     ABI class: X.Org Video Driver, version 23.0
  1382.977] (II) LoadModule: "vesa"
  1382.977] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
  1382.977] (II) Module vesa: vendor="X.Org Foundation"
  1382.977]     compiled for 1.19.3, module version = 2.3.4
  1382.977]     Module class: X.Org Video Driver
  1382.977]     ABI class: X.Org Video Driver, version 23.0
  1382.977] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
  1382.978] (II) FBDEV: driver for framebuffer: fbdev
  1382.978] (II) VESA: driver for VESA chipsets: vesa
  1382.978] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
  1382.978] (EE) open /dev/dri/card0: No such file or directory
  1382.978] (WW) Falling back to old probe method for modesetting
  1382.978] (EE) open /dev/dri/card0: No such file or directory
  1382.978] (II) Loading sub module "fbdevhw"
  1382.978] (II) LoadModule: "fbdevhw"
  1382.978] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
  1382.978] (II) Module fbdevhw: vendor="X.Org Foundation"
  1382.978]     compiled for 1.19.6, module version = 0.0.2
  1382.978]     ABI class: X.Org Video Driver, version 23.0
  1382.978] (EE) open /dev/fb0: Permission denied
  1382.978] (WW) Falling back to old probe method for fbdev
  1382.978] (II) Loading sub module "fbdevhw"
  1382.978] (II) LoadModule: "fbdevhw"
  1382.978] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
  1382.978] (II) Module fbdevhw: vendor="X.Org Foundation"
  1382.978]     compiled for 1.19.6, module version = 0.0.2
  1382.978]     ABI class: X.Org Video Driver, version 23.0
  1382.978] (EE) open /dev/fb0: Permission denied
  1382.978] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
  1382.978] (EE) Screen 0 deleted because of no matching config section.
  1382.978] (II) UnloadModule: "modesetting"
  1382.978] (EE) Screen 0 deleted because of no matching config section.
  1382.978] (II) UnloadModule: "fbdev"
  1382.978] (II) UnloadSubModule: "fbdevhw"
  1382.978] (II) Loading sub module "vbe"
  1382.978] (II) LoadModule: "vbe"
  1382.978] (II) Loading /usr/lib64/xorg/modules/libvbe.so
  1382.998] (II) Module vbe: vendor="X.Org Foundation"
  1382.998]     compiled for 1.19.6, module version = 1.1.0
  1382.998]     ABI class: X.Org Video Driver, version 23.0
  1382.998] (II) Loading sub module "int10"
  1382.998] (II) LoadModule: "int10"
  1382.998] (II) Loading /usr/lib64/xorg/modules/libint10.so
  1383.000] (II) Module int10: vendor="X.Org Foundation"
  1383.000]     compiled for 1.19.6, module version = 1.0.0
  1383.000]     ABI class: X.Org Video Driver, version 23.0
  1383.000] (II) VESA(0): initializing int10
  1383.001] (EE) VESA(0): Cannot read int vect
  1383.001] (II) UnloadModule: "vesa"
  1383.001] (II) UnloadSubModule: "int10"
  1383.001] (II) Unloading int10
  1383.001] (II) UnloadSubModule: "vbe"
  1383.001] (II) Unloading vbe
  1383.001] (EE) Screen(s) found, but none have a usable configuration.
  1383.001] (EE) 
Fatal server error:
  1383.001] (EE) no screens found(EE) 
  1383.001] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
  1383.001] (EE) Please also check the log file at "/home/emilio/.local/share/xorg/Xorg.1.log" for additional information.
  1383.001] (EE) 
  1383.006] (EE) Server terminated with error (1). Closing log file.

It is indeed the same, including the “nomodeset”…

  1382.961] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
  1382.961] _XSERVTransMakeAllCOTSServerListeners: server already running
  1382.963] (--) Log file renamed from "/home/emilio/.local/share/xorg/Xorg.pid-2853.log" to "/home/emilio/.local/share/xorg/Xorg.1.log"
  1382.964] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
  1382.964] X Protocol Version 11, Revision 0
  1382.964] Build Operating System: openSUSE SUSE LINUX
  1382.964] Current Operating System: Linux linux-ejj6 4.15.0-1-default #1 SMP PREEMPT Wed Jan 31 07:03:28 UTC 2018 (ac01747) x86_64
  1382.964] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1-default root=UUID=a015fc02-11d0-4ead-bfc4-dae2e616395e nomodeset resume=/dev/disk/by-id/ata-ST500LT012-1DG142_W3PPR76V-part4 splash=silent quiet showopts

Ugh, that’s really embarrassing… Sorry about that, I will check tomorrow, and make sure to boot without it…

Change that in Yast=>Bootloader

If you only edit the command line in Grub when you are booting, that change is only temporary.

You can, of course, also edit /etc/default/grub and remove “nomodeset” from

GRUB_CMDLINE_LINUX_DEFAULT

and then run

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

This “nomodeset” getting left in grub.cfg seems to be causing a fair few problems, it caused my issues with OpenGL running really slowly, as per my post

https://forums.opensuse.org/showthread.php/529447-Mesa-OpenGL-on-Intel-HD5500-Lenovo-Z70-laptop

and it’s causing new installs not to be able to login with GDM

  • which I now see apparently has the same cause.

I fixed that by installing lightdm and xfce4 anyway, and not noticing “nomodeset” for a few days, until I started digging into the OpenGL/ Mesa problems I was having.

Perhaps it needs a sticky post warning to look for nomodeset, in Xorg.0.log grub.cfg and /etcdefault/grub

Is it just an Intel graphics card problem?

Ok guys, thanks for your help, removing “nomodeset” from the grub entry solved my problem! :slight_smile:

One interesting note is that I could only install tumbleweed by using nomodeset, because otherwise the installer always froze after selecting the language or hitting “next”.

Cheers!

try rm /home//.Xauth

No.

All KMS drivers get disabled when using nomodeset, that includes intel, radeon, and nouveau.
And without the kernel drivers, also hardware acceleration won’t work, so OpenGL will be done in software which is slow.

And yes, if you specify “nomodeset” for the installer, it will be taken over into the installed system.