[CentOS] X11 connection rejected because of wrong authentication

Mon Nov 25 09:15:53 UTC 2013
James Hogarth <james.hogarth at gmail.com>

On 25 November 2013 01:08, Timothy Murphy <gayleard at eircom.net> wrote:

> I'd like to run SELinux on my CentOS server in enforcing mode,
> but I get the above message when I run sealert.
> I assume this is because I am accessing the server from my laptop?
> In any case, I googled for the message,
> and this threw up dozens of similar queries over many years.
> Most of the ones I read offered methods of avoiding the problem
> rather than solving it.
> Am I right in thinking the message arises from my remote connection?
> And if so, is there a simple solution?

 Too little information at present to tell.

Does it work if the system is in permissive?

Did you ever have the system in disabled and then switched to

Do you have xauth installed?

9 times out of 10 with this message it's just that there is no (or
incorrect) .Xauthority so the X server rightfully denies the untrusted