[CentOS] CentOS 7.5 gui login root only

Thu May 31 19:34:26 UTC 2018
isdtor <isdtor at gmail.com>

> Sounds like an authorization issue. Have you checked both
> /var/log/messages and /var/log/secure? If you're using /etc/password, are
> its permissions and ownership correct? Are the user's home directories
> owned by them?
 
Nothing relevant in these log files.  The test user is in NIS and home directory is auto-mounted.  All of this works, user can login through text console and ssh.  selinux is disabled.  But even startx isn't working, and again the Xorg log doesn't give any indication what might be the problem.