You are not logged in.

#1 2020-10-13 01:49:51

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Fresh Arch Linux Install: LightDM not starting on boot

Howdy-do, neighborinos! Hope this topic finds you well.

I have tried absolutely everything, but I can't seem to get LightDM to work properly. I installed it with pacman, and immediately rebooted after installing that and lightdm-gtk-greeter, but it seems that LightDM fails to load when booting with rEFInd. All it tells me is that LightDM failed to load.

I've done my research everywhere but I can't seem to fix the issue; I don't know if it was how I worded the keywords or what, but I can't seem to find a fix for the issue. I've tried reinstalling it and everything; didn't work whatsoever.

Can I get some help with this issue? Thanks in advance.


EDIT 1: oh my, am I so dumb. Here is my LightDM config so you all know what I've got right now.

Last edited by rhearmas (2020-10-13 12:45:23)

Offline

#2 2020-10-13 02:09:36

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: Fresh Arch Linux Install: LightDM not starting on boot

Could be nice some details, so we can help you, like logs, whatever configurations you have made, any rEFInd configuration, your kernel command line...

Just be verbose with details, because now it’s like “I installed foo yet after using bar it fails, help?”


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-10-13 02:15:26

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

Sorry about that.

No configuration to rEFInd whatsoever besides simply putting in the GUID for everything. I haven't configured LightDM either; it's been left completely unconfigured after its install. Log-wise, I am unsure on how to provide everything if I have no way of accessing my window manager (i3) since the error prevents me from typing anything.

Offline

#4 2020-10-13 02:18:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,052

Re: Fresh Arch Linux Install: LightDM not starting on boot

first off, if you didn't configure lightdm, of course it doesn't work.

second, start your WM with xinit/startx. That's been the standard way for decades.

third, https://wiki.archlinux.org/index.php/Li … in_clients

fourth, the DM not starting doesn't prevent you from typing. Switch to another VT.

Last edited by Scimmia (2020-10-13 02:19:11)

Offline

#5 2020-10-13 06:11:38

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

rhearmas wrote:

I've done my research everywhere

Including here: https://wiki.archlinux.org/index.php/Li … leshooting ?

Offline

#6 2020-10-13 11:17:11

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

Scimmia wrote:

first off, if you didn't configure lightdm, of course it doesn't work.

second, start your WM with xinit/startx. That's been the standard way for decades.

third, https://wiki.archlinux.org/index.php/Li … in_clients

fourth, the DM not starting doesn't prevent you from typing. Switch to another VT.

2) tried both commands. returns with Fatal server error: no screens found(EE).
3) got that to work with this post here. thanks!
4) also got that down. unofficial Discord helped me out.

I checked all of those links as well.

I got some more info on why it isn’t starting by checking /var/logs...

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=773
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Failed to find session configuration lightdm-gtk-greeter
[+0.00s] DEBUG: Seat seat0: Failed to create greeter session
[+0.00s] DEBUG: Failed to start seat: seat0

What’s odd is that I have lightdm-gtk-greeter installed, so I’d expect this to work normally.

Last edited by rhearmas (2020-10-13 11:32:20)

Offline

#7 2020-10-13 12:21:27

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

2) tried both commands. returns with Fatal server error: no screens found(EE).

Post your xorg log, https://wiki.archlinux.org/index.php/Xorg#General

Offline

#8 2020-10-13 12:32:21

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

Here's the full log, and below is the output of grep -e Log -e tty /var/log/Xorg.0.log.

[   397.451] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 13 07:31:17 2020
[   397.462] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

Offline

#9 2020-10-13 12:36:17

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

[   397.456] (==) ServerLayout "Layout0"
[   397.456] (**) |-->Screen "Screen0" (0)
[   397.456] (**) |   |-->Monitor "Monitor0"
[   397.456] (**) |   |-->Device "Device0"
[   397.456] (**) |-->Input Device "Keyboard0"
[   397.456] (**) |-->Input Device "Mouse0"
…
[   397.476] (--) PCI:*(0@0:2:0) 8086:3ea0:1043:1fbe rev 2, Mem @ 0xb2000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   397.476] (--) PCI: (2@0:0:0) 10de:1d13:1043:1fbe rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288

This is an Optimus system and it looks like you used nvidia-settings/xconfig to create a static config for the nvidia chip, which does not work in general and also the GPU seems deactivated (bumblebee/bbswitch?)

Work through https://wiki.archlinux.org/index.php/NVIDIA_Optimus - decide how you want to use the system and configure it accordingly.
In any event remove the static server config.

Offline

#10 2020-10-13 12:44:55

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

Tried the steps on the wiki under the Use NVIDIA graphics only section on the link you sent -- created the shell script, made it executable, had it run by placing it at the top of the Seat tag. Still didn't work. Xorg.0.log still gives me the same "no screens found" error.

While we're at it, here is my LightDM config. I'll pin this link to the original post.

Last edited by rhearmas (2020-10-13 12:47:57)

Offline

#11 2020-10-13 12:49:59

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

Some lightdm script does entirely not cut it, this is just for using the nvidia GPU and the IGP as a VGA provider. You'll still ahve to properly configure the server and again: the GPU looks powered down anyway.
Please actually read through the wiki and follow-ups, don't just copy some random blue box.

Offline

#12 2020-10-13 12:58:40

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

seth wrote:

Some lightdm script does entirely not cut it, this is just for using the nvidia GPU and the IGP as a VGA provider. You'll still ahve to properly configure the server and again: the GPU looks powered down anyway.
Please actually read through the wiki and follow-ups, don't just copy some random blue box.

Should I go ahead and install bumblebee on my system? Or is there another way for me to resolve this issue?

Offline

#13 2020-10-13 13:11:23

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

Work through https://wiki.archlinux.org/index.php/NVIDIA_Optimus - decide how you want to use the system and configure it accordingly.

There is no cookie-cutter solution here.

Offline

#14 2020-10-13 13:42:04

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

I've tried to work through that entire page. Nothing has worked and I'm still stuck at this error. I don't know if reinstalling Arch is a good idea or what, I'm honestly at a dead end here.

Offline

#15 2020-10-13 13:44:24

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

if reinstalling Arch is a good idea

Certainly not.

How do you prefer to use the hybrid graphics?

Offline

#16 2020-10-13 13:50:23

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

seth wrote:

if reinstalling Arch is a good idea

Certainly not.

How do you prefer to use the hybrid graphics?

I'd usually like to use my NVIDIA graphics whenever possible. Games mostly serve well for this; the better GPU for games and Intel for everything else.

Offline

#17 2020-10-13 13:56:22

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

So a hybrid setup, bumblebee or better prime - depending on the capablilities of your GPU and the driver version you can use.

lspci

Offline

#18 2020-10-13 13:58:23

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:14.5 SD Host controller: Intel Corporation BayHubTech Integrated SD controller (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
00:17.0 SATA controller: Intel Corporation Cannon Point-LP SATA Controller [AHCI Mode] (rev 30)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #1 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #10 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #13 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Point-LP Serial IO UART Controller #2 (rev 30)
00:1e.2 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP Serial IO SPI Controller (rev 30)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.4 SMBus: Intel Corporation Cannon Point-LP SMBus Controller (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX250] (rev a1)
03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
04:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)

Last edited by rhearmas (2020-10-13 13:58:38)

Offline

#19 2020-10-13 14:02:20

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

Offline

#20 2020-10-13 14:14:11

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

I went to that link and followed the instructions. I installed the package and added the necessary configuration to xorg.conf. I rebooted my machine after removing bumblebee, but nothing seems to have worked, once again. I might consider reinstalling Arch since this is a new install with no personal files on it.

Offline

#21 2020-10-13 14:15:15

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

You will end up w/ the exact same situation.
xorg log?

Offline

#22 2020-10-13 14:20:20

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

I had two files in my /var/log folder: Xorg.0.log and Xorg.8.log. I've made a paste for both files: Xorg.0.log is here and Xorg.8.log is here. I don't know if there is a difference between both files.

Offline

#23 2020-10-13 14:23:58

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

[    58.409] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 13 10:05:07 2020
[    58.410] (++) Using config file: "/root/xorg.conf.new"
[    58.410] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    58.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    58.410] (==) ServerLayout "Layout0"
[    58.410] (**) |-->Screen "Screen0" (0)
[    58.410] (**) |   |-->Monitor "Monitor0"
[    58.411] (**) |   |-->Device "Device0"
[    58.411] (**) |   |-->GPUDevice "Card0"
[    58.411] (**) |   |-->GPUDevice "Card1"
[    58.411] (**) |-->Input Device "Keyboard0"
[    58.411] (**) |-->Input Device "Mouse0"

You're still using an nvidia-settings generated config file…

Offline

#24 2020-10-13 14:25:32

rhearmas
Member
Registered: 2020-09-25
Posts: 52

Re: Fresh Arch Linux Install: LightDM not starting on boot

seth wrote:
[    58.409] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 13 10:05:07 2020
[    58.410] (++) Using config file: "/root/xorg.conf.new"
[    58.410] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    58.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    58.410] (==) ServerLayout "Layout0"
[    58.410] (**) |-->Screen "Screen0" (0)
[    58.410] (**) |   |-->Monitor "Monitor0"
[    58.411] (**) |   |-->Device "Device0"
[    58.411] (**) |   |-->GPUDevice "Card0"
[    58.411] (**) |   |-->GPUDevice "Card1"
[    58.411] (**) |-->Input Device "Keyboard0"
[    58.411] (**) |-->Input Device "Mouse0"

You're still using an nvidia-settings generated config file…

I'm literally dumb. I'll fix that. Is there a way to get the proper names of all the devices (like lspci)?

Offline

#25 2020-10-13 14:28:36

seth
Member
Registered: 2012-09-03
Posts: 58,303

Re: Fresh Arch Linux Install: LightDM not starting on boot

Xorg probes them and you don't need them (for the task at hand)

Offline

Board footer

Powered by FluxBB