Currently the X session is not registered in systemd's logind, e.g. it is not listed in "loginctl list-sessions" output. I'm looking for solution, but so far I don't have a clue.
This happens only when I run X session from cdm immediately after login, when I run cdm from console login, the session is properly registered.