You are not logged in.
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=failedRestarting LightDM with
systemctl restart lightdmallows 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 lightdmshows 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
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
Offline
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
You have installed a greeter? https://wiki.archlinux.org/index.php/Li … n_flashing
Offline
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
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
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
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=trueOffline