Bug 89283

Summary: systemd code breaks switching between console and a running X-session
Product: xorg Reporter: Sgt. Garcia <darwinskernel>
Component: Server/DDX/XorgAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: darwinskernel
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=89264
https://bugs.freedesktop.org/show_bug.cgi?id=89227
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.1.log none

Description Sgt. Garcia 2015-02-23 17:17:54 UTC
Created attachment 113760 [details]
Xorg.1.log

(EE) systemd-logind disappeared (stopped/restarted?)

systemd-logind vanishes on switching from console to X:
(EE) systemd-logind disappeared (stopped/restarted?)

see attached Xorg.1.log for more elaborate logging.

here is how to reproduce this:
1. have getty or systemd-consoled running on, say, tty1. i'm calling this your console.
2. have X running on, say, tty12
3. swtich from your console to X and back to console.
4. trying to swtich from console to X no freezes the dispaly.

i have tested this on intel video card. let me know if you need more specs.

commenting this in /etc/pam.d/system-auth:
#session required pam_systemd.so

hints at pam_systemd being the culprit.
Comment 1 GitLab Migration User 2018-12-13 18:29:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/165.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.