Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
elogind not creating a session, can't startx (cont'd)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Sat Apr 03, 2021 7:51 pm    Post subject: elogind not creating a session, can't startx (cont'd) Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Sun Apr 04, 2021 12:41 am    Post subject: Reply with quote

do you have
Code:
ls /run/user/1000

?
Universal USE="elogind"
?
_________________
:)
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Mon Apr 05, 2021 11:14 pm    Post subject: Reply with quote

alamahant wrote:
do you have
Code:
ls /run/user/1000

?
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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