You are not logged in.

#1 2021-04-26 03:05:40

Ch3stnut
Member
Registered: 2021-04-20
Posts: 5

[SOLVED] Light Display Manager failed ot start

Hi All,
I am currently completing my first Arch install, and was hoping to make it through without having to post here.  But I have come up with an issue with LightDM.
Initially it was working fine, with default settings, and I was able to log into QTile.  I installed private-internet-access-vpn from the AUR and set the basic configurations, but have not logged in yet and have left it set to autologin = False in the config.
Now on reboot the system hangs, and when I log into a tty I can see that lightdm has failed using

systemctl list-units --state=failed

Restarting LightDM with

systemctl restart lightdm

allows me to log back in without issue.

So I am at a loss as to why it will not start on boot.  The output of

journalctl -u lightdm

shows that lightdm always took several attemps at starting, but started in the end.

https://pastebin.com/AkPawJe2 - LightDM log from latest reboot, @ 83s is where it is started manually
https://pastebin.com/QYzvqaij - Log from journalctl -u lightdm --boot=-1
https://pastebin.com/uC3ntAp0- Log from journalctl -u NetworkManager --boot=-1

If there is any further information required please let me know.

Any assistance or point to a resource would be appreciated, and I do hope that I have not missed something simple.

Cheers

Last edited by Ch3stnut (2021-04-26 09:37:52)

Offline

#2 2021-04-26 03:24:29

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

Re: [SOLVED] Light Display Manager failed ot start

When it fails, use journalctl _PID=XXX to get a more descriptive error message. And make sure your pager is not truncating the messages.

See here for details: https://wiki.archlinux.org/index.php/Systemd/Journal


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-04-26 06:27:11

Ch3stnut
Member
Registered: 2021-04-20
Posts: 5

Re: [SOLVED] Light Display Manager failed ot start

Hey jasonwryan,

Sorry I didn't notice the truncating of the messages.

When using journalctl _PID=XXX this is what I see:
Apr 26 11:37:09 Eilsum lightdm[486]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files

Reading around it looks like it is something to do with the network configuration files, though I am trying to figure out how mine should look.

Most places talk about a /etc/NetworkManager/nm-system-settings.conf file, there is not one on my system just the /etc/NetworkManager/NetworkManager.conf, so trying to tie the solutions together.

Thanks for the initial response.

Offline

#4 2021-04-26 07:07:45

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

Re: [SOLVED] Light Display Manager failed ot start


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2021-04-26 07:34:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: [SOLVED] Light Display Manager failed ot start

Now on reboot the system hangs, and when I log into a tty I can see that lightdm has failed […]
Restarting LightDM […] allows me to log back in without issue.

This has been a very common pattern in the last month(s) and there's also a workaround specifically for lightdm on the lightdm wiki.
Search the forum for "lightdm", there're a couple of relevant hits in the first 20 results.

Offline

#6 2021-04-26 08:04:48

Ch3stnut
Member
Registered: 2021-04-20
Posts: 5

Re: [SOLVED] Light Display Manager failed ot start

Hi jasonwryan

Yes I have the lightdm-gtk-greeter installed

Hi Seth

Thanks for the links, and pointing me in the direction of the other issues.  Once I have this resolved I will make comment on the solution in my case, and mark as solved.

Offline

#7 2021-04-26 08:06:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,527

Re: [SOLVED] Light Display Manager failed ot start

The links on the bottom of my post are my signature and not related to this specific problem.
It's just what usually comes up all the time ;-)

Offline

#8 2021-04-26 09:15:07

Ch3stnut
Member
Registered: 2021-04-20
Posts: 5

Re: [SOLVED] Light Display Manager failed ot start

Links are useful information either way.

Anyway thanks to both of you for the responses, I was looking in the wrong place for a solution.  As there seemed to be quite a few people having issues with network config and lightdm, and the fact that I had just been playing with PIA I was going down that path.

The solution was a lot simpler and also listed in the wiki as stated, so adding the below to the lightdm.conf file fixed the issue.

[LightDM]
logind-check-graphical=true

Offline

Board footer

Powered by FluxBB