View previous topic :: View next topic |
Author |
Message |
jesnow l33t
Joined: 26 Apr 2006 Posts: 856
|
Posted: Sat Apr 03, 2021 7:51 pm Post subject: elogind not creating a session, can't startx (cont'd) |
|
|
For some reason my kernel upgrade to 5.10 knocked down the delicate house of cards that is kde-xorg-polkit-pam-elogind-dbus-udisks.
Startx simply won't start. I get different errors depending on what I do, similar to this [solved] problem: https://forums.gentoo.org/viewtopic-t-1116288-highlight-.html. But the bottom line appears to be this:
Code: |
bartali /home/jesnow # loginctl
No sessions.
|
In that thread, all the exact same symptoms came up, and the cause appeared to be a missing line in /etc/pam.d/system-auth, which led to the thread being marked solved. But when *I* add the lines in question:
Code: |
session optional pam_keyinit.so force revoke
session optional pam_elogind.so
|
Nothing changes. Still "No sessions". Very frustrating.
elogind is running, dbus is running, it should work. It was working, except that I had to change the owner of all the tty's to be my user before I could startx, and Xorg.0.log went to a weird place that user could write to.
My only workaround is to go back to suid xorg, but that's not a sustainable path.
Grateful for any insight.
Cheers,
Jon. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Sun Apr 04, 2021 12:41 am Post subject: |
|
|
do you have
?
Universal USE="elogind"
? _________________
|
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 856
|
Posted: Mon Apr 05, 2021 11:14 pm Post subject: |
|
|
alamahant wrote: | do you have
?
Universal USE="elogind"
? |
/etc/make.conf:
USE="-systemd elogind -consolekit policykit ..."
I don't know what you mean by "ls /run/user/1000"
Code: |
bartali /home/jesnow # dir /run/user
total 0
drwxr-xr-x 3 root root 60 Apr 3 16:41 .
drwxr-xr-x 22 root root 780 Apr 5 08:08 ..
drwx------ 2 jesnow users 40 Apr 3 16:41 1001
|
user 1001 is me.
Cheers,
Jon. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|