Summary: | x11-misc/cdm fails to register logind session (was: xmonad: Failed to create secure directory (/run/user/1000/pulse): No such file or directory) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ole Langbehn <neurolabs.de> |
Component: | Current packages | Assignee: | Mark Wright <gienah> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | asturm, jstein, kensington, sven.eden |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/evertiro/cdm/issues/12 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 599470 |
Description
Ole Langbehn
2020-04-15 20:11:30 UTC
Sorry, the list of USE in emerge --info is from after rolling back. When the issue happened, it of course contained "-consolekit elogind" and packages were rebuilt. $ loginctl Does it show your session? Did you try to add elogind to boot runlevel? (In reply to Andreas Sturmlechner from comment #2) > $ loginctl > > Does it show your session? Nope. > Did you try to add elogind to boot runlevel? Nope, I verified that the daemon was running after login using ps and figured I would not need to do that. Hi, I have quite the same problem. I add elogind to boot runlevel but when I'm logged in with cdm (on tty1) user session not listed with loginctl. Otherwise if I login to tty2 (who don't launch X) user session is well listed. I also tried to login with su <user> in X session but it doesn't works. Here is my ~/.xinitrc command to launch X: > exec dbus-launch --sh-syntax --exit-with-session awesome emerge --info: http://dpaste.com/2EYS8WS Any updates? Shouldn't this be a blocker for moving further ahead with elogind? According to the news item 2020-06-24-xorg-server-dropping-default-suid, I have 2 options of moving forward if elogind is not an option for me: * use systemd (not an option for me) * keep running X as root by using USE="-elogind suid" (would like to change that) Please give an update on this issue. (In reply to Ole Langbehn from comment #5) > * use systemd (not an option for me) And I doubt it would do anything, if elogind does not work for you either. From the description here and looking at the x11-misc/cdm ebuild, it looks like cdm has no logind support whatsoever so it does not bring up a session for you. Thanks for the reply. https://github.com/evertiro/cdm/issues/12 seems to provide a workaround (setting consolekit=yes in cdmrc. Will try that in the next weeks and get back to you. (In reply to Ole Langbehn from comment #5) > Any updates? Shouldn't this be a blocker for moving further ahead with > elogind? I'm afraid no. If legacy application depends on legacy option in X (or needs to reshuffle its config options) that is a dependency or bug to fix within its meta data. Didn't get cdm to work with elogind using the consolekit=yes setting in cdmrc file. Ole, is pam_elogind activated? Sorry Sven, but I am no longer using cdm on gentoo. I am closing this issue. Feel free to reopen if deemed necessary. |