Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: MESYETI on 27 May 2022, 20:42:35

Title: i cant log in
Post by: MESYETI on 27 May 2022, 20:42:35
im using Artix with OpenRC and i use LightDM

i noticed .xinitrc in my home directory wasnt running when i started dwm from lightdm, so i looked around the internet and got directed to an Xsession file in /etc/lightdm

started messing with it and now i cant log in, i tried clearing it or deleting it but with no success, anyone got any ideas?

logs: https://as.the.owner.of.mesyeti.uk/lightdmaaa.log
Title: Re: i cant log in
Post by: VictorBrand on 27 May 2022, 22:05:35
Try reinstalling the lightdm package. The original /etc/lightdm/Xsession file should be shipped with this package.

And yeah, don't edit or remove system configuration files without backing them up :)

EDIT: Also, you can find the downloaded lightdm package in the /var/cache/pacman/pkg directory and extract the file from there.

EDIT2: FYI, ~/.xinitrc has no effect when you use display managers like lightdm or others. It is used when you start your X server from console via the startx command.