You are not logged in.

#1 2024-02-16 08:06:47

GhostOverFlow256
Member
Registered: 2023-07-16
Posts: 11

[Solved] user cannot log in to graphical environment after pacman

A few hours ago, I ran `sudo pacman -Syu`, after which, I rebooted and was unable to log back in.

Latest boot journalctl: https://termbin.com/637g
Lightdm.log: https://termbin.com/qtnu
pacman.log (last 5k lines, as otherwise it's too long): https://termbin.com/nk42
Xorg.0.log: https://termbin.com/0ovq

There are no errors I can spot of importance in either lightdm.log nor journalctl, and I have attempted the following fixes:
- Running pacman -Syu again
- Reinstalling lightdm
- Removing xauthority
- Running mkinitcpio -P
- Rebooting (a lot)

I am unable to log in as my main user (except for in a terminal session), but all other uses are able to login without trouble.
When the login details are put in, the monitor turns off for approx 0.5s, then goes to a terminal window, then back to the login screen, as if you just rebooted.

Last edited by GhostOverFlow256 (2024-02-16 21:04:32)

Offline

#2 2024-02-16 08:42:03

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

Re: [Solved] user cannot log in to graphical environment after pacman

Offline

#3 2024-02-16 20:55:21

GhostOverFlow256
Member
Registered: 2023-07-16
Posts: 11

Re: [Solved] user cannot log in to graphical environment after pacman

OK, so if I'm interpreting correctly, I should be appending my /etc/profile to the .bash_profile file since lightdm has changed where it's looking?
Edit: Nope, didn't work
Double edit: Fixed it!

Steps to fix:
Append your /etc/profile to .bash_profile (cat /etc/profile >> .bash_profile)
Comment out commands at the start of the file (in my case I had a script in this file that was failing to launch, so for god knows what reason, that means that the entire dm doesn't launch)
Fixed!

Last edited by GhostOverFlow256 (2024-02-16 21:04:12)

Offline

#4 2024-02-16 22:00:15

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

Re: [Solved] user cannot log in to graphical environment after pacman

Append your /etc/profile to .bash_profile (cat /etc/profile >> .bash_profile)

Good god. Don't!

man bash wrote:

--login  option,  it first reads and executes commands from the file /etc/profile, if that  file exists.  After reading that file, it looks for  ˜/.bash_profile,  ˜/.bash_login,  and ˜/.profile,  in that order, and reads and executes commands from the first one that exists and is readable.

Please post your ~/.bash* stuff

Offline

Board footer

Powered by FluxBB