Can't login with X11 - which package to install?

Hi,
so far, I’m using wayland and I’m happy with it. But I have a problem with MS Teams to share my desktop. I think the problem is Teams not supporting wayland in this aspect. Therefore, I tried to login with X11 via the options Gnome Classic and Gnome under Xorg. Unfortunately I can’t login with these two login options. I get immediately the login button back.

I have this behaviour on two notebooks running Manjaro stable. On a third notebook running Manjaro stable, I have also installed XFCE and there I can login with X11. So I’m pretty sure it’s a matter of a missing package.

So my question is: what package(s) do I need to install to be able to login with X11?

Hello,

Log in wayland session and disable extensions, then log out and log in using Gnome under Xorg.

XFCE is using a different compositor and does not start Gnome extensions.

Thanks for your quick answer!
I tried your suggestion, but I still can only login with Gnome (Wayland)! If I use the other two options I have the same reported behaviour.

And if you log out, switch to TTY, log in there and run startx - what is the error?

This is what I get:

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: Linux Manjaro Linux
Current Operating System: Linux lt 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64 root=UUID=58e0ebf5-9c8b-465a-9f61-39e718050447 rw quiet splash apparmor=1 security=apparmor resume=UUID=b46944a1-a51d-46d5-8775-2c0c25714f5d udev.log_priority=3
Build Date: 24 August 2021  10:21:29AM
 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/aaa/.local/share/xorg/Xorg.0.log", Time: Sun Oct 31 13:10:19 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
vesa: Refusing to run on UEFI
vesa: Refusing to run on UEFI
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/aaa/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Is this with AMD GPU? Quite unclear, also not present on your user description, hence i only speculate that you might have to make use of early KMS Kernel mode setting - ArchWiki
add inside /etc/mkinitcpio.conf to the MODULES line:

MODULES=(amdgpu)

But probably best to share more info about your system, as described here:

Please post the contents of that log file after a failed login attempt.

Here is the content of the log file:

[   441.473] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   441.474] 
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[   441.474] Build Operating System: Linux Manjaro Linux
[   441.474] Current Operating System: Linux lt 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64
[   441.474] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64 root=UUID=58e0ebf5-9c8b-465a-9f61-39e718050447 rw quiet splash apparmor=1 security=apparmor resume=UUID=b46944a1-a51d-46d5-8775-2c0c25714f5d udev.log_priority=3
[   441.474] Build Date: 24 August 2021  10:21:29AM
[   441.474]  
[   441.474] Current version of pixman: 0.40.0
[   441.474] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   441.474] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   441.475] (==) Log file: "/home/aaa/.local/share/xorg/Xorg.0.log", Time: Sun Oct 31 13:10:19 2021
[   441.475] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   441.475] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   441.475] (==) No Layout section.  Using the first Screen section.
[   441.475] (==) No screen section available. Using defaults.
[   441.475] (**) |-->Screen "Default Screen Section" (0)
[   441.475] (**) |   |-->Monitor "<default monitor>"
[   441.475] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   441.475] (**) |   |-->Device "Device0"
[   441.475] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   441.476] (==) Automatically adding devices
[   441.476] (==) Automatically enabling devices
[   441.476] (==) Automatically adding GPU devices
[   441.476] (==) Automatically binding GPU devices
[   441.476] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   441.476] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   441.476] 	Entry deleted from font path.
[   441.476] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   441.476] 	Entry deleted from font path.
[   441.476] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   441.476] 	Entry deleted from font path.
[   441.476] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   441.476] 	Entry deleted from font path.
[   441.476] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   441.476] 	Entry deleted from font path.
[   441.476] (==) FontPath set to:
	/usr/share/fonts/TTF
[   441.476] (==) ModulePath set to "/usr/lib/xorg/modules"
[   441.476] (**) Extension "Composite" is enabled
[   441.476] (**) Extension "RENDER" is enabled
[   441.476] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   441.476] (II) Module ABI versions:
[   441.476] 	X.Org ANSI C Emulation: 0.4
[   441.476] 	X.Org Video Driver: 24.1
[   441.476] 	X.Org XInput driver : 24.1
[   441.476] 	X.Org Server Extension : 10.0
[   441.478] (++) using VT number 2

[   441.484] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[   441.486] (II) xfree86: Adding drm device (/dev/dri/card0)
[   441.488] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   441.493] (--) PCI:*(6@0:0:0) 1002:1636:17aa:5082 rev 209, Mem @ 0x860000000/268435456, 0x870000000/2097152, 0xfd300000/524288, I/O @ 0x00001000/256
[   441.493] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   441.493] (II) LoadModule: "glx"
[   441.494] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   441.495] (II) Module glx: vendor="X.Org Foundation"
[   441.495] 	compiled for 1.20.13, module version = 1.0.0
[   441.495] 	ABI class: X.Org Server Extension, version 10.0
[   441.495] (II) LoadModule: "vesa"
[   441.495] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   441.495] (II) Module vesa: vendor="X.Org Foundation"
[   441.495] 	compiled for 1.20.9, module version = 2.5.0
[   441.495] 	Module class: X.Org Video Driver
[   441.495] 	ABI class: X.Org Video Driver, version 24.1
[   441.495] (II) VESA: driver for VESA chipsets: vesa
[   441.496] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   441.496] vesa: Refusing to run on UEFI
[   441.496] vesa: Refusing to run on UEFI
[   441.496] (EE) No devices detected.
[   441.496] (EE) 
Fatal server error:
[   441.496] (EE) no screens found(EE) 
[   441.496] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   441.496] (EE) Please also check the log file at "/home/aaa/.local/share/xorg/Xorg.0.log" for additional information.
[   441.496] (EE) 
[   441.542] (EE) Server terminated with error (1). Closing log file.

By the way:
I have the exact same behaviour on a Lenovo T14S with AMD Ryzen 4750Pro and on an old Lenovo T460 with Intel Core i7-6600U CPU.
Here is the Xorg.0.log file from the T460 with Intel CPU:

[  3812.028] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  3812.028] 
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[  3812.028] Build Operating System: Linux Manjaro Linux
[  3812.028] Current Operating System: Linux lt27 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64
[  3812.028] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64 root=UUID=8a4f1c18-35e3-4721-903f-8fae0790e375 rw quiet splash apparmor=1 security=apparmor resume=UUID=b119283c-40b2-46d4-9d9a-9509d66a7391 udev.log_priority=3
[  3812.028] Build Date: 24 August 2021  10:21:29AM
[  3812.028]  
[  3812.028] Current version of pixman: 0.40.0
[  3812.028] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  3812.028] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3812.028] (==) Log file: "/home/bbb/.local/share/xorg/Xorg.0.log", Time: Sun Oct 31 11:58:25 2021
[  3812.028] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3812.028] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3812.029] (==) No Layout section.  Using the first Screen section.
[  3812.029] (==) No screen section available. Using defaults.
[  3812.029] (**) |-->Screen "Default Screen Section" (0)
[  3812.029] (**) |   |-->Monitor "<default monitor>"
[  3812.029] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  3812.029] (**) |   |-->Device "Device0"
[  3812.029] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  3812.029] (==) Automatically adding devices
[  3812.029] (==) Automatically enabling devices
[  3812.029] (==) Automatically adding GPU devices
[  3812.029] (==) Automatically binding GPU devices
[  3812.029] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3812.029] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  3812.029] 	Entry deleted from font path.
[  3812.029] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  3812.029] 	Entry deleted from font path.
[  3812.029] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  3812.029] 	Entry deleted from font path.
[  3812.029] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  3812.029] 	Entry deleted from font path.
[  3812.029] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  3812.029] 	Entry deleted from font path.
[  3812.029] (==) FontPath set to:
	/usr/share/fonts/TTF
[  3812.029] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3812.029] (**) Extension "Composite" is enabled
[  3812.029] (**) Extension "RENDER" is enabled
[  3812.029] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3812.029] (II) Module ABI versions:
[  3812.029] 	X.Org ANSI C Emulation: 0.4
[  3812.029] 	X.Org Video Driver: 24.1
[  3812.029] 	X.Org XInput driver : 24.1
[  3812.029] 	X.Org Server Extension : 10.0
[  3812.030] (++) using VT number 3

[  3812.032] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_39
[  3812.033] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3812.033] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  3812.036] (--) PCI:*(0@0:2:0) 8086:1916:17aa:5053 rev 7, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[  3812.036] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3812.036] (II) LoadModule: "glx"
[  3812.036] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3812.038] (II) Module glx: vendor="X.Org Foundation"
[  3812.038] 	compiled for 1.20.13, module version = 1.0.0
[  3812.038] 	ABI class: X.Org Server Extension, version 10.0
[  3812.038] (II) LoadModule: "vesa"
[  3812.038] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  3812.038] (II) Module vesa: vendor="X.Org Foundation"
[  3812.038] 	compiled for 1.20.9, module version = 2.5.0
[  3812.038] 	Module class: X.Org Video Driver
[  3812.038] 	ABI class: X.Org Video Driver, version 24.1
[  3812.038] (II) VESA: driver for VESA chipsets: vesa
[  3812.038] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  3812.038] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  3812.038] (II) Loading sub module "vbe"
[  3812.038] (II) LoadModule: "vbe"
[  3812.038] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  3812.038] (II) Module vbe: vendor="X.Org Foundation"
[  3812.038] 	compiled for 1.20.13, module version = 1.1.0
[  3812.038] 	ABI class: X.Org Video Driver, version 24.1
[  3812.038] (II) Loading sub module "int10"
[  3812.038] (II) LoadModule: "int10"
[  3812.038] (II) Loading /usr/lib/xorg/modules/libint10.so
[  3812.038] (II) Module int10: vendor="X.Org Foundation"
[  3812.038] 	compiled for 1.20.13, module version = 1.0.0
[  3812.038] 	ABI class: X.Org Video Driver, version 24.1
[  3812.038] (II) VESA(0): initializing int10
[  3812.039] (EE) VESA(0): Cannot read int vect
[  3812.039] (II) UnloadModule: "vesa"
[  3812.039] (II) UnloadSubModule: "int10"
[  3812.039] (II) Unloading int10
[  3812.039] (II) UnloadSubModule: "vbe"
[  3812.039] (II) Unloading vbe
[  3812.039] (EE) Screen(s) found, but none have a usable configuration.
[  3812.039] (EE) 
Fatal server error:
[  3812.039] (EE) no screens found(EE) 
[  3812.039] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  3812.039] (EE) Please also check the log file at "/home/bbb/.local/share/xorg/Xorg.0.log" for additional information.
[  3812.039] (EE) 
[  3812.345] (EE) Server terminated with error (1). Closing log file.

Do you have xf86-video-amdgpu installed? If not, install it, and then try logging into a Gnome X11 session.

Thanks for your suggestion, yes, xf86-video-amdgpu is installed in version 21.0.0-1.

Did you saw my last post? I have the same problem on an Intel based Thinkpad aswell.

I just tried again to start the X11 server from a text shell. A message that I see in that shell is not in the log file:

> vesa: Refusing to run on UEFI

Could this help to find the problem?

I found the problem:

I had installed the open source drivers for video-linux, video-modesetting and video-vesa. I removed all three, reboot and I’m able to login with X11.

This works on both Thinkpads that had the problem.

To be precise: it’s only necessary to remove the open source driver for video-vesa.

here’s a screenshot where the driver needs to be removed:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.