having issues..

Adam Jackson ajax at redhat.com
Tue Jan 29 16:18:22 UTC 2019

On Mon, 2019-01-28 at 19:32 +0000, Jeff Welch wrote:

> (EE) PAM authentication failed, cannot start X server.
>         Perhaps you do not have console ownership?

You're running startx from ssh instead of from the console?

The message is telling the truth, the default PAM policy in RHEL and
its clones requires console ownership to start X.  If you don't like
that, comment out the pam_console.so line in /etc/pam.d/xserver:

auth       sufficient   pam_rootok.so
#auth       required     pam_console.so
account    required     pam_permit.so
session    optional     pam_keyinit.so force revoke

- ajax

More information about the xorg mailing list