You are not logged in.

#1 2017-06-16 23:52:45

Guisanti
Member
From: Málaga
Registered: 2016-11-25
Posts: 25

[SOLVED] GDM restarts when I try to open a DE that is not Gnome

Today I have done a clean arch Install on my new laptop. Everything works out of the box but I am having some trouble.

Whenever I try to start a desktop enviroment instead of Gnome (tried xfce, i3 and plasma) gdm restarts, the only DE that works is gnome.

I'm not sure of what to put to give information. I have a dual graphic laptop but I disabled the discrete graphics.

lspci -k wrote:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    Subsystem: Lenovo Device 380a
    Kernel driver in use: i915
    Kernel modules: i915

Dmesg is here:

https://ptpb.pw/JNsN

Now the Xorg log.

[     6.078] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[     6.078] X Protocol Version 11, Revision 0
[     6.078] Build Operating System: Linux 4.9.11-1-ARCH x86_64 
[     6.078] Current Operating System: Linux TPLINK 4.11.5-1-ARCH #1 SMP PREEMPT Wed Jun 14 16:19:27 CEST 2017 x86_64
[     6.078] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=558ca2c6-a412-40e6-9976-5fe0b92e2155 rw quiet
[     6.078] Build Date: 07 April 2017  05:42:48PM
[     6.078]  
[     6.078] Current version of pixman: 0.34.0
[     6.078] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     6.078] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.078] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 17 01:29:01 2017
[     6.078] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     6.078] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.078] (==) No Layout section.  Using the first Screen section.
[     6.079] (==) No screen section available. Using defaults.
[     6.079] (**) |-->Screen "Default Screen Section" (0)
[     6.079] (**) |   |-->Monitor "<default monitor>"
[     6.079] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[     6.079] (**) |   |-->Device "Nvidia card"
[     6.079] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     6.079] (==) Automatically adding devices
[     6.079] (==) Automatically enabling devices
[     6.079] (==) Automatically adding GPU devices
[     6.079] (==) Automatically binding GPU devices
[     6.079] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.079] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[     6.079] 	Entry deleted from font path.
[     6.079] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[     6.079] (==) ModulePath set to "/usr/lib/xorg/modules"
[     6.079] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.079] (II) Loader magic: 0x822d60
[     6.079] (II) Module ABI versions:
[     6.079] 	X.Org ANSI C Emulation: 0.4
[     6.079] 	X.Org Video Driver: 23.0
[     6.079] 	X.Org XInput driver : 24.1
[     6.079] 	X.Org Server Extension : 10.0
[     6.080] (++) using VT number 7

[     6.080] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     6.081] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.092] (--) PCI:*(0:0:2:0) 8086:191b:17aa:380a rev 6, Mem @ 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[     6.092] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.092] (II) LoadModule: "glx"
[     6.092] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     6.094] (II) Module glx: vendor="X.Org Foundation"
[     6.094] 	compiled for 1.19.3, module version = 1.0.0
[     6.094] 	ABI class: X.Org Server Extension, version 10.0
[     6.094] (II) LoadModule: "nouveau"
[     6.094] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     6.094] (II) Module nouveau: vendor="X.Org Foundation"
[     6.094] 	compiled for 1.19.3, module version = 1.0.15
[     6.094] 	Module class: X.Org Video Driver
[     6.094] 	ABI class: X.Org Video Driver, version 23.0
[     6.094] (II) NOUVEAU driver 
[     6.094] (II) NOUVEAU driver for NVIDIA chipset families :
[     6.094] 	RIVA TNT        (NV04)
[     6.094] 	RIVA TNT2       (NV05)
[     6.094] 	GeForce 256     (NV10)
[     6.095] 	GeForce 2       (NV11, NV15)
[     6.095] 	GeForce 4MX     (NV17, NV18)
[     6.095] 	GeForce 3       (NV20)
[     6.095] 	GeForce 4Ti     (NV25, NV28)
[     6.095] 	GeForce FX      (NV3x)
[     6.095] 	GeForce 6       (NV4x)
[     6.095] 	GeForce 7       (G7x)
[     6.095] 	GeForce 8       (G8x)
[     6.095] 	GeForce GTX 200 (NVA0)
[     6.095] 	GeForce GTX 400 (NVC0)
[     6.095] (EE) No devices detected.
[     6.095] (EE) 
Fatal server error:
[     6.095] (EE) no screens found(EE) 
[     6.095] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     6.095] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     6.095] (EE) 
[     6.151] (EE) Server terminated with error (1). Closing log file.

Last edited by Guisanti (2017-06-21 21:41:46)

Offline

#2 2017-06-17 00:01:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

Please use code, not quote, tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Your Xorg log for a failed session would be helpful.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-17 06:44:55

Guisanti
Member
From: Málaga
Registered: 2016-11-25
Posts: 25

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

jasonwryan wrote:

Please use code, not quote, tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Your Xorg log for a failed session would be helpful.

Okay, thank you for your corrections and help, I updated original post

Offline

#4 2017-06-17 06:53:30

seth
Member
Registered: 2012-09-03
Posts: 51,650

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

	Using the first device section listed.
[     6.079] (**) |   |-->Device "Nvidia card"
...
[     6.094] (II) LoadModule: "nouveau"

There's a bogus configlet in /etc/X11/xorg.conf.d that instructs to use the nouveau driver - and you got an i915 chip.
=> either use the intel or modesetting driver

Offline

#5 2017-06-17 09:25:31

Guisanti
Member
From: Málaga
Registered: 2016-11-25
Posts: 25

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

seth wrote:
	Using the first device section listed.
[     6.079] (**) |   |-->Device "Nvidia card"
...
[     6.094] (II) LoadModule: "nouveau"

There's a bogus configlet in /etc/X11/xorg.conf.d that instructs to use the nouveau driver - and you got an i915 chip.
=> either use the intel or modesetting driver

Well, I have deleted the noveau config file in /etc/X11/xorg.conf.d and now still tries to use the noveau driver as the log says. The ls of the directory is the following.

ls /etc/X11/xorg.conf.d/

00-keyboard.conf  20-intel.conf

Is there any way to restart the xorg config? I think it would be easier but I haven't found anything

Offline

#6 2017-06-17 12:37:52

seth
Member
Registered: 2012-09-03
Posts: 51,650

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

Do you have custom files in /usr/share/X11/xorg.conf.d?
What's the content of those two files?

Stupid question: gdm writes the xorg log into the journal - this is not the same /var/log/Xorg.0.log, is it? Checked the timestamp of the file?

Offline

#7 2017-06-17 15:12:37

Guisanti
Member
From: Málaga
Registered: 2016-11-25
Posts: 25

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

seth wrote:

Do you have custom files in /usr/share/X11/xorg.conf.d?

Yes, i have this ones but autoinstalled

10-quirks.conf  40-libinput.conf

What's the content of those two files?

/etc/X11/xorg.conf.d/00-keyboard.conf

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "es"
EndSection

/etc/X11/xorg.conf.d/00-keyboard.conf

Section "Device"
        Identifier      "Intel Graphics"
        Driver  "i915"
        Option  "AccelMethod" "sna"
EndSection
seth wrote:

Stupid question: gdm writes the xorg log into the journal - this is not the same /var/log/Xorg.0.log, is it? Checked the timestamp of the file?

Is true, i didn't thought it.

jun 17 17:25:07 TPLINK gdm-x-session[697]: Enabling debugging
jun 17 17:25:07 TPLINK gdm-x-session[697]: Preparing auth file for X server
jun 17 17:25:07 TPLINK gdm-x-session[697]: Running X server
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (--) Log file renamed from "/home/archie/.local/share/xorg/Xorg.pid-699.log" to "/home/archie/.local/share/xorg/Xorg.0.log"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: X.Org X Server 1.19.3
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Release Date: 2017-03-15
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: X Protocol Version 11, Revision 0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Build Operating System: Linux 4.9.11-1-ARCH x86_64
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Current Operating System: Linux TPLINK 4.11.5-1-ARCH #1 SMP PREEMPT Wed Jun 14 16:19:27 CEST 2017 x86_64
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=558ca2c6-a412-40e6-9976-5fe0b92e2155 rw quiet
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Build Date: 07 April 2017  05:42:48PM
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:  
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Current version of pixman: 0.34.0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         Before reporting problems, check http://wiki.x.org
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         to make sure that you have the latest version.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Markers: (--) probed, (**) from config file, (==) default setting,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         (++) from command line, (!!) notice, (II) informational,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Log file: "/home/archie/.local/share/xorg/Xorg.0.log", Time: Sat Jun 17 17:25:07 2017
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Using config directory: "/etc/X11/xorg.conf.d"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) No Layout section.  Using the first Screen section.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) No screen section available. Using defaults.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (**) |-->Screen "Default Screen Section" (0)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (**) |   |-->Monitor "<default monitor>"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) No device specified for screen "Default Screen Section".
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         Using the first device section listed.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (**) |   |-->Device "Intel Graphics"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) No monitor specified for screen "Default Screen Section".
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         Using a default monitor configuration.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Automatically adding devices
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Automatically enabling devices
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Automatically adding GPU devices
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Automatically binding GPU devices
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) Max clients allowed: 256, resource mask: 0x1fffff
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (WW) The directory "/usr/share/fonts/Type1/" does not exist.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         Entry deleted from font path.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) FontPath set to:
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         /usr/share/fonts/misc/,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         /usr/share/fonts/TTF/,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         /usr/share/fonts/OTF/,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         /usr/share/fonts/100dpi/,
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         /usr/share/fonts/75dpi/
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (==) ModulePath set to "/usr/lib/xorg/modules"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) The server relies on udev to provide the list of input devices.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         If no devices become available, reconfigure udev or disable AutoAddDevices.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) Loader magic: 0x822d60
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) Module ABI versions:
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         X.Org ANSI C Emulation: 0.4
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         X.Org Video Driver: 23.0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         X.Org XInput driver : 24.1
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         X.Org Server Extension : 10.0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (++) using VT number 2
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) xfree86: Adding drm device (/dev/dri/card1)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) xfree86: Adding drm device (/dev/dri/card0)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (--) PCI:*(0:0:2:0) 8086:191b:17aa:380a rev 6, Mem @ 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (--) PCI: (0:1:0:0) 10de:139a:17aa:380b rev 162, Mem @ 0xd1000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x0000d000/128
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) LoadModule: "glx"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) Module glx: vendor="X.Org Foundation"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         compiled for 1.19.3, module version = 1.0.0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:         ABI class: X.Org Server Extension, version 10.0
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) LoadModule: "i915"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (WW) Warning, couldn't open module i915
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) UnloadModule: "i915"
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (II) Unloading i915
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) Failed to load module "i915" (module does not exist, 0)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) No drivers available.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Fatal server error:
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) no screens found(EE)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: Please consult the The X.Org Foundation support
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:          at http://wiki.x.org
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]:  for help.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) Please also check the log file at "/home/archie/.local/share/xorg/Xorg.0.log" for additional information.
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE)
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) Server terminated with error (1). Closing log file.
jun 17 17:25:07 TPLINK gdm-x-session[697]: X server did not write display string

It doesn't recognize i915? i dont understand because the output of lspci -k is

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
	Subsystem: Lenovo Device 380a
	Kernel driver in use: i915
	Kernel modules: i915

Last edited by Guisanti (2017-06-17 15:30:47)

Offline

#8 2017-06-17 18:07:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,768

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

i915 is the kernel driver, the one you configure in xorg is the intel DDX called, "intel". However this config as it stands is a no-op anyway since sna is the default so you could also just remove it.

Offline

#9 2017-06-17 18:30:23

seth
Member
Registered: 2012-09-03
Posts: 51,650

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) Failed to load module "i915" (module does not exist, 0)

Either remove the 20-intel.conf configlet to use the modesetting driver or install the xf86-video-intel package

Offline

#10 2017-06-21 21:41:28

Guisanti
Member
From: Málaga
Registered: 2016-11-25
Posts: 25

Re: [SOLVED] GDM restarts when I try to open a DE that is not Gnome

seth wrote:
jun 17 17:25:07 TPLINK /usr/lib/gdm/gdm-x-session[697]: (EE) Failed to load module "i915" (module does not exist, 0)

Either remove the 20-intel.conf configlet to use the modesetting driver or install the xf86-video-intel package

I tried both the first one didn't do anything, but the second one did. Thank you a lot wink

Offline

Board footer

Powered by FluxBB