Description of problem: Not sure if this a systemd, xdm or pam (pam_ssh) configuration problem, but on all my machines I have a line like this in /var/log/Xorg.0.log: (EE) systemd-logind: failed to get session: PID 6246 does not belong to any known session where PID XXXX is always Xorg.bin, a child of xdm. Version-Release number of selected component (if applicable): xorg-x11-xdm-1.1.11-8.fc21.x86_64 pam-1.1.8-16.fc21.x86_64 systemd-216-12.fc21.x86_64 pam_ssh-1.98-4.fc21.x86_64 How reproducible: Happens in all my F21 systems Steps to Reproduce: 1. Configure system to use xdm 2. Configure pam (system_auth) to use pam_ssh for auth/session 3. login Actual results: Above line on Xorg.0.log Expected results: This is a new (EE) error line that wasn't there last time I look in that file under F20. Additional info:
Hi, Starting with F-21 Xorg can talk to systemd-logind to get filedescriptors for the gpu and input devices from systemd-logind. Also see: https://fedoraproject.org/wiki/Changes/XorgWithoutRootRights systemd-logind will refuse any requests to do so unless Xorg is started from a properly registered login session. Currently all display managers such as gdm, xdm, etc. do not set up a proper login session in which to start X, leading to this error. This error can be safely ignored, as Xorg is still capable of opening the devices itself. In the future (when most display managers have been fixed), we plan to start running Xorg as a regular user, rather then as root. At this point in time there are no plans to fix xdm to start Xorg in a proper session, since xdm is not used by many people. When the switch is made to start running Xorg as regular user, you can still continue to use xdm by changing the Xwrapper.config to keep running Xorg as root. Regards, Hans