You are not logged in.

#1 2023-07-23 18:04:54

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Lightdm messed up after pacman -Syu

I recently did pacman -Syu. There was an error saying conflicts files of /usr/lib/node_modules. So I deleted the directory and installed the latest nodejs(20) version. Then when I do `reboot`, all of my rice has gone. I mean the UI is no like what I get after a fresh install. Consider that I am using Qtile as the window manager and here is my rice info.
As for the journalctl there's a error called gkr-pam: unable to locate daemon control file, generated from lightdm. How can I fix this issue and recover?

EDIT:
Here's the journalctl -u lightdm output

Jul 23 23:37:02 deadHost systemd[1]: Starting Light Display Manager...
Jul 23 23:37:02 deadHost systemd[1]: Started Light Display Manager.
Jul 23 23:37:02 deadHost lightdm[556]: 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
Jul 23 23:37:03 deadHost lightdm[729]: 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
Jul 23 23:37:03 deadHost lightdm[729]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=971) by (uid=0)
Jul 23 23:37:11 deadHost lightdm[836]: gkr-pam: unable to locate daemon control file
Jul 23 23:37:11 deadHost lightdm[836]: gkr-pam: stashed password to try later in open session
Jul 23 23:37:11 deadHost lightdm[836]: 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
Jul 23 23:37:11 deadHost lightdm[836]: pam_unix(lightdm:session): session opened for user dead(uid=1000) by dead(uid=0)
Jul 23 23:37:12 deadHost lightdm[836]: gkr-pam: unlocked login keyring

Last edited by DeadWarrior (2023-07-23 18:21:41)

Offline

#2 2023-07-23 18:10:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Lightdm messed up after pacman -Syu

DeadWarrior wrote:

all of my rice has gone

Fried or white?

DeadWarrior wrote:

I mean the UI is no like what I get after a fresh install.

A UI after a fresh install?  So what distro did you actually install?  Which installation instructions did you follow?

Last edited by Trilby (2023-07-23 18:31:45)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-07-23 18:24:23

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

Trilby wrote:

A UI after a fresh install?  So what distro did you actually install?  Which installation instructions did you follow?

Well, it's like the first view when you start Qtile after a fresh install. And why in the world I put other distro's questions here. I use Arch btw,

Offline

#4 2023-07-23 19:00:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

Unpeeled.

Trilby's pointing out that there's no default UI or settings when installing arch.
You also didn't tell which idiotic youtube tutorial you used to install arch because there's no way in hell that you've even a  remote idea what you're talking about, so it wasn't the installation guide in the wiki.

On topic:
Is your problem actually w/ lightdm or qtile?
Assuming the latter (because gkr-pam is just https://wiki.archlinux.org/title/GNOME/ … ntrol_file ) : is the rest of your $HOME still there?

Offline

#5 2023-07-23 19:06:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Lightdm messed up after pacman -Syu

I suspect (now) that the OP may be referring to a fresh install of qtile, not the entire OS.  The lack of information and some other tonal aspects of the post make me not so inclined to follow up with the OP further - but it might be premature to crucify them as a user of another distro.

Last edited by Trilby (2023-07-23 19:07:19)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2023-07-23 19:12:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

I don't think it's another distro, but "ricing archlinux btw" has a high likelyhood of imitating some bullshit "how to be cool on r/unixporn" guide.
And the lack of coherence in the OP ("ok, qtile doesn't look likie it did, so I'll post a random non-error message from lightdm") supports that.

Either way, we'll fix this. All of it wink

Offline

#7 2023-07-23 19:24:36

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

Ok. Let me tell the whole story. I have been using arch for 2 years now. To install Arch I always use the installation guide on Arch Wiki. This installation was done October last year on the new laptop I got. An Asus ExpertBook. There was no problem until today I did pacman -Syu. In the process of updating the system I got an error saying conflicting files with node_modules directory in the /usr/lib dir. Then I deleted it and re-installed the nodejs and re-do the pacman -Syu. (I don't know whether this is the cause for the error.) Everything was normal until I reboot the system. All I can see was something we get when we get after installing Qtile for the first time. I mean with no hacking to the Qtile config. Worst, the application launching keys aren't even working. I mean the Qtile custom key combinations for launching an app such as Mod + Shift + i. Then as I was going through the journalctl I found the above part I have mentioned in the question.

Offline

#8 2023-07-23 19:28:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

Ok, so why do you suspect this has anything to do w/ lightdm?
Assuming your qtile/config.py is gone (is it? https://wiki.archlinux.org/title/Qtile#Configuration ) is the rest of your $HOME as it's supposed to be?

Then tell us about your $HOME, is it encrypted? Do you sync your dotfiles at login?

https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#9 2023-07-23 19:31:45

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

No. No files in the home directory have missing. The reason I'm telling that the problem is that only the lightdm has an error in the journalctl

Offline

#10 2023-07-23 19:38:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Lightdm messed up after pacman -Syu

DeadWarrior, I think your presentation style (in the first post) just hit on a few peeves, but this is actually turning into a productive troubleshooting thread.  This most recent information is useful.  I (and I'm pretty sure seth) believe(s) that the lightdm part is a red-herring (not relevant) as those messages are common even when lightDM is working.

So the symptoms we have on hand are that after an update with some oddity with nodejs, qtile no longer appears to be using your user configs, right?  Does qtile, or any tools you've used to configure it, rely on any nodejs content?  Or might the nodejs problem be unrelated as well?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2023-07-23 19:39:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

stat ~/.config/qtile/config.py
diff -u /usr/share/doc/qtile_dir/default_config.py ~/.config/qtile/config.py

Offline

#12 2023-07-23 20:01:20

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

Trilby wrote:

So the symptoms we have on hand are that after an update with some oddity with nodejs, qtile no longer appears to be using your user configs, right?

Yes, it all started after the update.

Tribly wrote:

Does qtile, or any tools you've used to configure it, rely on any nodejs content?  Or might the nodejs problem be unrelated as well?

I don't think nodejs is related to this as I installed node few months before, long after the rice.

seth wrote:

stat ~/.config/qtile/config.py
diff -u /usr/share/doc/qtile_dir/default_config.py ~/.config/qtile/config.py

I can't use my laptop to share the output now as the lightdm doesn't let me in after I re-install it. I am using a tty to get the output. And yes, the changes are numerous to the config.py

Offline

#13 2023-07-23 20:04:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

So we're from "qtile looks different" to "lightdm doesn't allow me to log in"?
Post your lightdm log, it's in /var/log and you can use the tip in the 1st link below to post it from the console.
As you can w/ the diff.

Can you still log in a different session (eg. openbox) w/ lightdm?

Offline

#14 2023-07-23 20:11:46

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

seth wrote:

So we're from "qtile looks different" to "lightdm doesn't allow me to log in"?
Post your lightdm log, it's in /var/log and you can use the tip in the 1st link below to post it from the console.
As you can w/ the diff.

I think you didn't understand. I can't open the browser in a tty. I am using my secondary laptop to chat in this thread. So how can get what is in my primary laptop , which has the problem here?

seth wrote:

Can you still log in a different session (eg. openbox) w/ lightdm?

Sorry, I didn't understand?

Offline

#15 2023-07-23 20:15:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

And I think you didn't even bother click the link.
Browsers aren't a necessary part of uploading stuff (though you could also use lynx)

*sigh*

cat /var/log/lightdm/lightdm.log | curl -F 'f:1=<-' ix.io

Sorry, I didn't understand?

You install openbox and select it as session type in lightdm…

Offline

#16 2023-07-23 20:21:13

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

seth wrote:
cat /var/log/lightdm/lightdm.log | curl -F 'f:1=<-' ix.io

My bad, it lead me to pastebin and I thought I needed a browser. Anyhow here is the link. http://ix.io/4Bk8


You install openbox and select it as session type in lightdm…

It's another window manager, right? However let me try it as well.

EDIT;
The openbox doesn't work either. I mean the after typing the password on lightdm and hit enter it comes back to the same login screen

Last edited by DeadWarrior (2023-07-23 20:24:13)

Offline

#17 2023-07-23 20:32:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

[+1.10s] DEBUG: Session pid=872: Started with service 'lightdm', username 'dead'
[+1.11s] DEBUG: Session pid=872: Got 1 message(s) from PAM
[+107.44s] DEBUG: Session pid=872: Authentication complete with return value 0: Success
[+107.47s] DEBUG: Session pid=872: Running command /etc/lightdm/Xsession qtile start
[+107.47s] DEBUG: Session pid=872: Logging to .xsession-errors
[+108.09s] DEBUG: Session pid=872: Exited with return value 2

You log in but then qtile crashes.

Did you conduct a partial update of sorts?

pacman -Syu

Offline

#18 2023-07-23 20:34:30

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

The update failed first time as I told you. The error was conflicting node files. As far as I know Qtile had no updates since September last year.

Last edited by DeadWarrior (2023-07-23 20:35:11)

Offline

#19 2023-07-23 20:45:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

My question was whether you maybe updated some packages in isolation and running -Syu is a suggestion.
As for the conflicting nodejs files, deleting them "and installed the latest nodejs(20) version", depending on what you did there might have caused a partial update - or is just symptom for a wider issue.

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | curl -F 'f:1=<-' ix.io

Offline

#20 2023-07-23 20:55:41

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

seth wrote:

My question was whether you maybe updated some packages in isolation and running -Syu is a suggestion.

Yea, I was installing thunar, and it was like halted (wasn't downloading). Therefore I pressed control C and did the -Syu. (I did this all the time something isn't downloding)

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | curl -F 'f:1=<-' ix.io

http://ix.io/4Bkd

Offline

#21 2023-07-23 21:26:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: Lightdm messed up after pacman -Syu

Package integrity looks ok, anything interesting in https://wiki.archlinux.org/title/Qtile#Debugging ?

cat ~/.local/share/qtile/qtile.log | curl -F 'file=@-' 0x0.st

(Though w/ openbox failign as well, this is likely not qtile specific, do you have a lightdm log for the openbox attempt?)

Offline

#22 2023-07-24 04:25:31

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

seth wrote:
cat ~/. local/share/qtile/qtile.log | curl -F 'file=@-' 0x0.st

http://0x0.st/HeVc.csv

seth wrote:

(Though w/ openbox failign as well, this is likely not qtile specific, do you have a lightdm log for the openbox attempt?)

http://ix.io/4BiT

Offline

#23 2023-07-24 04:46:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: Lightdm messed up after pacman -Syu

Why are you still running python 3.10? Nothing is going to work right on Arch with that version, you MUST finish updating the system.

Offline

#24 2023-07-24 04:53:33

DeadWarrior
Member
Registered: 2023-07-23
Posts: 13

Re: Lightdm messed up after pacman -Syu

Scimmia wrote:

Why are you still running python 3.10? Nothing is going to work right on Arch with that version, you MUST finish updating the system.

what are you saying? I am using python 3.11

Offline

#25 2023-07-24 04:55:05

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,646

Re: Lightdm messed up after pacman -Syu

Not according to the log you just posted.

  File "/usr/lib/python3.10/site-packages/xcffib/__init__.py", line 579, in wrapper

etc.

Edit:ok, the log is never cleaned up. Those are old entries.

Last edited by Scimmia (2023-07-24 04:56:05)

Offline

Board footer

Powered by FluxBB