You are not logged in.
Pages: 1
I am seeing this scary error message in Xorg.0.log:
# less /var/log/Xorg.0.log | grep EE
(...)
[ 4.078] (EE) systemd-logind: failed to get session: PID 587 does not belong to any known session
Is there anything I can do about it?
Offline
Some more information?
What is PID 587? Does X start? How do you start X? etc.,
How To Ask Questions The Smart Way
Not a Sysadmin issue: moving to NC...
Offline
I am starting X with kdm.service and it works.
lsof says PID 565 (after a restart) belongs to Xorg.bin and refers to 303 opened files.
I am curious as to why X is confused.
Offline
I get a similar error at startup
[ 18.859] (EE) systemd-logind: failed to get session: PID 354 does not belong to any known session
That PID is attached to tty7, that is the terminal in which my Xsession runs:
354 tty7 Ss+ 0:09 /usr/bin/Xorg.bin -nolisten tcp vt07 -auth /var/run/s
Offline
Maybe it has to do with my using SLIM as display manager (for my XFCE desktop environment). I just discovered that SLIM has not been maintained for quite a while. I will try LXDM and see if the error persists.
Offline
So it wasn't SLIM. I've installed LXDM and that works fine now, but the error is still there
[ 17.293] (EE) systemd-logind: failed to get session: PID 287 does not belong to any known session
Just to be clear: despite the error XFCE was starting properly under SLIM as it does now under LXDM.
Last edited by zilverling (2014-08-06 14:08:20)
Offline
Possibly it is due to using a display manager with xorg-server 1.16.
Is the server running rootless?
It should not because 'Please note that launching X through a login-manager (gdm, kdm, ...) doesn't yet provide rootless access.' in the news message.
Offline
So it wasn't SLIM. I've installed LXDM and that works fine now, but the error is still there.
Interesting. This is obviously not a Newbie issue.
I am wondering if this is a bug in systemd. Also, my AMD video card, an ASUS_R9_270X_4GB, is kinda new, only(!) about 14 months old and the open-source driver is still lacking in its support for it. X, i.e. Xorg.0.log, does not list it as supported either.
Offline
Possibly it is due to using a display manager with xorg-server 1.16.
Is the server running rootless? (...)
In my case, with kdm, X is running from root.
Offline
I just saw that
X is now rootless with the help of systemd-logind, this also means that it must be launched from the same virtual terminal as was used to log in, redirecting stderr also breaks rootless login. The old root execution behavior can be restored through the Xorg.wrap config file (man xorg.wrap). Please note that launching X through a login-manager (gdm, kdm, ...) doesn't yet provide rootless access.
Source: xorg-server 1.16 is now available, 2014-07-28 - Laurent Carlier
A good chance that our error has to do with that somehow. As my XFCE desktop is properly starting, I'm not too worried about this error message, but I would like to know why it is generated as it might point to some fundamental issue.
Last edited by zilverling (2014-08-06 17:58:07)
Offline
Hi zilverling, seeing that Xorg.0.log is referring to systemd-logind, I think you are on to something and that we probably just have to wait for support of the various login managers.
Offline
Pages: 1