On Monday, 26 October 2020 21:23:54 GMT Steven Lembark wrote:
> After conversion to elogind I cannot start X11.
> 
> I've re-emerged PAM, though the ._cfg_system-auth tried to remove
> elogind.so, oddly enough.

On my systems there is no elogind.so in /etc/pam.d/system-auth.


> At this point my Xorg.0.log includes:
> 
>     systemd-elogind: Logind integration requires -keeptty and
>     -keeptty was not provided, disabling elogind integration.

I have the same message, but sddm starts Xorg fine.


> Looking for -keeptty I find:
> 
> <https://bugs.gentoo.org/599470>
> 
> I found 74 packages installed on my system with at least one systemd
> reference in them. Most only install service files. Some make use of
> systemd-journal. Only 10 make use of libsystemd-login, and I have now
> submitted all of them but x11-base/xorg-server.  The latter has to be
> started with "-keeptty" to add systemd-login/elogind integration, and that
> argument is strictly for debugging.
> 
> Q: Any suggestions as to where or how I might avoid this or
>    supply -keeptty?
> 
> thanks

The option '-keeptty' is only needed if you're starting X from a console and 
don't want to detach it for debugging purposes.  From '/usr/bin/Xorg --help':

-keeptty               don't detach controlling tty (for debugging only)

I guess you could pass this option on via .xinitrc or perhaps .xserverrc which 
is parsed by .xinitrc.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to