Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Mxrtxn on 25 December 2021, 22:12:15

Title: [SOLVED] Sddm refuses to log in
Post by: Mxrtxn on 25 December 2021, 22:12:15
I'm using OpenRC.
The log says:
Code: [Select]
[23:09:31.630] (II) DAEMON: Setting default cursor
[23:09:31.630] (WW) DAEMON: Could not setup default cursor
[23:09:31.630] (II) DAEMON: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
[23:09:31.633] (II) DAEMON: Display server started.
[23:09:31.633] (II) DAEMON: Socket server starting...
[23:09:31.634] (II) DAEMON: Socket server started.
[23:09:31.634] (II) DAEMON: Loading theme configuration from ""
[23:09:31.634] (II) DAEMON: Greeter starting...
[23:09:31.641] (II) HELPER: [PAM] Starting...
[23:09:31.641] (II) HELPER: [PAM] Authenticating...
[23:09:31.641] (II) HELPER: [PAM] returning.
[23:09:31.652] (II) DAEMON: Greeter session started successfully
[23:09:31.791] (II) DAEMON: Message received from greeter: Connect
Title: Re: Sddm refuses to log in
Post by: nous on 26 December 2021, 21:08:35
Default installation? Can you login in console? Can you login with an other display manager, e.g. lightdm?
Title: Re: Sddm refuses to log in
Post by: Mxrtxn on 26 December 2021, 21:53:11
Default installation? Can you login in console? Can you login with an other display manager, e.g. lightdm?
Custom installation from scratch, I tried to log in with ly which only says ,,logged out" after trying to log in. Yeah I can log in in tty.
Title: Re: Sddm refuses to log in
Post by: strajder on 26 December 2021, 22:34:55
As stated here (https://forum.artixlinux.org/index.php/topic,1923.0.html), make sure you have carefully read and understood the following (minus systemd-related parts):

https://wiki.archlinux.org/title/SDDM
https://wiki.archlinux.org/title/PAM

and if you still can't setup your system, more information related to the above is needed.

In particular, how are you installing sddm, how are your pacman mirrors set up, what files are in /etc/pam.d, have you changed any of them and in what way, and the contents of any sddm-related configuration files there and otherwise, as well as files starting with /etc/pam.d/system-. Please use https://paste.artixlinux.org when providing files.
Title: Re: Sddm refuses to log in
Post by: Mxrtxn on 27 December 2021, 14:06:07
Finally figured this out. Sddm couldn't run because there was a wrong command in a config file. I found this by running the ly startup script: /etc/ly/wsetup.sh . Thanks for the help!